Skip to main content

Measuring Line Speed with Roller Encoder

    ဒီတစ်ပတ်မှာတော့ အသုံးဝင်မယ့်အရာလို့ထင်မိတာကြောင့် Roller Encoder နဲ့ Line Speed ကို ဘယ်လိုတိုင်းလဲဆိုတာရေးသွားပါမယ်။
    Speed ဆိုတာက Distance Travelled per unit Time ကိုဆိုလိုတာပါ။ ဒါကြောင့် Speed ရဲ့ Equation က

Speed = Travelling Distance / Time Taken

Measuring Line Speed ကို RP-7400 Roller Encoder နဲ့သုံးမယ်ဆိုရင်  Travelling Distance က Rotation of The Roller ဆိုပြီးတော့ဖြစ်သွားပါတယ်။  ဒါကြောင့် သူ့ Speed Equation က

Speed = Distance per 1 pulse × ( Number of Output Pulses / Time Taken ) 

ဆိုပြီးတော့ ဖြစ်သွားပါတယ်။
Speed per second တွက်နည်း

    Number of Output Pulses / Tike Taken ဆိုတာက Frequency ( Output pulse per second ) နဲ့ အတူတူပါပဲ။ နောက် Distance per 1 pulse ဆိုတာကလည်း Circumferential Length (mm) / Number of Pulse Per Rotation နဲ့အတူတူပါပဲ။ ဒါကြောင့် ခုနက Speed Equation က ဘာနဲ့ သွားတူလဲဆိုရင် 

Circumferential Speed = (Circumferential Length (mm) / Number of Pulse Per Rotation ) × Frequency 

ဆိုပြီးဖြစ်လာပါတယ်။ အကယ်၍ Circumferential Length (mm) နဲ့ Number of Pulse Per Rotation ကဂဏန်းတန်ဖိုးညီသွားမယ်ဆိုရင် Circumferential ရဲ့ Speed နဲ့ Frequency ကအတူတူဖြစ်သွားပါမယ်။ Circumferential ကတော့ ပြောရင်ရှုပ်မှာစိုးလို့ ပုံမှာသာကြည့်လိုက်ရင်သိလာမှာပါ။  
RP-7400 ရဲ့ Circumferential ရဲ့ Length တန်ဖိုးကတော့ 200 mm ရှိပါတယ်။ Frequency ကို Frequency counter သို့မဟုတ် Pulse counter ကို second gate နဲ့သုံးပြီးတော့ Speed ကိုတိုင်းနိုင်ပါတယ်။ 

    တွက်နည်းကတော့ Frequency အတွက်  Pulse Counter ရဲ့  Resolution ရဲ့ 1 second gate  က 1Hz,  Circumferential ရဲ့ Length က လည်း 200 mm, Number of Pulse per Rotation က 200 P/R ဖြစ်ခဲ့ရင် 

Circumferential Speed (CS) = (Circumferential Length (mm) / Number of Pulse Per Rotation ) × Frequency 

CS = ( 200/200 ) × 1

CS = 1 mm/s ဆိုပြီးတော့ အဖြေရလာမှာပါ။

Speed per Minute တွက်နည်း

    Speed ရဲ့  Equation ကတော့မပြောင်းလဲပေမယ့် အထဲက Equation ၂ခုကတော့ ပြောင်းသွားပါတယ်။

Distance per 1 pulse = ( 200 / Number of Pulses per Rotation ) / 1000

200 ဆိုတာက ခုနက Circumferential ရဲ့ Length ပါ။  millimeter ကနေ meter ကို
ပြောင်းဖို့အတွက် Equation ကို 1000 နဲ့စားလိုက်တာပါ။

Number of output pulses / Time taken ကတော့ ဒီမှာက Number of Pulses per Minute ပါ ။ Number of Pulses per Minute က ( Frequency × 60 ) ပါ။ ဒါကြောင့် Equation က 

Circumferential Speed = (( 200 / Number of Pulses per Rotation ) / 1000 ) × Frequency × 60

အကယ်၍ Numerical Value နဲ့တွဲလျက်ဖြစ်လာရင်

Circumferential Speed  = ((( 200 × 60 ) / 1000 ) / Number of pulses per rotation ) × Frequency 

Circumferential Speed = ( 12 / Number of Pulses per Rotation ) × Frequency 

ဆိုပြီးရလာမှာပါ။

အကယ်၍ Roller ရဲ့ Number of Pulses of Rotation က 1,10,100 အစရှိသဖြင့်ရှိလာရင်  Frequency က ​ သူနဲ့တွဲပြီးတော့ 1 , 1/10,1/100 ဆိုပြီးဖြစ်လာပါတယ်။ ဥပမာ

RP - 7400 က 120 P/R ဖြစ်ခဲ့ရင် 

Speed (m/min) မှာတွက်တဲ့ Frequency က 0.1 အနေအထား ဖြစ်လာမှာပါ။ 

RP - 7400 က 1200 P/R ဖြစ်ခဲ့ရင် Frequency က 0.01 အနေအထားဖြစ်လာမှာပါ။  ရှုပ်သွားရင် အောက်ကတွက်နည်းကြည့်လိုက်ပါ။

တွက်နည်းက RP-7400 ဟာ120 P/R ဖြစ်ခဲ့ရင်

CS =  ( 12 / Number of Pulse per Rotation ) × Frequency 

CS = ( 12 / 120 ) × 1 

CS = 0.1 m/min

အကယ်၍  RP -7400 ဟာ 1200 P/R ဖြစ်ရင်

CS = ( 12 / Number of Pulse per  Rotation ) × Frequency 

CS = ( 12 / 1200 ) × 1 

CS = 0.01 m/min ဆိုပြီးဖြစ်လာမှာပါ။ 

Reference : Onosokki 's QA About Measurement No.32

Comments

Popular posts from this blog

Indirect Addressing

Indirect Addressing      တကယ်တမ်း​တော့ ဒီစာကို​ရေးဖြစ်တာကလည်း ဆရာရဲ့ Project Problem တစ်ခုချ​ပေးပြီ ​ဖြေရှင်းရင်းနဲ့ ​တွေ့လာတာပါ။ အဲ့​တော့ အဲ့ဒီဟာက ဘယ်​နေရာမှာ ဘယ်လိုသုံးတာလဲ,ဘာ​တွေသုံးတယ်,ဘယ်လို Program နဲ့​ရေးတာလဲဆိုတာ အဓိကထားပြီး​တော့ ​ပြောပြ​ပေးသွားမှာမယ်။ သူ့အ​ကြောင်းသိဖို့အရင် Index Register ကိုအရင်​ပြောပါမယ်။ What is Index Register?     Index Register ဆိုတာက Process Register လို့လဲ​ခေါ်ပြီး​တော့ Program ကို Operand ​တွေရဲ့ Address ကို Program က Run ​နေတဲ့အချိန်မှာ Modify လုပ်တာပါ၊ PLC မှာရှိတဲ့ Register ​တွေက PLC ထုတ်တဲ့ Company အမျိုးအစား​ပေါ်မူတည်ပြီး​တော့ ​သုံးစွဲတာမတူကြ​ပေမယ့် သ​ဘောတရားက​တော့အတူတူပါပဲ။ အခု ဥပမာ​ပေးမှာက Delta PLC နဲ့ ဥပမာ​ပေးပါမယ်။     Delta မှာရှိတဲ့ Index Register က​တော့ E နဲ့ F ဆိုပြီးသတ်မှတ်ထားပါတယ်။ E နဲ့ F ကိုတစ်လုံးချင်း သုံးရင်​တော့ 16 bit အ​နေနဲ့သုံးလို့ရပါတယ်။ Eနဲ့F ဟာတွဲခဲ့ရင်​တော့ 32 bit ဖြစ်သွားပါပြီ။ E ဟာ Lower 32 bit ဖြစ်လာပြီး​တော့ F ဟာ Higher 32 bit ဖြစ်လာပါတယ်။     ဒုတိယပုံက...

IPv4 Vs IPv6 - What's the difference between IP Addresses

ကျွန်တော်တို့ IOT Project သို့မဟုတ် PLC တို့ HMIတို့ကို Ethernet နဲ့ချိတ်တဲ့အခါမှာ IP Address တို့ Subnet Mask တို့သတ်မှတ်ရတာတို့ကိုတွေ့ရမှာပါ။အခုကတော့ IP Addressအကြောင်းကိုမှ IPv4 နဲ့ IPv6 အကြောင်းကိုရေးမှာပါ။           IP Address ဆိုတာကတော့ ကျွန်တော်တို့ရဲ့အိမ်နံပါတ်လိုသဘောမျိုးလုပ်ထားပေးတဲ့ Internet Protocol တစ်ခုပါပဲ။ အိမ်တိုင်းအိမ်တိုင်းမှာသူရဲ့သက်ဆိုင်တဲ့နေရာလိပ်စာတွေရှိကြသလိုပဲ စက်တိုင်းမှာလည်းသူရဲ့ သက်ဆိုင်တဲ့ IP Address တွေရှိကြပါတယ်။ ဒါကတော့ IP Address အကြောင်းကိုရှင်းပြတဲ့ရိုးရှင်းတဲ့ ဥပမာတစ်ခုပါ။ ဒီမှာအဓိကထားပြီးရှင်းပြသွားမှာကတော့ IPv4 နဲ့ IPv6 ကိုရှင်းပြသွားမှာပါ။      What is IPv4 : simple meaning & features guide     ဒီ IPv4 မှာဘာတွေပါလဲဆိုတော့ Set Numbers လေးခုပါဝင်ပါတယ်။ ယေဘုယျအားဖြင့် ဘယ်လိုပုံစံနဲ့ရေးကြသလဲဆိုရင် 106.102.77.43 (ဒါကဥပမာပုံစံပါ။) လိုပုံစံမျိုးဖြစ်ပြီးတော့ မတူညီတဲ့ ကိန်းဂဏန်းလေးခုကို Cover လုပ်ပေးထားပါတယ်။ IPv4 ဘာကြောင့်ဖြစ်လာရလည်းဆိုရင် လွန်ခဲ့တဲ့ 1980 ဝန်းကျင်ကာလတွေမှာ I...

PLC Scan Time Problem

PLC Scan Time Problem     ဒီ Post ကို အရင် account အ​ဟောင်းမှာတုန်းက​တော့တင်ဖူးတယ်။ ဒါ​ပေမယ့် အခုကပြန်ပြီး နားလည်လွယ်မယ့်ပုံစံမျိုးနဲ့ပဲကျွန်​တော်​ရေး​ပေးပါမယ်။     ကျွန်​တော်တို့  PLC project ​တွေမှာဆိုရင် Programming ကို Ladder Diagram နဲ့​ရေးကြတာများပါတယ်။ တခြား Structure Text တို့ Function  Block တို့ Sequence တို့နဲ့လည်း​ရေးလို့ရပါတယ်။သို့​သော်လည်း ဒီကိစ္စမှာ​တော့ Ladder Diagram နဲ့ ဥပမာကိုတင်ပြသွားပါမယ်။      Scan Time ဆိုတာ ဘာလဲအရင် အကျဥ်းချုံပြီး​ပြောပါမယ်။ ပထမပုံက Ladder Diagram လိုပုံစံမျိုး​ရေးထားတယ်ဆိုပါစို့။ Program ရဲ့ ထိပ်ဆုံးအပိုင်းက​နေ Program ရဲ့ အဆုံးအထိ PLC က Scan ဖတ်ပါတယ်။ Scan ဖတ်နှုန်းဟာလည်း ​ရေးတဲ့ Program ​ပေါ်မူတည်ပြီး တစ်စက္ကန့်ကို Scan ဘယ်နှကြိမ်ဖတ်လည်းဆိုတာ​တွေရှိပါတယ်။      ကျွန်​တော်တို့ PLC Ladder Diagram မှာ Program ​တွေ​ရေးတယ်ဆိုရင် သာမန် Line 20 ခု, 30 ခု​လောက်​တော့ ပြသာနာမရှိ​လောက်ပါဘူး။ သို့​သော်လည်း Line အခု 20တို့ 30တို့မှာ High Counter ​တွေတို့ တခြား API ​တွေ အများကြီး​တွေသုံး...