IRNAS / KORUZA-driver-specification

Specification and later documentation for KORUZA open source open hardware driver
Other
0 stars 1 forks source link

Current measurement #5

Closed VojislavM closed 8 years ago

VojislavM commented 8 years ago

This is a good feature that will help in Koruza-driver work, especially if motors get stuck. It gives the system feedback.

VojislavM commented 8 years ago

Current measurement should be reported internally, and all error states should be fixed inside of MCU. Also, MCU can report current error states to the main CPU because of debugging and data-logging.

For now, when there is a problem with current (overcurrent) MCU should restart. This restart can be from outside (reset pin) or inside (software reset). Currently there is no need for outside reset.

VojislavM commented 8 years ago

Koruza driver does this internally. Every several ms interrupt checks the analog value which represents the value of the current. If the current is over the limit, driver resets itself thru software.