JFS Posted October 27, 2022 Report Posted October 27, 2022 Hola, tengo una gran duda que seguro podéis responderme. Tengo un vision 350 al que le llega una señal de pulsos (contador de agua 4 pulsos=1 litro). El contador tiene de factor K=0,25 según el fabricante. Para poder conocer el caudal instantáneo que pasa por el contador si 4 pulsos es igual a 1 litro entonces 1 pulso es igual a 0’25 litros, Ó EXISTE OTRA FORMA MÁS EXACTA UTILIZANDO EL FACTOR K (0,25) DEL FABRICANTE?????? Y siempre utilizando una entrada digital en v350. Es que ocurre que en su programación que no puedo descargar se obtienen valores por ej. 1320 L/hora y esto significa que 1320/3600 es igual a 0,366666 pulsos, como es posible utilizando una entrada digital?????? Tiene algo que ver el factor K=0,25 del fabricante del contador para saber más exacto el caudal?????
MVP 2023 Flex727 Posted October 27, 2022 MVP 2023 Report Posted October 27, 2022 11 minutes ago, JFS said: Hello, I have a big question that you can surely answer me. I have a vision 350 that receives a pulse signal (water meter 4 pulses = 1 liter). The meter has a factor K=0.25 according to the manufacturer. In order to know the instantaneous flow that passes through the meter, if 4 pulses is equal to 1 liter, then 1 pulse is equal to 0.25 liters, OR IS THERE ANOTHER MORE ACCURATE WAY USING THE MANUFACTURER'S K FACTOR (0.25)??? ??? And always using a digital input in v350. You cannot get an instantaneous flow rate from a pulse flow meter but you can approximate it. The basic procedure is to measure the time between pulses then divide the volume of each pulse by the time measured. If the pulses come too rapidly to measure the time interval accurately, then sum the pulses over a small time period and divide. Depending on what you plan to do with the calculated flow rate, you may need some smoothing or filtering of the data.
JFS Posted October 27, 2022 Author Report Posted October 27, 2022 Es exactamente lo que hago medir la cantidad de pulsos en 20 segundos y los divido entre 4 para obtener los litros en 20 segundos y así poder actualizar cada 20 segundos el caudal instantáneo. No puedo medir el tiempo entre pulsos porque éste oscilará durante el proceso, no es constante. El volumen del pulso cómo lo mido???? Y si este pulso entiendo que es 1 en la entrada digital de vision350 cómo es posible que en el hmi aparezca un valor de 1320 litros hora???? Esto siginifica 7,333333 pulsos cada 20 segundos o 0,366666 pulsos cada segundo y se trata de una entrada digital.
MVP 2023 Flex727 Posted October 27, 2022 MVP 2023 Report Posted October 27, 2022 Sounds like you have a math problem. Since each pulse is .25 liter, divide the number of pulses received in 20 seconds by 4, then multiply by 180 (3600/20) to get liters per hour. In order to reduce rounding error when working with integers, I would do the multiplication first then the division (or just simplify to multiply by 45 (180/4)). Depending on your flow rate, you may need to use MLs instead of MIs to avoid register overflow.
JFS Posted October 27, 2022 Author Report Posted October 27, 2022 Perfecto, yo te entiendo, la manera que usted me explica es poniendo este ejemplo: 29 pulsos/4 pulsos* 180=1305 Litros hora 30 pulsos/4 pulsos*180=1350 Litros hora cómo han programado el v350 para que en el hmi aparezca el valor de 1320 litros hora????? si como usted me dice de 29 pulsos igual a 1305 litros hora paso a 30 pulsos que son 1350 litros hora. (1350Litros-1305Litros en medio hay 45 Litros que no mido). Tratándose de una entrada digital. Por eso pregunto si hay otra fórmula para ser más preciso que tenga que ver con el facto r K del contador.
MVP 2023 Flex727 Posted October 27, 2022 MVP 2023 Report Posted October 27, 2022 1 hour ago, JFS said: how have they programmed the v350 so that the value of 1320 liters per hour appears on the hmi????? I suspect the program is using some smoothing or filtering of the final value so that it doesn't jump around too much on the HMI display, or they're using a time period other than 20 seconds. 1 hour ago, JFS said: If, as you say, 29 pulses equal 1,305 liters per hour, I go to 30 pulses, which are 1,350 liters per hour. (1350Liters-1305Liters in between there are 45 Liters that I don't measure). In the case of a digital input. That's why I ask if there is another formula to be more precise that has to do with the r K factor of the counter. That formula is perfectly precise and is using the K-Factor (the K-Factor of .25 means divide by 4, which you are doing).
JFS Posted October 27, 2022 Author Report Posted October 27, 2022 Ya no insistiré más y me quedo con tu respuesta fiable y realizaré el programa de ese modo que es fiable. pero la fórmula Q(caudal L/min)=frecuencia de pulsos/K la frecuencia de pulsos la calculo con número de pulsos entre 20 segundos por ejemplo, y el factor K me lo da el fabricante (0,25) si obtengo 110 pulsos en 20 segundos: 110/20=5,5 de frecuencia, entonces: Q=5,5/0,25=22 litros minuto*60 minutos=1320 litros la hora, lo que refleja el hmi ahora bien, esto por tu fórmula no sale: 110 pulsos/4=27,5 litros en 20 segundos en 3600 segundos (1 hora)=4950 litros hora hay una gran diferencia, y eso que voy a trabajar en el programa con tu razonamiento, pero no entiendo porque no da el mismo resultado. No sé cual de las dos formas es la adecuada. Gracias.
MVP 2023 Flex727 Posted October 27, 2022 MVP 2023 Report Posted October 27, 2022 56 minutes ago, JFS said: if I get 110 pulses in 20 seconds: 110/20=5.5 frequency, so: Q=5.5/0.25=22 liters per minute*60 minutes=1320 liters per hour, which reflects the hmi Your math doesn't look correct. If you have 5.5 pulses per second, then that is 1.375 liters per second, which is 4950 liters per hour. You should be multiplying by 0.25, not dividing by 0.25, then that result is liters per second, not liters per minute.
JFS Posted October 27, 2022 Author Report Posted October 27, 2022 Gracias por tus conocimientos, me has resuelto la duda, voy a continuar ejecutando el programa con los datos de la fórmula del principio pulsos/4*(180) Gracias.
MVP 2023 Ausman Posted October 27, 2022 MVP 2023 Report Posted October 27, 2022 Look at this post and the rest of the topic, for some possible help in what you want to do:
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now