0
U

Archive:CALMU3

From London Hackspace Wiki
Jump to: navigation, search
(Memory)
Line 232: Line 232:
 
  X0D=FFFFFF # static
 
  X0D=FFFFFF # static
 
  X0E=00007F # static
 
  X0E=00007F # static
  X0F=000000 # static
+
  X0F=000000 # sometimes 0xffffff
 
  X10=000000 # static
 
  X10=000000 # static
 
  X11=00000A # static
 
  X11=00000A # static
  X12=00008F # floats by +- 0x20 around here
+
  X12=00008F # floats by +- 0x20/0x40 around here
 
  X13=0000FF # static
 
  X13=0000FF # static
 
  X14=FFFFFF # static
 
  X14=FFFFFF # static
Line 253: Line 253:
 
  X22=FFFFFF # static
 
  X22=FFFFFF # static
 
  X23=FFFFFF # static
 
  X23=FFFFFF # static
  X24=007F58 # static
+
  X24=007F58 # also 0x53
 
  X25=000000 # also +-0x20 occasionally
 
  X25=000000 # also +-0x20 occasionally
  X26=FF9900 # also 0x0040FF, 0x000AE0
+
  X26=FF9900 # also 0x0040FF, 0x000AE0, 0x001320
  X27=00400B # also 0x001400
+
  X27=00400B # also 0x001400, 0x001320
  X28=687687 # also 0x001400, 0xC6C5FA
+
  X28=687687 # also 0x001400, 0xC6C5FA, 0x001320
 
  X29=FFFD13 # floats around here
 
  X29=FFFD13 # floats around here
 
  X2A=0003E8 # static (1000)
 
  X2A=0003E8 # static (1000)
 
  X2B=0003E8 # static (1000)
 
  X2B=0003E8 # static (1000)
  X2C=03A4A8
+
  X2C=03A4A8 # slow increase
  X2D=03B0DC
+
  X2D=03B0DC # slow increase
  X2E=03BB34
+
  X2E=03BB34 # slow increase
 
  X2F=0007C3
 
  X2F=0007C3
 
  X30=FFFAC7
 
  X30=FFFAC7
  X31=0005AB
+
  X31=0005AB # very slow increase
  X32=00033A
+
  X32=00033A # very slow increase
  X33=000003
+
  X33=000003 # also 2
  X34=000005
+
  X34=000005 # also 2
 
  X35=FFFDDA
 
  X35=FFFDDA
 
  X36=FFFFFF
 
  X36=FFFFFF
Line 277: Line 277:
 
  X3A=000001
 
  X3A=000001
 
  X3B=26E6F4
 
  X3B=26E6F4
  X3C=000001
+
  X3C=000001 # static
 
  X3D=05551E
 
  X3D=05551E
 
  X3E=02B641
 
  X3E=02B641
 
  X3F=282A7A
 
  X3F=282A7A
  X40=00000D
+
  X40=00000D # static
  X41=00100D
+
  X41=00100D # static
  X42=53100D
+
  X42=53100D # static
  X43=58100D
+
  X43=58100D # static
 
  X44=FFFFFF
 
  X44=FFFFFF
  X45=FF00FF
+
  X45=FF00FF # static
  X46=0400FF
+
  X46=0400FF # static
  X47=0400FF
+
  X47=0400FF # static
 
  X48=03A4FC
 
  X48=03A4FC
  X49=000000
+
  X49=000000 # static
  X4A=FFFFFF
+
  X4A=FFFFFF # static
  X4B=050013
+
  X4B=050013 # static
  X4C=000000
+
  X4C=000000 # static
  X4D=050013
+
  X4D=050013 # static
  X4E=000000
+
  X4E=000000 # static
  X4F=000000
+
  X4F=000000 # static
  X50=FFFFFF
+
  X50=FFFFFF # static
  X51=FFFFFF
+
  X51=FFFFFF # static
  X52=FFFFFF
+
  X52=FFFFFF # static
  X53=FFFFFF
+
  X53=FFFFFF # static
  X54=000000
+
  X54=000000 # static
  X55=000000
+
  X55=000000 # also 0xffffff
  X56=FFFFFF
+
  X56=FFFFFF # static
  X57=FFFFFF
+
  X57=FFFFFF # static
  X58=000000
+
  X58=000000 # static
  X59=FFFFFF
+
  X59=FFFFFF # static
  X5A=000000
+
  X5A=000000 # static
  X5B=000000
+
  X5B=000000 # static
  X5C=000000
+
  X5C=000000 # static
  X5D=000000
+
  X5D=000000 # static
  X5E=000000
+
  X5E=000000 # static
  X5F=000000
+
  X5F=000000 # static
  X60=000000
+
  X60=000000 # static
  X61=000000
+
  X61=000000 # static
  X62=000000
+
  X62=000000 # static
  X63=000000
+
  X63=000000 # static
  X64=000000
+
  X64=000000 # static
  X65=FFFFFF
+
  X65=FFFFFF # static
  X66=000000
+
  X66=000000 # static
  X67=000000
+
  X67=000000 # static
  X68=FFFFFF
+
  X68=FFFFFF # static
  X69=000000
+
  X69=000000 # static
  X6A=FFFFFF
+
  X6A=FFFFFF # static
  X6B=FFFFFF
+
  X6B=FFFFFF # static
  X6C=FFFFFF
+
  X6C=FFFFFF # static
  X6D=FFFFFF
+
  X6D=FFFFFF # static
  X6E=000000
+
  X6E=000000 # static
  X6F=FFFFFF
+
  X6F=FFFFFF # static
  X70=000000
+
  X70=000000 # static
  X71=000000
+
  X71=000000 # static
  X72=000000
+
  X72=000000 # static
  X73=000000
+
  X73=000000 # static
  X74=000000
+
  X74=000000 # static
  X75=000000
+
  X75=000000 # static
  X76=000000
+
  X76=000000 # static
  X77=FFFFFF
+
  X77=FFFFFF # static
  X78=000003
+
  X78=000003 # static
  X79=000076
+
  X79=000076 # static
  X7A=000015
+
  X7A=000015 # static
  X7B=000000
+
  X7B=000000 # static
  X7C=000019
+
  X7C=000019 # static
  X7D=00216B
+
  X7D=00216B # static
  X7E=00000C
+
  X7E=00000C # static
  X7F=00001D
+
  X7F=00001D # static
  X80=000058
+
  X80=000058 # static
  X81=007F44
+
  X81=007F44 # static
  X82=000001
+
  X82=000001 # static
  X83=000000
+
  X83=000000 # static
  X84=000000
+
  X84=000000 # static
  X85=000000
+
  X85=000000 # static
  X86=000000
+
  X86=000000 # static
  X87=000000
+
  X87=000000 # static
  X88=000000
+
  X88=000000 # static
  X89=000000
+
  X89=000000 # static
  X8A=000000
+
  X8A=000000 # static
  X8B=000000
+
  X8B=000000 # static
  X8C=000000
+
  X8C=000000 # static
  X8D=000000
+
  X8D=000000 # static
 
  X8E=000010
 
  X8E=000010
 
  X8F=001A6F
 
  X8F=001A6F
  X90=000000
+
  X90=000000 # static
  X91=000011
+
  X91=000011 # static
  X92=0006F0
+
  X92=0006F0 # static
  X93=0006F0
+
  X93=0006F0 # static
  X94=00000C
+
  X94=00000C # static
  X95=000006
+
  X95=000006 # static
  X96=000002
+
  X96=000002 # static
  X97=FFFFFF
+
  X97=FFFFFF # static
  X98=000000
+
  X98=000000 # also 0xffffff
  X99=FFFFFF
+
  X99=FFFFFF # static
  X9A=FFFFFF
+
  X9A=FFFFFF # static
  X9B=000000
+
  X9B=000000 # static
  X9C=000000
+
  X9C=000000 # static
  X9D=000000
+
  X9D=000000 # static
  X9E=000000
+
  X9E=000000 # static
  X9F=000000
+
  X9F=000000 # static
  XA0=000003
+
  XA0=000003 # static
  XA1=000000
+
  XA1=000000 # static
  XA2=FFFFC0
+
  XA2=FFFFC0 # static
  XA3=FFFF84
+
  XA3=FFFF84 # static
  XA4=000001
+
  XA4=000001 # static
  XA5=000001
+
  XA5=000001 # static
  XA6=000000
+
  XA6=000000 # static
  XA7=000001
+
  XA7=000001 # static
  XA8=000002
+
  XA8=000002 # static
  XA9=000000
+
  XA9=000000 # static
  XAA=000001
+
  XAA=000001 # static
  XAB=000001
+
  XAB=000001 # static
  XAC=007F3C
+
  XAC=007F3C # static
  XAD=007F4E
+
  XAD=007F4E # static
  XAE=007F58
+
  XAE=007F58 # static
  XAF=0000FF
+
  XAF=0000FF # static
  XB0=0003E8
+
  XB0=0003E8 # static (1000)
  XB1=0000FF
+
  XB1=0000FF # static
  XB2=000000
+
  XB2=000000 # static
  XB3=00016E
+
  XB3=00016E # static
  XB4=0005B5
+
  XB4=0005B5 # static
  XB5=000708
+
  XB5=000708 # static
  XB6=0003DF
+
  XB6=0003DF # static
  XB7=0003E5
+
  XB7=0003E5 # static
  XB8=0003F8
+
  XB8=0003F8 # static
  XB9=001F40
+
  XB9=001F40 # static (8000)
  XBA=00015E
+
  XBA=00015E # static
  XBB=000000
+
  XBB=000000 # static
  XBC=000A87
+
  XBC=000A87 # static
  XBD=000B9B
+
  XBD=000B9B # static
  XBE=001D4C
+
  XBE=001D4C # static (7500)
  XBF=000000
+
  XBF=000000 # static
  XC0=004100
+
  XC0=004100 # static
 
  XC1=0078E0
 
  XC1=0078E0
 
  XC2=000095
 
  XC2=000095
  XC3=000000
+
  XC3=000000 # static
  XC4=000056
+
  XC4=000056 # floats around here
  XC5=000054
+
  XC5=000054 # floats around here
 
  XC6=00012F
 
  XC6=00012F
  XC7=00012A
+
  XC7=00012A # static
  XC8=00016D
+
  XC8=00016D # static
  XC9=001080
+
  XC9=001080 # static
  XCA=007F00
+
  XCA=007F00 # static
  XCB=FFFD00
+
  XCB=FFFD00 # static
  XCC=007E00
+
  XCC=007E00 # static
  XCD=00110C
+
  XCD=00110C # static
  XCE=003348
+
  XCE=003348 # static
  XCF=002730
+
  XCF=002730 # static
  XD0=000384
+
  XD0=000384 # static
  XD1=00293B
+
  XD1=00293B # static
  XD2=0029EB
+
  XD2=0029EB # static
  XD3=0001FF
+
  XD3=0001FF # static
  XD4=003262
+
  XD4=003262 # static
  XD5=00FFFF
+
  XD5=00FFFF # static
  XD6=0332D4
+
  XD6=0332D4 # static
  XD7=015180
+
  XD7=015180 # static
  XD8=001F36
+
  XD8=001F36 # static
  XD9=014244
+
  XD9=014244 # static
  XDA=000001
+
  XDA=000001 # static
  XDB=000001
+
  XDB=000001 # static
  XDC=000000
+
  XDC=000000 # static
  XDD=000000
+
  XDD=000000 # static
  XDE=000000
+
  XDE=000000 # static
  XDF=989680
+
  XDF=989680 # static
  XE0=FFFFFF
+
  XE0=FFFFFF # static
  XE1=F3A27C
+
  XE1=F3A27C # static
  XE2=F3A27C
+
  XE2=F3A27C # static
  XE3=000AFA
+
  XE3=000AFA # static
  XE4=000000
+
  XE4=000000 # static
  XE5=000AF8
+
  XE5=000AF8 # static
  XE6=000000
+
  XE6=000000 # static
  XE7=73FAEE
+
  XE7=73FAEE # static
  XE8=CCBBAA
+
  XE8=CCBBAA # static
  XE9=050002
+
  XE9=050002 # static
  XEA=050013
+
  XEA=050013 # static
  XEB=050013
+
  XEB=050013 # static
  XEC=050013
+
  XEC=050013 # static
  XED=050013
+
  XED=050013 # static
  XEE=050013
+
  XEE=050013 # static
  XEF=050013
+
  XEF=050013 # static
  XF0=050013
+
  XF0=050013 # static
  XF1=050013
+
  XF1=050013 # static
  XF2=050013
+
  XF2=050013 # static
  XF3=050013
+
  XF3=050013 # static
  XF4=050013
+
  XF4=050013 # static
  XF5=050013
+
  XF5=050013 # static
  XF6=050013
+
  XF6=050013 # static
  XF7=050013
+
  XF7=050013 # static
  XF8=050013
+
  XF8=050013 # static
  XF9=050013
+
  XF9=050013 # static
  XFA=050013
+
  XFA=050013 # static
  XFB=050013
+
  XFB=050013 # static
  XFC=050013
+
  XFC=050013 # static
  XFD=050013
+
  XFD=050013 # static
  XFE=050013
+
  XFE=050013 # static
  XFF=050013
+
  XFF=050013 # static

Revision as of 01:39, 1 February 2011

MULTIPLY ALL READINGS BY ONE

Calmu3+ from Polymeters Response International. "The first microprocessor-based meter", which uses "FFT, rather than 'brute-force' DSP" [1]

It may need calibration periodically, but that's probably up to the supplier.

Details

  • Serial no: P99A01869
  • Part no: C3DBD0BC0SJ (3 phase direct, class 1 accuracy, lithium backup, C?)

Graphs

Interfaces

  • Infrared PACT port (this is a standard - possible adapter)
  • Serial port ("for PC, modem or PACTLAN"). This is apparently not PACT.

Software with support

  • Principal (DOS) or Ease II (can't get this to run on XP due to .vbx; probably needs 2000; uses stopcopy protection) from PRI
  • mv-rs, and possibly other Itron stuff
  • Ziphany

Source code

https://github.com/londonhackspace/Powered

Resources

A later model, with a nice overview of available metrics.

Presumably ex-PRI consultant on Calmu meters

Serial protocol

1200bps ASCII, \r terminated

Equals symbols are shown on some variables, but presumably wouldn't fit for many. This seems to be consistent within each value, however.

'N', 's', 'u' or 'x' are slightly special/buggy. If a valid index isn't provided for 'N' or 'x', the meter returns '\xff' with no '\r', so take steps to prevent this. If a valid index isn't provided for 'u', 'U\r' is returned. 's' always seems to return the same value.

Lowercase commands are always inverted and smaller than uppercase, suggesting they're from another perspective. Obviously, units still increase, so 'u' probably just calls 'U', explaining its strange behaviour.

Sampling seems to be live, so sampling more frequently will be more accurate. Due to the baud rate, a sample takes 120-240ms.

Commands

F Frequency "F=50.138\r"
R (Real?) time. "R=15:00:40\r"
S Serial number "SP99A01869\r"
s Meter information "s=", dword 0xa605019e, dword 0, "\r"
B[AVWvw]  ?

  • "BAA3123B"
  • "BV182B85"
  • "BW918D2F"
  • "Bv05B6CE"
  • "Bw01B525"

I[123] Active Current (A)

  • "I1+15.230"
  • "I2+0.0000"
  • "I3-0.0300"

i[123] Reactive Current (A)

  • "i1-5.6300"
  • "i2-0.0000"
  • "i3-0.0100"

L[123] "Apparent" current (A)

  • "L1+9.0200"
  • "L2+0.0100"
  • "L3+0.0200"

K[123A] Apparent power (kVA)

  • "K1+2.0700"
  • "K2+0.0000"
  • "K3+0.0100"
  • "KA+2.0600"

KW Total Active power fundamental frequency

  • "KW+1.6300"

KV Total Reactive power

  • "KV-1.3300"

P[123] Real power (kW)

  • "P1+1.6400"
  • "P2-0.0000"
  • "P3+0.0000"

p[123] Reactive Power (kVAR)

  • "p1-1.3400"
  • "p2+0.0000"
  • "p3-0.0100"

Q[123A] Power factor

Not sure what the +/- means

  • "Q1=0.769-"
  • "Q2=1.000+"
  • "Q3=1.000+"
  • "QA=0.787-"

U[AVWvw] Units

  • "UA=2631984"
  • "UV=0349470"
  • "UW=2549220"
  • "Uv=0177551"
  • "Uw=0000001"

u[AVWvw] Units (duplicate?)

  • "UA=2631986"
  • "UV=0349470"
  • "UW=2549221"
  • "Uv=0177552"
  • "Uw=0000001"

V[123] Voltage (V)

  • "V1+236.75"
  • "V2+240.72"
  • "V3+242.45"

X[0-9A-F][0-9A-F] Return memory (see below)

 ?

Notes

  • V is clearly voltage.
  • I is clearly current.
  • Q is {0, 1}, so clearly power factor.
  • P is I * V, so must be true power.
  • K is P / Q, so must be apparent power.
  • L is I*Q, so "apparent" current.

Memory

This is probably RAM. This MCU is 768 bytes of RAM.

X00=A98991 # increments by ~ 0xb800-0xc800 every second (~50kHz MCU clock?)
X01=00008E # floats around here - drift/correction of X02?
X02=00C3E9 # floats around here - last increase of X00?
X03=03A590 # 
X04=00000A # static
X05=000000 # static
X06=FFFD1E
X07=0000FE # static
X08=0007C8 # floats around here
X09=0005CD # floats around here
X0A=FFFAD5 # floats around here
X0B=00000D # sometimes jumpy (0x03-0x2e) - adjustment?
X0C=000000 # static
X0D=FFFFFF # static
X0E=00007F # static
X0F=000000 # sometimes 0xffffff
X10=000000 # static
X11=00000A # static
X12=00008F # floats by +- 0x20/0x40 around here
X13=0000FF # static
X14=FFFFFF # static
X15=FFFFFF # static
X16=02EA22 # very slow increase
X17=FFFFFF # static
X18=000000 # static
X19=000000 # static
X1A=FBA66C # slow increase ~1/sec - timer
X1B=0000FF # static
X1C=000003 # static
X1D=000000 # static
X1E=000000 # static
X1F=73FAEE # static
X20=FFFFFF # static
X21=FFFFFF # static
X22=FFFFFF # static
X23=FFFFFF # static
X24=007F58 # also 0x53
X25=000000 # also +-0x20 occasionally
X26=FF9900 # also 0x0040FF, 0x000AE0, 0x001320
X27=00400B # also 0x001400, 0x001320
X28=687687 # also 0x001400, 0xC6C5FA, 0x001320
X29=FFFD13 # floats around here
X2A=0003E8 # static (1000)
X2B=0003E8 # static (1000)
X2C=03A4A8 # slow increase
X2D=03B0DC # slow increase
X2E=03BB34 # slow increase
X2F=0007C3
X30=FFFAC7
X31=0005AB # very slow increase
X32=00033A # very slow increase
X33=000003 # also 2
X34=000005 # also 2
X35=FFFDDA
X36=FFFFFF
X37=FFFFFC
X38=00027D
X39=FFFFFD
X3A=000001
X3B=26E6F4
X3C=000001 # static
X3D=05551E
X3E=02B641
X3F=282A7A
X40=00000D # static
X41=00100D # static
X42=53100D # static
X43=58100D # static
X44=FFFFFF
X45=FF00FF # static
X46=0400FF # static
X47=0400FF # static
X48=03A4FC
X49=000000 # static
X4A=FFFFFF # static
X4B=050013 # static
X4C=000000 # static
X4D=050013 # static
X4E=000000 # static
X4F=000000 # static
X50=FFFFFF # static
X51=FFFFFF # static
X52=FFFFFF # static
X53=FFFFFF # static
X54=000000 # static
X55=000000 # also 0xffffff
X56=FFFFFF # static
X57=FFFFFF # static
X58=000000 # static
X59=FFFFFF # static
X5A=000000 # static
X5B=000000 # static
X5C=000000 # static
X5D=000000 # static
X5E=000000 # static
X5F=000000 # static
X60=000000 # static
X61=000000 # static
X62=000000 # static
X63=000000 # static
X64=000000 # static
X65=FFFFFF # static
X66=000000 # static
X67=000000 # static
X68=FFFFFF # static
X69=000000 # static
X6A=FFFFFF # static
X6B=FFFFFF # static
X6C=FFFFFF # static
X6D=FFFFFF # static
X6E=000000 # static
X6F=FFFFFF # static
X70=000000 # static
X71=000000 # static
X72=000000 # static
X73=000000 # static
X74=000000 # static
X75=000000 # static
X76=000000 # static
X77=FFFFFF # static
X78=000003 # static
X79=000076 # static
X7A=000015 # static
X7B=000000 # static
X7C=000019 # static
X7D=00216B # static
X7E=00000C # static
X7F=00001D # static
X80=000058 # static
X81=007F44 # static
X82=000001 # static
X83=000000 # static
X84=000000 # static
X85=000000 # static
X86=000000 # static
X87=000000 # static
X88=000000 # static
X89=000000 # static
X8A=000000 # static
X8B=000000 # static
X8C=000000 # static
X8D=000000 # static
X8E=000010
X8F=001A6F
X90=000000 # static
X91=000011 # static
X92=0006F0 # static
X93=0006F0 # static
X94=00000C # static
X95=000006 # static
X96=000002 # static
X97=FFFFFF # static
X98=000000 # also 0xffffff
X99=FFFFFF # static
X9A=FFFFFF # static
X9B=000000 # static
X9C=000000 # static
X9D=000000 # static
X9E=000000 # static
X9F=000000 # static
XA0=000003 # static
XA1=000000 # static
XA2=FFFFC0 # static
XA3=FFFF84 # static
XA4=000001 # static
XA5=000001 # static
XA6=000000 # static
XA7=000001 # static
XA8=000002 # static
XA9=000000 # static
XAA=000001 # static
XAB=000001 # static
XAC=007F3C # static
XAD=007F4E # static
XAE=007F58 # static
XAF=0000FF # static
XB0=0003E8 # static (1000)
XB1=0000FF # static
XB2=000000 # static
XB3=00016E # static
XB4=0005B5 # static
XB5=000708 # static
XB6=0003DF # static
XB7=0003E5 # static
XB8=0003F8 # static
XB9=001F40 # static (8000)
XBA=00015E # static
XBB=000000 # static
XBC=000A87 # static
XBD=000B9B # static
XBE=001D4C # static (7500)
XBF=000000 # static
XC0=004100 # static
XC1=0078E0
XC2=000095
XC3=000000 # static
XC4=000056 # floats around here
XC5=000054 # floats around here
XC6=00012F
XC7=00012A # static
XC8=00016D # static
XC9=001080 # static
XCA=007F00 # static
XCB=FFFD00 # static
XCC=007E00 # static
XCD=00110C # static
XCE=003348 # static
XCF=002730 # static
XD0=000384 # static
XD1=00293B # static
XD2=0029EB # static
XD3=0001FF # static
XD4=003262 # static
XD5=00FFFF # static
XD6=0332D4 # static
XD7=015180 # static
XD8=001F36 # static
XD9=014244 # static
XDA=000001 # static
XDB=000001 # static
XDC=000000 # static
XDD=000000 # static
XDE=000000 # static
XDF=989680 # static
XE0=FFFFFF # static
XE1=F3A27C # static
XE2=F3A27C # static
XE3=000AFA # static
XE4=000000 # static
XE5=000AF8 # static
XE6=000000 # static
XE7=73FAEE # static
XE8=CCBBAA # static
XE9=050002 # static
XEA=050013 # static
XEB=050013 # static
XEC=050013 # static
XED=050013 # static
XEE=050013 # static
XEF=050013 # static
XF0=050013 # static
XF1=050013 # static
XF2=050013 # static
XF3=050013 # static
XF4=050013 # static
XF5=050013 # static
XF6=050013 # static
XF7=050013 # static
XF8=050013 # static
XF9=050013 # static
XFA=050013 # static
XFB=050013 # static
XFC=050013 # static
XFD=050013 # static
XFE=050013 # static
XFF=050013 # static

Synonyms

Showing 1 related property.

E