Ticket #1023 (new)

Opened 7 years ago

Last modified 7 years ago

Node telemetry and telecontrol circuit with MSP430

Reported by: Musti Owned by: Musti
Priority: critical Milestone:
Component: telemetry Version:
Keywords: Cc:
Related nodes: Realization state:
Blocking: 893 Effort: normal
Blocked by: 1050 Security sensitive: no

Description (last modified by Musti) (diff)

A robust node telemetry and telecontrol circuit is required for monitoring supply voltage, current, temperature and other parameters on backbone nodes/exchanges, with addition of remote reset and hardware watchdog.

To resolve this, the goal is to construct a microcontroller circuit that serially connects with the router and interfaces all required sensors.

The following functionalities are required:

  • measure supply voltage
  • measure battery voltage
  • measure router voltage
  • measure supply current
  • support ds18b20 digital thermometers
  • reset the suply voltage
  • hardware watchdog
  • support backup battery supply
  • UART support to communicate with router
  • I2C support to communicate with peripherals

The circuit should use:

  • TI MSP430 microcontrollers (very cheap development board available TI Launchpad 3-4EUR)
  • DS18B20 1-wire temperature sensors

This circuit is required before 1.april.


MSP430_Part_Number_Decoder_2011.png (23.4 KB) - added by valentt 7 years ago.
NodeTelemetry.pdf (82.5 KB) - added by Musti 7 years ago.
NodeTelemetry.2.pdf (155.8 KB) - added by Musti 7 years ago.
New version of circuit diagram
nodemonitorTop.png (40.0 KB) - added by Musti 7 years ago.
nodemonitorBottom.png (76.0 KB) - added by Musti 7 years ago.
NodeTelemetryBetaFinal.pdf (424.9 KB) - added by Musti 7 years ago.

Change History

comment:1 Changed 7 years ago by Musti

  • Description modified (diff)

Changed 7 years ago by valentt

comment:2 Changed 7 years ago by valentt

So controler has to have minimal 4 analog inputs (3 for voltage and 1 for current) and 1-wire bus for 1-wire sensors, right?

Where to buy and which model of TI MSP430? I see there are lots of different board version based on TI MSP430...

comment:3 Changed 7 years ago by Musti

Analog inputs can be also on the i2c peripheral devices, I will be posting a full design shortly. Just let me know what functionality would you find useful and i will try to implement it.

This design is met to be cheap and simple, using TI MSP430 Launchpad (Farnell) development board for programing the microcontroller.

Changed 7 years ago by Musti

comment:4 Changed 7 years ago by Musti

Added a preliminary circuit schematic implementing power measurement via an I2C peripheral and a shunt resistor, and a 1-wire DS18B20 temparature sensor(no support for other 1-wire devices).

Comments desired.

comment:5 Changed 7 years ago by mitar

This could be interesting for you.

comment:6 Changed 7 years ago by domen

Wanted features:

  • programming header: GND, VCC, RST, TEST on some header
  • dip20 pads: to be able to use dip14 and dip20 chips (as on msp430g2 launchpad)
  • extension header maybe: traces and pads/header for other pins, ie. for transistor+relay, digital PIR sensor, led, switch

comment:7 Changed 7 years ago by Musti

Will include the programming header as it is on the Launchpad, tobe pin compativle so a simple ribbon cable can be used, also DIP20 pads for compatibility.

I am not too keen on putting extension headers there if tey will not have a fixed purpose as Launchpad is ment to be used for development testing and so, where as the system should be robust and finished product.

comment:8 Changed 7 years ago by Musti

I have completed the circuit diagram including the following functionalities:

  • power consumption and voltage monitoring
  • 1-wire DS18B20 temperature sensors
  • 4 channel controlled outputs 2A per channel, each router/load is placed on its own channel if possible
  • programming header
  • serial connection header for a router

I will be designing an add-on circuit for backup battery charging and monitoring.

This design stage allows the development of software in parallel with further work on hardware.

Changed 7 years ago by Musti

New version of circuit diagram

comment:9 Changed 7 years ago by valentt

I thought about this and robust hardware watchdog that would reset node if it didn't respond would probably be most important feature, but you already included it so I can't add much more than that ;)

How will hardware watchdog be implemented? How could one remotely restart node?

Changed 7 years ago by Musti

Changed 7 years ago by Musti

Changed 7 years ago by Musti

comment:10 Changed 7 years ago by Musti

The hardware watchdog will be pooling the router it is connected to, if that one stops responding it will reset it. If any of the other routers needs reset, that is the role of the router with the monitoring circuit attached. There will be an additional hardware watchdog for the monitoring circuit itself.

The FinalBeta circuit has been made and will be tested in the next week or so, documentation in the attachment, also some 3D images of it.

comment:11 Changed 7 years ago by domen

Software side: ticket:1032

comment:12 Changed 7 years ago by Musti

  • Blocking set to 893

(In #893) Due to the availability of better solutions 1-wire lightning detector as such should be depreciated and not even developed.

[AS3935 Franklin Lightning Sensor IC http://www.austriamicrosystems.com/Products/RF-Products/Lightning-Sensor/AS3935] should be used insted in conjunction with Node monitor circuit #1023

This IC is simply interfacable via I2C and is straightforward to implement, however as suitable 500kHz magnetic loop antenna should be designed. The IC datasheet can not be published here, available upon request from the manufacturer.

comment:13 Changed 7 years ago by Musti

  • Component changed from hardware to telemetry

comment:14 Changed 7 years ago by Musti

  • Blocked by set to 1050
Note: See TracTickets for help on using tickets.