Error calculando voltaje(Solucionado)

Hola, alguien me puede ayudar en español?

Estoy haciendo el montaje http://openenergymonitor.org/emon/buildingblocks/how-to-build-an-arduino-energy-monitor?page=7

Pero tengo un problema. el arduino muestra 550V en mi casa. yo estoy usando un transformador de 220v a 9v AC. Mi casa esta en españa pero tiene una peculiaridad tengo 2 fases de 125V que dan un total de 230V mas o menos. pero no creo que sea el problema.

He medido entre GND y el cable que va al arduino y da 4,8V en DC y 8v en AC.

hay muchos links en el articulo que no funcionan.

 

Gracias y perdon por no saber ingles.

 

PD. no lo he traducido al ingles con google porque la gente me dice que no se entiende nada 

Robert Wall's picture

Re: Error calculando voltaje(Solucionado)

I think there is a mistake in your wiring from the 9 V transformer output.

The 9 V transformer does not have a big load, therefore the voltage out will be more than 9 V, I expect 11 V approximately. That is normal. I think 8 V is incorrect.

4.8 V d.c. on the transformer is incorrect. This page http://openenergymonitor.org/emon/buildingblocks/measuring-voltage-with-... shows the voltages you should measure.

And my apologies, because I do not know Spanish.

PhilThy's picture

Re: Error calculando voltaje(Solucionado)

Wouldn't the 4.8v dc between GND and the cable to the arduino, be the arduino power supply?

mirasu's picture

Re: Error calculando voltaje(Solucionado)

Hola y gracias a los 2 por contestar y perdonar que tarde tanto en contestar.

He descubierto un mala soldadura en GND y ahora arduino marca 337V

La medicion entre GND y A2 del arduino me marca 2,37 Vdc y 4,8Vac

Mi trasformador es interno de 230v a 9vac  en la salida en vacio me da 18vac

He leido el link que me dices y los links que hay dentro Robert Muro. y aunque con la traduccion de google y que no se mucho de electronica, me parece que esta todo bien y los 2,37v en la entrada A2 de arduino es correcto.

aunque he visto en uno de los links que la resistencia de 100K podria ser mejor de 62K, yo tengo 1x100K y 3x10K, es ta bien asi?

 

me pudirais ayudar diciendome que V tendria que tener entre varios puntos para comprobar mi circuito?

Gracias

 

Hello and thanks for the answer and forgive 2 take so long to answer.

I discovered a bad solder arduino GND and now brand 337V

The measurement between GND and I mark arduino A2 2.37 4.8 Vdc and Vac

My transformer is 230v domestic output 9VAC in vacuum gives me 18VAC

I have read the link you're saying and the links inside Robert Wall. and although the translation of google and not much of electronica, I think everything is fine and 2.37 A2 v on arduino input is correct.

although I have seen one of the links that the 100K resistor 62K could be better, I have 1x100K and 3x10K, is ta good way?

 

pudirais help me telling me that V would have to be between several points to check my circuit?

thanks

 

Robert Wall's picture

Re: Error calculando voltaje(Solucionado)

In this circuit diagram here http://openenergymonitor.org/emon/buildingblocks/measuring-voltage-with-...

R3 = R4 = 10 k  -  470 k

R1 ≈ 10 k

R2 ≈ ((V_transformador_saída_sem_carga  / 1.5) - 1)  x  10 k

If R2 is too large, make R1 smaller.  Some people say make R3 & R4 smaller because smaller resistors generate less thermal noise, but that is no help because C1 removes the noise.

The resistors you have at R3 & R4 are good.

When you measure a.c. voltage across R1, you should read ≈ 1.5 V and never more than 1.75 V.

When you measure d.c. voltage you should read ≈ 2.5 V  at all places except the 5 V supply.  It is possible your meter will not measure d.c. correctly when a.c. is also on that place. If you have 2.5 V d.c. across C1, all is probably correct.

 

mirasu's picture

Re: Error calculando voltaje(Solucionado)

Hola Robert Wall

En la salida del transformador en vacio me da 14,5 a 14,6V ac. No 18V Como dije mas arriba (perdon) 

he medido el vooltaje en R1 y me marca 0,9V ac.

asi si no me equivoco segun la formula que me dices el valor de es R2 = 87K, es correcto?

Asi cambio R2 a 87K o me recomiendas otro valor?

 

Gracias

 

Hi Robert Wall

In the vacuum transformer output gives me 14.5 to 14.6 V ac. No more 18V As I said above (sorry)

I measured the vooltaje in R1 and 0.9 V ac brand me.

so if I'm not mistaken according to the formula you tell me the value is R2 = 87K, is that correct?

So change R2 to 87K or other value do you recommend?

 

thanks

Robert Wall's picture

Re: Error calculando voltaje(Solucionado)

No, do not change R2. It is close enough. You can correct the voltage that you read with the voltage calibration constant. 

I use the sketch from Github as my example https://github.com/openenergymonitor/emonTxFirmware/blob/master/emonTx_C...

Change:

ct1.voltageTX(228.268, 1.7);

     // ct.voltageTX(calibration, phase_shift) - make sure to select correct
        calibration for AC-AC adapter 
        http://openenergymonitor.org/emon/modules/emontx/firmware/calibration. Default is set for Ideal Power voltage adapter.

If your supply is 230 V when you measured 0.9 V across R1 then 228.268 changes to 255 approximately. But I think 0.9 V is not correct: if R1 = 10 k & R2 = 100 k,  the voltage should be 1.3 V and the number should be 175 approximately.

You measure your supply, and you change the number so that the Arduino Serial Monitor reads the same voltage as your meter.

 

jan's picture

Re: Error calculando voltaje(Solucionado)

Hola,

yo tambien tengo en casa suministro trifasico a 220V, que me daria 125 entre fase i neutro, pero tomo los 220 entre fases.

Tengo en funcionamiento un medidor de OpenEnergyMonitor con 3 pinzas i un transformador para el voltaje, todo en la misma fase, y funcionando correctamente.

Al principio tambien me daba un valor de tension medido superior, pero tal como dice Robert, debes hacer un ensayo para determinar el valor del coeficiente de calibracion de tu sistema en concreto, que puede diferir ligerament del que viene en el sketch debido a diferencias de construccion de los distintos componentes del medidor (transformador, resistencias). Es un proceso de ensayo-error (alguna regla de tres ayuda) hasta que el valor medido con un voltimetro coincida con el valor leido en el Serial Monitor.

Idem con los coeficientes de calibracion de corriente. Yo use una estufa de baño y un amperimetro, y busque el coeficiente para cada una de las pinzas (las tengo marcadas con 1,2 y 3, y una vez calibradas ya no las voy a intercanviar).

De los valores a medir en las patillas de las resistencias no tengo ni idea.

Espero te sirva de ayuda.

Robert Wall's picture

Re: Error calculando voltaje(Solucionado)

Yes, jan is correct.

The values you calculate will be wrong because of the tolerances in the components. In the worst case the error might be as large as 15%.   Hopefully, there will be a page in "Building Blocks" soon to explain the errors in the emonTx.

Your multimeter will almost certainly be better than 15%, therefore changing the value of the calibration coefficient to make the emonTx read the same as your meter will give you the best accuracy.

mirasu's picture

Re: Error calculando voltaje(Solucionado)

Muchas gracias Jan y Robert Wall Ya he conseguido calibrar el voltaje, con la corriente hare como decis y seguro que no tendre problema.

Gracias de nuevo!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.