SlideShare a Scribd company logo
UNIVERSIDAD AUTÓNOMA DE SANTO DOMINGO 
FACULTAD DE INGENIERÍA Y ARQUITECTURA 
ESCUELA DE ELECTROMECÁNICA.
PRESENTACION 
NOMBRES: KELVIN MOISES PUENTE PEREZ. 
CARRERA: INGENIERIA ELECTROMECANICA MENCION 
ELECTRONICA. 
UNIVERSIDAD: UASD. 
NACIONALIDAD: REPUBLICA DOMINICANA. 
ESTUDIOS: 
TECNICO EN MECANICA DIESEL,TECNICO EN ELECTRONICA 
INDUSTRIAL Y DIGITAL Y TECNICO EN PLC. 
ASESOR DEL PROYECTO: ING. SANTIAGO JIMENEZ.
SISTEMA DE MEDICION Y CONTROL DE 
NIVEL Y VOLUMEN DE LIQUIDOS.
MEDICION DE NIVEL Y VOLUMEN DE LIQUIDOS.
FUNCIONAMIENTO DEL SISTEMA DE MEDICION 
DE NIVEL Y VOLUMEN. 
Funcionamiento del sistema de medición. 
Primero se envía desde arduino, un Pulso "1" de al menos de 10uS por el Pin Trigger 
(Disparador). 
El sensor enviará 8 Pulsos de 40KHz (Ultrasonido) y coloca su salida Echo a alto (seteo), se 
debe detectar este evento e iniciar un conteo de tiempo. 
La salida Echo se mantendrá en alto hasta recibir el eco reflejado por el obstáculo a lo cual el 
sensor pondrá su pin Echo a bajo, es decir, terminar de contar el tiempo. 
Se recomienda dar un tiempo de aproximadamente 50ms de espera después de terminar la 
cuenta. 
La distancia es proporcional a la duración del pulso y puedes calcularla con las siguiente 
formula (Utilizando la velocidad del sonido = 340m/s): 
Distancia en cm (centímetros) = Tiempo medido en us x 0.017 
El valor de la distancia se muestra en la interfaz arduino por medio del serial monitor, y se 
establece la comunicación serial y este dato se envía por medio del puerto serial a labview, 
donde el mismo es leído y analizado por medio de programación en bloques, y por medio de 
ecuaciones matemáticas, la cuales nos proporcionan el valor del volumen y el nivel del líquido, 
que existe dentro del tanque.
PROGRAMACION DE VOLUMEN Y NIVEL.
SENSORES ULTRASONICOS. 
Los sensores de ultrasonidos son detectores de proximidad 
que trabajan libres de roces mecánicos y que detectan objetos 
a distancias de hasta 8m. El sensor emite un sonido y mide el 
tiempo que la señal tarda en regresar. Estos reflejan en un 
objeto, el sensor recibe el eco producido y lo convierte en 
señales eléctricas, las cuales son elaboradas en el aparato de 
valoración. Estos sensores trabajan solamente en el aire, y 
pueden detectar objetos con diferentes formas, colores, 
superficies y de diferentes materiales. Los materiales pueden 
ser sólidos, líquidos o polvorientos, sin embargo han de ser 
deflectores de sonido. Los sensores trabajan según el tiempo 
de transcurso del eco, es decir, se valora la distancia temporal 
entre el impulso de emisión y el impulso del eco.
PROGRAMACION DEL SENSOR ULTRASONICO 
Programación en arduino IDE de la bomba(A). 
#define PIN_TRIG 8 
#define PIN_ECO 7 
const int bombaA = 11; 
int velocidadA; 
const int bombaB= 9; 
int velocidadB; 
void setup() { 
Serial.begin(9600); 
pinMode(PIN_TRIG, OUTPUT); 
pinMode(PIN_ECO, INPUT); 
pinMode(bombaA, OUTPUT); 
pinMode(bombaB, OUTPUT); 
}
CONTINUACION 
void loop() { 
float duracion, distancia; 
digitalWrite(PIN_TRIG, LOW); 
delayMicroseconds(2); 
digitalWrite(PIN_TRIG, HIGH); 
delayMicroseconds(10); 
digitalWrite(PIN_TRIG, LOW); 
duracion = pulseIn(PIN_ECO,HIGH); 
distancia = duracion/58; 
if(distancia>=23.19){ 
distancia=23.19; 
} 
Serial.println(distancia); 
delay(600);
ECUACIONES 
V=X*Y*Z, donde: 
V= volumen 
X=largo 
Y=ancho 
Z= altura=A-B 
A= Distancia que mide el sensor, cuando el tanque esta 
vacio. 
B= Distancia que mide el sensor, cuando el tanque esta 
lleno al 100%. 
N= (volumen medido/ volumen total)*100 
Donde: N= Nivel del tanque expresado en porcentaje.
PROGRAMACION EN LABVIEW
DIAGRAMA DE BLOQUES PARA DATOS 
HISTORICOS.
SISTEMA DE CONTROL DE MEDICION DE 
VOLUMEN Y NIVEL DE LIQUIDOS.
CONTROL DE NIVEL Y VOLUMEN.
PWM 
La modulación por ancho de pulsos 
También conocida como PWM, siglas en inglés depulse-width 
modulation) de una señal o fuente de energía es una técnica en 
la que se modifica el ciclo de trabajo de una señal periódica 
(una senoidal o una cuadrada, por ejemplo), ya sea para 
transmitir información a través de un canal de comunicaciones o 
para controlar la cantidad de energía que se envía a una carga.
PWM
CONTROL DE LLENADO DEL TANQUE 
PROGRAMACION DEL CONTROL DE BOMBA A 
// FUNCIONAMIENTO DE BOMBA A(BOMBA QUE LLENA EL TANQUE) 
if (distancia>=13.59){ 
analogWrite (bombaA,255); 
} 
else{ 
if (distancia<=12.45){ 
analogWrite(bombaA,128); 
} 
if(distancia<13.59){ 
analogWrite(bombaA,200); 
} 
if(distancia<=10.50){ 
analogWrite(bombaA,70); 
} 
if(distancia<=11.50){ 
analogWrite(bombaA,90); 
} 
} 
if (distancia<=10.38){ 
for (velocidadA=50; velocidadA>=0;velocidadA--){ 
analogWrite (bombaA,velocidadA);} 
} 
}
BOMBA A, TANQUE, SENSOR ULTRASONICO.
CONTROL DE VACIADO DEL TANQUE 
PROGRAMACION DEL CONTROL DE BOMBA B 
//FUNCIONAMIENTO DE BOMBA B(BOMBA QUE VACIA EL TANQUE) 
if (distancia<=10.38){ 
analogWrite (bombaB,255); 
} 
else{ 
if (distancia>=11.50){ 
analogWrite(bombaB,128); 
} 
if(distancia>=10.50){ 
analogWrite(bombaB,160); 
} 
if(distancia>10.38){ 
analogWrite(bombaB,200); 
} 
if(distancia>=12.45){ 
analogWrite(bombaB,90); 
} 
} 
if (distancia>=13.59){ 
for (velocidadB=50; velocidadB>=0;velocidadB--) 
analogWrite (bombaB,velocidadB); 
} 
}
ARDUINO UNO, TARJETA DE CONTROL, BOMBA 
B.
FUNCIONAMIENTO DEL SISTEMA. 
Funcionamiento del sistema. 
El sistema de medición y control de nivel y volumen de líquidos tiene la función de mantener un 
volumen constante y un nivel constante del líquido que se encuentra dentro del tanque. Este 
posee una entrada y una salida de agua, con sus respectivas bombas y tuberías. En el tanque 
la bomba de entrada de agua (A), suministrara la misma cantidad de agua que extrae del 
tanque, la bomba de salida de agua (B), con el sistema cargado inicialmente, por lo tanto, se 
cumple la siguiente condición: (velocidad A)= (velocidad B), en un nivel, ya programado en el 
lenguaje de programación. 
Si la bomba (A) se apaga por una razón cualquiera, la bomba (B) continúa funcionando, y esta 
se apaga cuando se cumple la condición de nivel del tanque de control deseada, ya 
programada en el sistema. Esta bomba va a ir reduciendo su velocidad gradualmente a medida 
que el nivel del agua se acerca al nivel deseado, la intensidad del LED verde va a ir 
disminuyendo, y la distancia del sensor ultrasónico al agua va aumentando, dicha distancia, 
representa la profundidad, y este valor se utiliza en la ecuación escrita en el programa para 
calcular el volumen y el nivel del tanque de control. Cuando el agua llega al nivel programado 
en el sistema, la velocidad de la bomba se hace cero, esto es, a lo que denominamos en 
ARDUINO como el PWM. 
Si la bomba (B) se apaga por una razón cualquiera, la bomba (A) continúa funcionando, y esta 
se apaga cuando se cumple la condición de nivel del tanque de control deseada, ya 
programada en el sistema. Esta bomba va a ir reduciendo su velocidad gradualmente a medida 
que el nivel del agua se acerca al nivel deseado, la intensidad del LED naranja va a ir 
disminuyendo, ya que la distancia del sensor al agua va a ir disminuyendo también. Cuando el 
agua llega al nivel programado en el sistema, la velocidad de la bomba se hace cero.
PROCESO DE LLENADO.
PROCESO DE VACIADO.
MUCHAS GRACIAS!!!

More Related Content

Similar to Sistema de medicion y control de nivel y control ( dias positivas)

Control digital: Sistemas de control digital
Control digital: Sistemas de control digitalControl digital: Sistemas de control digital
Control digital: Sistemas de control digital
SANTIAGO PABLO ALBERTO
 
Arduino radar system
Arduino radar systemArduino radar system
Arduino radar system
delhi technological university
 
ESD_Project-Report
ESD_Project-ReportESD_Project-Report
ESD_Project-ReportAhmad Faizan
 
plantmonitoringsystem-180116071636 (1).pdf
plantmonitoringsystem-180116071636 (1).pdfplantmonitoringsystem-180116071636 (1).pdf
plantmonitoringsystem-180116071636 (1).pdf
SohailShaikh581630
 
Plant monitoring system
Plant monitoring systemPlant monitoring system
Plant monitoring system
Sai Kumar
 
ULTRASONIC SENSOR.pdf
ULTRASONIC SENSOR.pdfULTRASONIC SENSOR.pdf
ULTRASONIC SENSOR.pdf
JERANRAI1
 
Ultrasonic sensor
Ultrasonic sensorUltrasonic sensor
Ultrasonic sensor
waad Jamal Almuqbali
 
Ultrasonic Sensor
Ultrasonic SensorUltrasonic Sensor
Ultrasonic Sensor
Jeran Rai
 
Arduino Programming
Arduino ProgrammingArduino Programming
Arduino Programming
Dr Karthikeyan Periasamy
 
Automatic water level monitoring and control system using IoT
Automatic water level monitoring and control system using IoTAutomatic water level monitoring and control system using IoT
Automatic water level monitoring and control system using IoT
Danish Mehraj
 
Arduino Final Project
Arduino Final ProjectArduino Final Project
Arduino Final ProjectBach Nguyen
 
Sensor Based Blind Stick
Sensor Based Blind StickSensor Based Blind Stick
Sensor Based Blind Stick
Gagandeep Singh
 
Embedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseEmbedded system course projects - Arduino Course
Embedded system course projects - Arduino Course
Elaf A.Saeed
 
Rangefinder ppt
Rangefinder pptRangefinder ppt
Rangefinder ppt
KaushlendraSingh44
 
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Redwan Islam
 
MaxBotix Code Examples
MaxBotix Code ExamplesMaxBotix Code Examples
MaxBotix Code Examples
MaxBotix Inc
 
157929707-Presentation-on-Cro.pptx
157929707-Presentation-on-Cro.pptx157929707-Presentation-on-Cro.pptx
157929707-Presentation-on-Cro.pptx
pranjalmishra68
 
Dynasonics i sonic 4000 datasheet badger meter_open-channel flow meter
Dynasonics i sonic 4000 datasheet badger meter_open-channel flow meterDynasonics i sonic 4000 datasheet badger meter_open-channel flow meter
Dynasonics i sonic 4000 datasheet badger meter_open-channel flow meter
ENVIMART
 
Yehai catalogue -tracy chow
Yehai catalogue -tracy chowYehai catalogue -tracy chow
Yehai catalogue -tracy chowslideroma
 
Flow measurement
Flow measurementFlow measurement
Flow measurement
HARINATH REDDY
 

Similar to Sistema de medicion y control de nivel y control ( dias positivas) (20)

Control digital: Sistemas de control digital
Control digital: Sistemas de control digitalControl digital: Sistemas de control digital
Control digital: Sistemas de control digital
 
Arduino radar system
Arduino radar systemArduino radar system
Arduino radar system
 
ESD_Project-Report
ESD_Project-ReportESD_Project-Report
ESD_Project-Report
 
plantmonitoringsystem-180116071636 (1).pdf
plantmonitoringsystem-180116071636 (1).pdfplantmonitoringsystem-180116071636 (1).pdf
plantmonitoringsystem-180116071636 (1).pdf
 
Plant monitoring system
Plant monitoring systemPlant monitoring system
Plant monitoring system
 
ULTRASONIC SENSOR.pdf
ULTRASONIC SENSOR.pdfULTRASONIC SENSOR.pdf
ULTRASONIC SENSOR.pdf
 
Ultrasonic sensor
Ultrasonic sensorUltrasonic sensor
Ultrasonic sensor
 
Ultrasonic Sensor
Ultrasonic SensorUltrasonic Sensor
Ultrasonic Sensor
 
Arduino Programming
Arduino ProgrammingArduino Programming
Arduino Programming
 
Automatic water level monitoring and control system using IoT
Automatic water level monitoring and control system using IoTAutomatic water level monitoring and control system using IoT
Automatic water level monitoring and control system using IoT
 
Arduino Final Project
Arduino Final ProjectArduino Final Project
Arduino Final Project
 
Sensor Based Blind Stick
Sensor Based Blind StickSensor Based Blind Stick
Sensor Based Blind Stick
 
Embedded system course projects - Arduino Course
Embedded system course projects - Arduino CourseEmbedded system course projects - Arduino Course
Embedded system course projects - Arduino Course
 
Rangefinder ppt
Rangefinder pptRangefinder ppt
Rangefinder ppt
 
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
 
MaxBotix Code Examples
MaxBotix Code ExamplesMaxBotix Code Examples
MaxBotix Code Examples
 
157929707-Presentation-on-Cro.pptx
157929707-Presentation-on-Cro.pptx157929707-Presentation-on-Cro.pptx
157929707-Presentation-on-Cro.pptx
 
Dynasonics i sonic 4000 datasheet badger meter_open-channel flow meter
Dynasonics i sonic 4000 datasheet badger meter_open-channel flow meterDynasonics i sonic 4000 datasheet badger meter_open-channel flow meter
Dynasonics i sonic 4000 datasheet badger meter_open-channel flow meter
 
Yehai catalogue -tracy chow
Yehai catalogue -tracy chowYehai catalogue -tracy chow
Yehai catalogue -tracy chow
 
Flow measurement
Flow measurementFlow measurement
Flow measurement
 

Recently uploaded

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Steel & Timber Design according to British Standard
Steel & Timber Design according to British StandardSteel & Timber Design according to British Standard
Steel & Timber Design according to British Standard
AkolbilaEmmanuel1
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
veerababupersonal22
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 

Recently uploaded (20)

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Steel & Timber Design according to British Standard
Steel & Timber Design according to British StandardSteel & Timber Design according to British Standard
Steel & Timber Design according to British Standard
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 

Sistema de medicion y control de nivel y control ( dias positivas)

  • 1. UNIVERSIDAD AUTÓNOMA DE SANTO DOMINGO FACULTAD DE INGENIERÍA Y ARQUITECTURA ESCUELA DE ELECTROMECÁNICA.
  • 2. PRESENTACION NOMBRES: KELVIN MOISES PUENTE PEREZ. CARRERA: INGENIERIA ELECTROMECANICA MENCION ELECTRONICA. UNIVERSIDAD: UASD. NACIONALIDAD: REPUBLICA DOMINICANA. ESTUDIOS: TECNICO EN MECANICA DIESEL,TECNICO EN ELECTRONICA INDUSTRIAL Y DIGITAL Y TECNICO EN PLC. ASESOR DEL PROYECTO: ING. SANTIAGO JIMENEZ.
  • 3. SISTEMA DE MEDICION Y CONTROL DE NIVEL Y VOLUMEN DE LIQUIDOS.
  • 4. MEDICION DE NIVEL Y VOLUMEN DE LIQUIDOS.
  • 5. FUNCIONAMIENTO DEL SISTEMA DE MEDICION DE NIVEL Y VOLUMEN. Funcionamiento del sistema de medición. Primero se envía desde arduino, un Pulso "1" de al menos de 10uS por el Pin Trigger (Disparador). El sensor enviará 8 Pulsos de 40KHz (Ultrasonido) y coloca su salida Echo a alto (seteo), se debe detectar este evento e iniciar un conteo de tiempo. La salida Echo se mantendrá en alto hasta recibir el eco reflejado por el obstáculo a lo cual el sensor pondrá su pin Echo a bajo, es decir, terminar de contar el tiempo. Se recomienda dar un tiempo de aproximadamente 50ms de espera después de terminar la cuenta. La distancia es proporcional a la duración del pulso y puedes calcularla con las siguiente formula (Utilizando la velocidad del sonido = 340m/s): Distancia en cm (centímetros) = Tiempo medido en us x 0.017 El valor de la distancia se muestra en la interfaz arduino por medio del serial monitor, y se establece la comunicación serial y este dato se envía por medio del puerto serial a labview, donde el mismo es leído y analizado por medio de programación en bloques, y por medio de ecuaciones matemáticas, la cuales nos proporcionan el valor del volumen y el nivel del líquido, que existe dentro del tanque.
  • 7. SENSORES ULTRASONICOS. Los sensores de ultrasonidos son detectores de proximidad que trabajan libres de roces mecánicos y que detectan objetos a distancias de hasta 8m. El sensor emite un sonido y mide el tiempo que la señal tarda en regresar. Estos reflejan en un objeto, el sensor recibe el eco producido y lo convierte en señales eléctricas, las cuales son elaboradas en el aparato de valoración. Estos sensores trabajan solamente en el aire, y pueden detectar objetos con diferentes formas, colores, superficies y de diferentes materiales. Los materiales pueden ser sólidos, líquidos o polvorientos, sin embargo han de ser deflectores de sonido. Los sensores trabajan según el tiempo de transcurso del eco, es decir, se valora la distancia temporal entre el impulso de emisión y el impulso del eco.
  • 8. PROGRAMACION DEL SENSOR ULTRASONICO Programación en arduino IDE de la bomba(A). #define PIN_TRIG 8 #define PIN_ECO 7 const int bombaA = 11; int velocidadA; const int bombaB= 9; int velocidadB; void setup() { Serial.begin(9600); pinMode(PIN_TRIG, OUTPUT); pinMode(PIN_ECO, INPUT); pinMode(bombaA, OUTPUT); pinMode(bombaB, OUTPUT); }
  • 9. CONTINUACION void loop() { float duracion, distancia; digitalWrite(PIN_TRIG, LOW); delayMicroseconds(2); digitalWrite(PIN_TRIG, HIGH); delayMicroseconds(10); digitalWrite(PIN_TRIG, LOW); duracion = pulseIn(PIN_ECO,HIGH); distancia = duracion/58; if(distancia>=23.19){ distancia=23.19; } Serial.println(distancia); delay(600);
  • 10. ECUACIONES V=X*Y*Z, donde: V= volumen X=largo Y=ancho Z= altura=A-B A= Distancia que mide el sensor, cuando el tanque esta vacio. B= Distancia que mide el sensor, cuando el tanque esta lleno al 100%. N= (volumen medido/ volumen total)*100 Donde: N= Nivel del tanque expresado en porcentaje.
  • 12. DIAGRAMA DE BLOQUES PARA DATOS HISTORICOS.
  • 13. SISTEMA DE CONTROL DE MEDICION DE VOLUMEN Y NIVEL DE LIQUIDOS.
  • 14. CONTROL DE NIVEL Y VOLUMEN.
  • 15. PWM La modulación por ancho de pulsos También conocida como PWM, siglas en inglés depulse-width modulation) de una señal o fuente de energía es una técnica en la que se modifica el ciclo de trabajo de una señal periódica (una senoidal o una cuadrada, por ejemplo), ya sea para transmitir información a través de un canal de comunicaciones o para controlar la cantidad de energía que se envía a una carga.
  • 16. PWM
  • 17. CONTROL DE LLENADO DEL TANQUE PROGRAMACION DEL CONTROL DE BOMBA A // FUNCIONAMIENTO DE BOMBA A(BOMBA QUE LLENA EL TANQUE) if (distancia>=13.59){ analogWrite (bombaA,255); } else{ if (distancia<=12.45){ analogWrite(bombaA,128); } if(distancia<13.59){ analogWrite(bombaA,200); } if(distancia<=10.50){ analogWrite(bombaA,70); } if(distancia<=11.50){ analogWrite(bombaA,90); } } if (distancia<=10.38){ for (velocidadA=50; velocidadA>=0;velocidadA--){ analogWrite (bombaA,velocidadA);} } }
  • 18. BOMBA A, TANQUE, SENSOR ULTRASONICO.
  • 19. CONTROL DE VACIADO DEL TANQUE PROGRAMACION DEL CONTROL DE BOMBA B //FUNCIONAMIENTO DE BOMBA B(BOMBA QUE VACIA EL TANQUE) if (distancia<=10.38){ analogWrite (bombaB,255); } else{ if (distancia>=11.50){ analogWrite(bombaB,128); } if(distancia>=10.50){ analogWrite(bombaB,160); } if(distancia>10.38){ analogWrite(bombaB,200); } if(distancia>=12.45){ analogWrite(bombaB,90); } } if (distancia>=13.59){ for (velocidadB=50; velocidadB>=0;velocidadB--) analogWrite (bombaB,velocidadB); } }
  • 20. ARDUINO UNO, TARJETA DE CONTROL, BOMBA B.
  • 21. FUNCIONAMIENTO DEL SISTEMA. Funcionamiento del sistema. El sistema de medición y control de nivel y volumen de líquidos tiene la función de mantener un volumen constante y un nivel constante del líquido que se encuentra dentro del tanque. Este posee una entrada y una salida de agua, con sus respectivas bombas y tuberías. En el tanque la bomba de entrada de agua (A), suministrara la misma cantidad de agua que extrae del tanque, la bomba de salida de agua (B), con el sistema cargado inicialmente, por lo tanto, se cumple la siguiente condición: (velocidad A)= (velocidad B), en un nivel, ya programado en el lenguaje de programación. Si la bomba (A) se apaga por una razón cualquiera, la bomba (B) continúa funcionando, y esta se apaga cuando se cumple la condición de nivel del tanque de control deseada, ya programada en el sistema. Esta bomba va a ir reduciendo su velocidad gradualmente a medida que el nivel del agua se acerca al nivel deseado, la intensidad del LED verde va a ir disminuyendo, y la distancia del sensor ultrasónico al agua va aumentando, dicha distancia, representa la profundidad, y este valor se utiliza en la ecuación escrita en el programa para calcular el volumen y el nivel del tanque de control. Cuando el agua llega al nivel programado en el sistema, la velocidad de la bomba se hace cero, esto es, a lo que denominamos en ARDUINO como el PWM. Si la bomba (B) se apaga por una razón cualquiera, la bomba (A) continúa funcionando, y esta se apaga cuando se cumple la condición de nivel del tanque de control deseada, ya programada en el sistema. Esta bomba va a ir reduciendo su velocidad gradualmente a medida que el nivel del agua se acerca al nivel deseado, la intensidad del LED naranja va a ir disminuyendo, ya que la distancia del sensor al agua va a ir disminuyendo también. Cuando el agua llega al nivel programado en el sistema, la velocidad de la bomba se hace cero.