Skip to content

nikitapn/npsystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npsystem

A DCS system built around 8-bit AVR micro controller.

Key Features

  • Multi master protocol loosely based on P-NET
  • Control units can be uploaded on the fly
  • Modify and see propagation of the signal on the running algorithms
  • Signal quality bit propagation
  • Each micro contoller is an independet unit which can send requests to other devices on the network
  • Logic can be tested on virtual controlles
  • Controllers supports integration with custom modules via I2C and memory addresses mapping

Dependencies on Windows

Pictures

How it looks Structural Diagram

TODO

  • A proper compiler based on LLVM, maybe? With a support for ST language and quality bit propagation.
  • Probably need to remove bit values. It's hard to deal with.
  • Sort dependencies and load all algorithm at once.
  • Add more tests.
  • Add another more powerfull MC, maybe SBP based on Linux (probably a driver will be required for the protocol).
  • Add more FBD blocks (structured text block, etc...).
  • Add SFC language support

References

  1. MAX3082 Transcievers [PDF]
  2. Detection of RS-485 signal loss [PDF]
  3. P-NET [PDF]