hardware:channels:meters:power:swissnox_s-watt
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| hardware:channels:meters:power:swissnox_s-watt [2011/06/15 14:39] – r00t | hardware:channels:meters:power:swissnox_s-watt [2018/03/25 11:08] (aktuell) – alte Version wiederhergestellt (2013/02/10 13:15) jau | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ==== Swissnox S-Watt ==== | + | ====== Swissnox S-Watt ====== |
| - | {{: | + | |
| - | === opening | + | The Swissnox S-Watt is a cheap S0-Impulse energy meter. Its available on eBay and Amazon for around 18 €. |
| - | the two halves of the case are held together by the (snapped on) covers at the terminals, and slighty glued at the bottom. | + | |
| - | jam a large scredriver | + | {{: |
| + | |||
| + | ===== Modification to get a high pulse-rate output ===== | ||
| + | By doing a few easy steps, you can change your S0 Output to a very high frequency output. | ||
| + | |||
| + | See schematic below. Black wires are already there. Grey wires are also there but only for layout purposes. The red wire shows, where u have to work. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | It's very easy to do. Just lift one pin of the Optocoupler and connect it to a via as shown in the picture. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | And you're done! | ||
| + | |||
| + | ==== Result ==== | ||
| + | Signal output with a 2,7k pull-down and 9V battery on S0 Output. | ||
| + | |||
| + | **One Peak:** | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | **40W Bulb** | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | **2000W Hair dryer** | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Calibration ==== | ||
| + | |||
| + | Calibration can be done very easy when you read out the eeprom. | ||
| + | |||
| + | The value on 0x03 multiplied by 2000 is the High Speed imp/kWh. | ||
| + | |||
| + | In the case of the first Swissnox above: 0xCF * 2000 = 410.000 imp/kWh | ||
| + | |||
| + | I verified this, by counting the 7755 pulses between the pulses of the normal S0 output. They are exactly the value 0x03 of the eeprom! | ||
| + | |||
| + | Note that 410.000 imp/kWh are not set in stone. After modifying 16 S-Watts and recalibrating them using actual measurement rather than reading the EEPROM, I found that mine are now between 242 and 256 times faster than before (that would be between 484.000 and 512.000 imp/kWh). Every S-Watt will behave differently after the modification and every one needs to be calibrated. | ||
| + | |||
| + | == Impulse Width == | ||
| + | |||
| + | The width (duration) of an impulse drops from 70-90ms to 0.5ms after the modification. Depending on what counter you use and how many S-Watts you like to keep track of, it could be easy to miss a few pulses, so it is important to keep this in mind. | ||
| + | |||
| + | It is also likely that with currents greater than 13 amperes (roughly 3000 Watts), the impulse width might decrease even further. Assuming we have an S-Watt measuring 10.000 Watts (it is certified up to 50 amperes = 11.500 Watts) and it produces 500.000 imp/kWh, we'd have 500.000 impulses every 6 minutes, or (roughly) 100.000 imp/min, or ~1400 imp/s. It is unknown to me how the S-Watt would handle such high impulse frequencies. | ||
| + | ==== ToDo ==== | ||
| + | * < | ||
| + | * Process these impulses to use them with vz (i am working on that) -> Will be done by [[software: | ||
| + | |||
| + | ===== Internals ===== | ||
| + | ==== Opening ==== | ||
| + | The two halves of the case are held together by the (snapped on) covers at the terminals, and slighty glued at the bottom. | ||
| + | Jam a large screwdriver | ||
| then gently pry apart the side covers from the display side, until the glue breaks. | then gently pry apart the side covers from the display side, until the glue breaks. | ||
| - | === Energy Metering IC === | + | ==== Energy Metering IC ==== |
| - | chip is labeled "ate7755", but google turns up nothing for that. | + | The chip is labeled "ATE7755", but google turns up nothing for that. |
| - | it appears that it's a clone of the analog devices ADE7755. | + | It appears that it's a clone of the analog devices ADE7755. |
| " | " | ||
| Zeile 15: | Zeile 70: | ||
| {{: | {{: | ||
| - | curiously, the only connection between the ATE7755 and the controller is the 7755's " | + | Curiously, the only connection between the ATE7755 and the controller is the 7755's " |
| > Calibration Frequency Logic Output. The CF logic output gives instantaneous active power information. | > Calibration Frequency Logic Output. The CF logic output gives instantaneous active power information. | ||
| > This output is intended to be used for calibration purposes. Also, see the SCF pin description. | > This output is intended to be used for calibration purposes. Also, see the SCF pin description. | ||
| - | the normal pulse output pins (F1 and F2) are not connected. | + | The normal pulse output pins (F1 and F2) are not connected. |
| - | some measurements of the signal (kd302 used as reference): | + | Some measurements of the signal (kd302 used as reference): |
| {{: | {{: | ||
| Zeile 28: | Zeile 83: | ||
| {{: | {{: | ||
| - | | power (approx.) | + | ^ power (approx.) |
| | 37w | 220ms | | | 37w | 220ms | | ||
| | 800w | 11ms | | | 800w | 11ms | | ||
| | 1760w | 5ms | | | 1760w | 5ms | | ||
| - | that just leaves the question of how calibration is handled... | + | That just leaves the question of how calibration is handled. |
| - | === controller | + | ==== Controller ==== |
| * 4-bit OTP controller: http:// | * 4-bit OTP controller: http:// | ||
| - | === eeprom | + | ==== EEPROM ==== |
| {{: | {{: | ||
| + | |||
| < | < | ||
| I2C>W | I2C>W | ||
| Zeile 56: | Zeile 112: | ||
| READ: ... | READ: ... | ||
| </ | </ | ||
| - | (when the large capacitor(? | ||
| - | this is from a device that's still at 0.00kWh: | + | (When the large capacitor(? |
| + | |||
| + | This is from a device that's still at 0.00kWh: | ||
| < | < | ||
| 00: 0x00 0xFF 0x00 0xCF 0xFF 0xFF 0xFF 0xFF | 00: 0x00 0xFF 0x00 0xCF 0xFF 0xFF 0xFF 0xFF | ||
| Zeile 70: | Zeile 127: | ||
| </ | </ | ||
| - | this is the device used for the CF measurements above, counter at 0.07kWh: | + | This is the device used for the CF measurements above, counter at 0.07kWh: |
| < | < | ||
| 00: 0x00 0xFF 0x00 0xCD 0xFF 0xFF 0xFF 0xFF | 00: 0x00 0xFF 0x00 0xCD 0xFF 0xFF 0xFF 0xFF | ||
| Zeile 82: | Zeile 139: | ||
| </ | </ | ||
| - | so the second line must be the counter value, with unused places left at 0xFF. | + | So the second line must be the counter value, with unused places left at 0xFF. |
| + | The first line (only difference between the two) must be the calibration value? | ||
| - | the first line (only difference between the two) must be the calibration value? | + | ==== Connectors ==== |
| - | + | === J2 === | |
| - | === connectors | + | |
| - | == J2 == | + | |
| power, calibration, | power, calibration, | ||
| + | |||
| + | ^ pin ^ description ^ | ||
| |1 (at " | |1 (at " | ||
| |2|i2c SCL (eeprom)| | |2|i2c SCL (eeprom)| | ||
| Zeile 96: | Zeile 154: | ||
| |6|GND| | |6|GND| | ||
| - | ---- | + | ===== PCB Revisions |
| - | this section by Mode | + | |
| - | + | ||
| - | === Modification to get a high pulse-rate output | + | |
| - | By doing a few easy steps, you can change your S0 Output to a very high frequency output. | + | |
| - | + | ||
| - | See schematic below. Black wires are already there. Grey wires are also there but only for layout purposes. The red wire shows, where u have to work. | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | It's very easy to do. Just lift one pin of the Optocoupler and connect it to a via as shown in the picture. | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | And you're done! | + | |
| - | + | ||
| - | == Result | + | |
| - | Signal output with a 2,7k pull-down and 9V battery on S0 Output. | + | |
| - | + | ||
| - | **One Peak:** | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | + | ||
| - | **40W Bulb** | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | + | ||
| - | **2000W Hair dryer** | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ToDo: | + | |
| - | * Calibrate | + | |
| - | * Process these impulses to use them with vz (i am working on that) | + | |
| - | + | ||
| - | ---- | + | |
| - | either | + | Either |
| - | also, a not connected pin on the controller is misused to route a trace (red) under the controller... ew... | + | Also, a not connected pin on the controller is misused to route a trace (red) under the controller. ew... |
| {{: | {{: | ||
| + | >> I dont think there are different versions of the device because your picture shows the same circuit as determined in the shematic above. Just the routing is different. Have a closer look. | ||
| + | >>> | ||
hardware/channels/meters/power/swissnox_s-watt.1308141552.txt.gz · Zuletzt geändert: von r00t