Hi everybody,
Thanks to John and Andy for the discussion on Saturday, I thought it
was valuable and productive :)
Here are some ideas of mine, to think about and share and discuss.
Maybe the ASRI guys don't agree, but you know, we'll talk about it :)
- Most of the peripheral hardware devices on AUSROC2.5 such as the
chamber pressure transducer, temperature sensor on the LOX valve
maybe, pressure transducer on the He/Tridyne pressurant system, engine
valve controller, etc, will be modules that talk to the CAN bus, and
they will be all based on an identical microcontroller, probably the
Atmel AT90CAN128 AVR microcontroller with integral CAN interface. This
is the same microcontroller used on those Olimex development boards.
- The AT90CAN128-16AU costs $11.07 USD in single quantities from
Digi-Key, which is about what you'd expect. It's not abnormally
expensive.
- All of these modules will share a common connector and pinout for
that connector and a standard specification in terms of what voltage
rail or rails they need to be supplied with and on what pin on the
interface connector that voltage rail(s) is supplied, and what pins on
that interface connector are used for the CAN-H/CAN-L differential
pair.
- The different modules will share the same AT90CAN128
microcontroller, and the same CAN interface connector, and the same
power supply pinout, and the same ISP and JTAG headers (note that this
chip has a JTAG interface) but each board will include the specific
hardware attached to the microcontroller to do the specific job that
it has to do - for example an instrumentation amplifier for a strain
gauge, or a fast external ADC connected to a pressure transducer plus
appropriate power supply wiring or an appropriate amplifier for that
specific pressure transducer, or power FETs to fire pyros, or a GPS
receiver module or whatever it is for that particular module, designed
and engineered to do the job that it's specifically intended to do, in
the smallest, cheapest, most compact system, without sacrificing
reliable performance.
- Each module will include a Microchip MCP2551 CAN transceiver between
the CAN interface on the microcontroller and the CAN bus differential
pair. This is the same chip as used on the Olimex AT90CAN128
development boards between the microcontroller and the CAN bus, and
it's also the same chip used on the boards I designed to control the
Rutex boards, which on those boards sits between the MCP2515 CAN
controller (which is not integrated inside the main ATmega328
microcontroller, unlike the AT90CAN128 boards) and the CAN bus.
- Standard ISP header and JTAG header and TTL UART header (to suit
FTDI cable) with consistent standard pinouts on every hardware unit.
- Maybe if the specific hardware for a particular module doesn't use
up all the microcontroller pins then maybe every microcontroller
module might have a micro-SD card on board with the microcontroller,
since they're small and lightweight and inexpensive? That way there is
a lot of distributed, redundant "black box" memory for every little
instrument throughout the vehicle which could be useful in case of
catastrophic failure of the vehicle.
- This standard specification for the interface mean that different
people and teams and universities across the country might design and
build different avionics modules and they can be shared and swapped
between different groups and they just plug together using the same
cables and connectors and test interfaces and programming connectors
and all that sort of thing, making collaboration much easier.
(I'm talking exclusively in terms of hardware here although of course
the same sort of philosophy applies to software as well).
- One of the modules we might want to design and build is a
computer-to-CAN interface, consisting of an AT90CAN128 microcontroller
plus a USB socket and USB-to-TTL-UART chipset, so you can just easily
plug it into USB and have an interface to send and receive traffic
from the other CAN modules for testing and development and
experimentation.
Also, you might find this to be interesting and well worth reading.
Bdale Garbee was involved significantly with the team of AMSAT people
who developed/develop this:
http://can-do.moraco.info/Default.htm
:)
Cheers,
Luke