Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
Supachai Vorapojpisut
PPTX, PDF
4,298 views
ตัวควบคุมอุณหภูมิ
การทดลองและสร้างตัวควบคุมอุณหภูมิ โดยใช้ Arduino และรีเลย์
Education
◦
Read more
2
Save
Share
Embed
Embed presentation
Download
Downloaded 45 times
1
/ 13
2
/ 13
3
/ 13
4
/ 13
5
/ 13
6
/ 13
7
/ 13
8
/ 13
9
/ 13
10
/ 13
11
/ 13
12
/ 13
13
/ 13
More Related Content
PPTX
Linear programming dalam transportasi
by
Akhid Yulianto
PPTX
MicroProcessors
by
Muhammad Uzair Rasheed
PDF
L8 understanding-atmega328 p-1
by
rsamurti
PPTX
4 manajemen persediaan
by
Abdul Razak
DOCX
EDLC-EMBEDDED PRODUCT DEVELOPMENT LIFE CYCLE
by
Sabeel Irshad
PPTX
MAC UNIT USING DIFFERENT MULTIPLIERS
by
Bhamidipati Gayatri
DOCX
Seri 5 : Mengaktifkan dan menggunakan emulator Pada App Inventor
by
Iki Mazadi
PPT
Manajemen Distribusi dan Transportasi
by
AurynNidiaAlfasabila
Linear programming dalam transportasi
by
Akhid Yulianto
MicroProcessors
by
Muhammad Uzair Rasheed
L8 understanding-atmega328 p-1
by
rsamurti
4 manajemen persediaan
by
Abdul Razak
EDLC-EMBEDDED PRODUCT DEVELOPMENT LIFE CYCLE
by
Sabeel Irshad
MAC UNIT USING DIFFERENT MULTIPLIERS
by
Bhamidipati Gayatri
Seri 5 : Mengaktifkan dan menggunakan emulator Pada App Inventor
by
Iki Mazadi
Manajemen Distribusi dan Transportasi
by
AurynNidiaAlfasabila
What's hot
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
by
Arti Parab Academics
PPT
microcontroller basics
by
sagar Ramdev
PPTX
Sistem bilangan dan konversi bilangan.pptx
by
AhmadFairuzabadi1
DOC
8086 class notes-Y.N.M
by
Dr.YNM
PDF
Modul simulasi pemograman mikrokontroler
by
personal
PPSX
System on chip architectures
by
Dr. A. B. Shinde
PPTX
Vedic multiplier
by
BHUSHAN MHASKE
PPTX
Akmen_7_Ppt - Analisis Biaya Volume Laba.pptx
by
mIswahyudi3
PPT
Pentium
by
Akshay Nagpurkar
DOCX
Instruction set of 8086 Microprocessor
by
Velalar College of Engineering and Technology
PPT
The Intel 8086 microprocessor
by
George Thomas
PPTX
design of high speed performance 64bit mac unit
by
Shiva Narayan Reddy
DOCX
Laporan Tugas Grafika Komputer bangun 2 dimensi Code Block
by
Ihsan Nurhalim
PPTX
p-9-10 Interest Rate Theory and Pricing Bonds.pptx
by
Center For Economic Policy Institute (CEPAT)
PPTX
Teknik Optimasi - P8
by
ahmad haidaroh
DOCX
KUIS 1 MATA KULIAH LOGIKA INFORMATIKA
by
Mustahal SSi
DOCX
Soal pemrograman web gabungan
by
Frahmi Fathir
PPT
Capital asset-pricing-model
by
rimakurniap
PDF
Algoritma dan Struktur Data (Python) - Struktur I/O
by
AndiNurkholis1
DOCX
Data Base Tiket Pesawat
by
naufals11
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
by
Arti Parab Academics
microcontroller basics
by
sagar Ramdev
Sistem bilangan dan konversi bilangan.pptx
by
AhmadFairuzabadi1
8086 class notes-Y.N.M
by
Dr.YNM
Modul simulasi pemograman mikrokontroler
by
personal
System on chip architectures
by
Dr. A. B. Shinde
Vedic multiplier
by
BHUSHAN MHASKE
Akmen_7_Ppt - Analisis Biaya Volume Laba.pptx
by
mIswahyudi3
Pentium
by
Akshay Nagpurkar
Instruction set of 8086 Microprocessor
by
Velalar College of Engineering and Technology
The Intel 8086 microprocessor
by
George Thomas
design of high speed performance 64bit mac unit
by
Shiva Narayan Reddy
Laporan Tugas Grafika Komputer bangun 2 dimensi Code Block
by
Ihsan Nurhalim
p-9-10 Interest Rate Theory and Pricing Bonds.pptx
by
Center For Economic Policy Institute (CEPAT)
Teknik Optimasi - P8
by
ahmad haidaroh
KUIS 1 MATA KULIAH LOGIKA INFORMATIKA
by
Mustahal SSi
Soal pemrograman web gabungan
by
Frahmi Fathir
Capital asset-pricing-model
by
rimakurniap
Algoritma dan Struktur Data (Python) - Struktur I/O
by
AndiNurkholis1
Data Base Tiket Pesawat
by
naufals11
Viewers also liked
PPTX
LPC 2148 ARM MICROCONTROLLER
by
sravannunna24
PDF
ARM 7 LPC 2148 lecture
by
anishgoel
PPTX
การออกแบบตัวควบคุมความเร็วสายพาน
by
Supachai Vorapojpisut
PPTX
การสร้าง optokinetic drum ด้วย Arduino
by
Supachai Vorapojpisut
PDF
สไลด์ประกอบกิจกรรม One (language) for All (platforms)
by
Supachai Vorapojpisut
PDF
แผนท่องเที่ยวยุโรป 3 ประเทศ
by
Supachai Vorapojpisut
LPC 2148 ARM MICROCONTROLLER
by
sravannunna24
ARM 7 LPC 2148 lecture
by
anishgoel
การออกแบบตัวควบคุมความเร็วสายพาน
by
Supachai Vorapojpisut
การสร้าง optokinetic drum ด้วย Arduino
by
Supachai Vorapojpisut
สไลด์ประกอบกิจกรรม One (language) for All (platforms)
by
Supachai Vorapojpisut
แผนท่องเที่ยวยุโรป 3 ประเทศ
by
Supachai Vorapojpisut
Similar to ตัวควบคุมอุณหภูมิ
PPTX
เริ่มต้นใช้งานชุดกล่องสมองกล IPST-SE
by
Innovative Experiment Co.,Ltd.
PPTX
NodeMCU with Ax-wifi Beginner 2018
by
Innovative Experiment Co.,Ltd.
PPTX
การใช้งาน NodeMCU เบื้องต้น
by
Innovative Experiment Co.,Ltd.
PDF
53211845
by
สุรชัย แซ่ลิ้ม
PDF
4april
by
best Besta
PDF
2013 KMITL mini-design challenge
by
Toey Apinunt
PDF
Temperature controller
by
สุรชัย แซ่ลิ้ม
PDF
SMEs
by
'Ik Kun
PDF
Sme 8 12-54
by
Pornchanida Ansietà
PDF
Temperature controller
by
kwang_reindiiz
PDF
Temperature controller
by
kwang_reindiiz
PDF
4april121
by
best Besta
PDF
081254
by
Golfgolf Happines
PDF
081254
by
Golfgolf Happines
PPTX
iot_slide.pptx
by
rullyprayoga1
PDF
8/12/54
by
Pera Tanateerapong
PDF
81254
by
Pera Tanateerapong
PDF
8 ธันวาคม 2554
by
Kittapas Tanvorasetti
PDF
วันที่ 8 ธันวาคม 2554
by
sokok22867
PDF
9789740330820
by
CUPress
เริ่มต้นใช้งานชุดกล่องสมองกล IPST-SE
by
Innovative Experiment Co.,Ltd.
NodeMCU with Ax-wifi Beginner 2018
by
Innovative Experiment Co.,Ltd.
การใช้งาน NodeMCU เบื้องต้น
by
Innovative Experiment Co.,Ltd.
53211845
by
สุรชัย แซ่ลิ้ม
4april
by
best Besta
2013 KMITL mini-design challenge
by
Toey Apinunt
Temperature controller
by
สุรชัย แซ่ลิ้ม
SMEs
by
'Ik Kun
Sme 8 12-54
by
Pornchanida Ansietà
Temperature controller
by
kwang_reindiiz
Temperature controller
by
kwang_reindiiz
4april121
by
best Besta
081254
by
Golfgolf Happines
081254
by
Golfgolf Happines
iot_slide.pptx
by
rullyprayoga1
8/12/54
by
Pera Tanateerapong
81254
by
Pera Tanateerapong
8 ธันวาคม 2554
by
Kittapas Tanvorasetti
วันที่ 8 ธันวาคม 2554
by
sokok22867
9789740330820
by
CUPress
ตัวควบคุมอุณหภูมิ
1.
Temperature controller • เป้
าหมาย – ควบคุมอุณหภูมิด้วยคาสั่งจากคอมพิวเตอร์ – ขับกระแสให้กับขดลวดความร้อนผ่าน AC relay DS18b20 (~150oC) Thermocouple (~750oC)
2.
Relay module • บอร์ด
ETT-OPTO RELAY4 เป็นรีเลย์ AC จานวน 4 ช่อง http://www.ett.co.th/download2.html
3.
ETT OPTO-RELAY4 • ต่อ
relay เพื่อเป็นสวิตช์ ขาแบบ normally open
4.
DS18B20 sensor • เซ็นเซอร์แบบ
1-wire สาหรับวัดอุณหภูมิ http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf • การใช้ Arduino วัดอุณหภูมิด้วย DS18B20 http://playground.arduino.cc/Learning/OneWire http://www.pjrc.com/teensy/td_libs_OneWire.html
5.
Thermocouple shield • เทอร์โมคัปเปิลใช้ปรากฏการณ์
Seebeck แปลงความสัมพันธ์ อุณหภูมิเป็นแรงดันไฟฟ้ า (ย่าน mV) – ต้องทาการชดเชยจุดเยือกแข็ง (offset) และขยายสัญญาณ (amplify) • ใช้ thermocouple shield เพื่อวัดแรงดัน https://oceancontrols.com.au/KTA-259.html
6.
Procedure • ต่อบอร์ด Arduino
กับเซ็นเซอร์วัดอุณหภูมิ – เขียนโค้ดเพื่อวัดอุณหภูมิและแสดงผลทาง serial monitor – เปิดหม้อหุงข้าว/เตาอบ แล้ววัดอุณหภูมิทุก 1 วินาที – นาค่าไปพล็อตกราฟ แล้วหาค่าความชันของอุณหภูมิสูงสุด (Smax) – หาค่าอุณหภูมิสูงสุด (Tmax) • ต่อบอร์ด Arduino กับบอร์ดรีเลย์และเซ็นเซอร์วัดอุณหภูมิ – คานวณช่วงความละเอียด T = Tmax / 100 – หาคาบเวลาในการควบคุม = 0.1 * T/Smax (หากน้อยกว่า 1 วินาที ให้เท่ากับ 1 วินาที) – ทดสอบการปิด/เปิดแบบ pulse-width modulation
7.
#define STEP (X) const
int onPeriod = Y; const int offPeriod = Z; void setup() { initTempSensor(); initRelayBoard(); Serial.begin(9600); } void loop() { float temp = readTempSensor(); Serial.print("Temp: "); Serial.println(temp); delay(X*Y); onRelay(); delay(X*Z); offRelay(); } โค้ดตัวอย่างสาหรับทดลองรีเลย์ มาจากผลทดลอง หน่วย msec
8.
เทคนิค burst firing •
การควบคุมแบบ PWM จะไม่เหมาะกับ AC เนื่องจากวงจร triac มักใช้หลักการ zero-crossing เพื่อลดสัญญาณรบกวน – ใช้เทคนิค burst firing เปิดให้ AC power หลายลูกคลื่นผ่านไปยังโหลด – ค่า cycle time ขึ้นอยู่กับความจุของ โหลด โดยไม่ควรน้อยกว่าค่าที่ทาให้แกว่ง
9.
const int relayPin
= X; const int onPeriod[] = {0,1,1,2,2,3,6,7,8,9,10}; const int offPeriod[] = {5,9,5,4,5,3,4,3,2,1,0}; void heaterOn(int duty_cycle) { if (duty_cycle > 0) { idx = duty_cycle/10; // lookup table step 10% if (onPeriod[idx] > 0) { digitalWrite(relayPin, HIGH); delay(onPeriod[idx]*1000); } if (offPeriod[idx] > 0) { digitalWrite(relayPin, LOW); delay(offPeriod[idx]*1000); } } else { delay(10000); } }
10.
PID controller • หลักการควบคุม
= สร้างสัญญาณควบคุมจากการคานวณ error = setpoint - feedback • setpoint อ่านค่าจาก potentiometer • Feedback อ่านค่าจากเซ็นเซอร์
11.
#define MAX_TEMP (X.Y) const
float Kp = 1.0; const float Ki = 0.0; const float Kd = 0.0; float sumErr = 0.0; float lastTemp = 0.0; setpoint = (analogRead(0)/5.0) * 100; temp = readTempSensor()/MAX_TEMP * 100; float pidCtrl(float setpoint, float temp) { float error, ctrl, tempChange; error = setpoint – temp; sumErr += error; tempChange = speed – lastTemp; ctrl = Kp*error + Ki*sumErr + Kd*tempChange; lastTemp = temp; return ctrl; } โค้ดตัวอย่างสาหรับตัวควบคุม PID มาจากผลทดลอง ต่อ pot กับขา A0
12.
const int PERIOD
(X); int ratioPWM(float ctrl) { int onPeriod = (PERIOD*STEP) * (ctrl/100); if (onPeriod > 0) { onRelay(); delay(onPeriod); offRelay(); delay(PERIOD*STEP - onPeriod); } else { offRelay(); delay(PERIOD*STEP); } } โค้ดตัวอย่างสาหรับตัวควบคุม PID ค่าทดลอง
13.
Results • เอกสารสรุปงาน (ประมาณ
3-4 หน้า ส่งพร้อมสาธิต) – กราฟแสดงการเปลี่ยนแปลงอุณหภูมิเมื่อจ่ายไฟโดยตรงตรง – กราฟแสดงการเปลี่ยนแปลงอุณหภูมิเมื่อจ่ายไฟแบบ PWM ผ่านรีเลย์ โดย เป็นผลการทดลองแบบปรับค่า ON/OFF ต่างๆกัน – ผลการควบคุมอุณหภูมิด้วยหลักการ PID โดยใช้ค่า PERIOD = 10, 15, 20, 25 – โค้ดสมบูรณ์สาหรับการควบคุมอุณหภูมิตั้งค่าด้วย potentiometer • การให้คะแนนพิจารณาความเรียบร้อยของชิ้นงานด้วย – เน้นความปลอดภัยลาดับแรก ตรงส่วนที่เป็น 220Vrms ต้องมีการป้ องกัน
Download