In the week before the December holidays we went to the on-site training provided by the Dutch office of National Instruments situated in Woerden. The training was called LabVIEW Real-Time and dived into the real-time processor and the FPGA chip of the myRIO, which I talked about in the previous blog post. Roelof-Jan (Chief Powertrain), Nicolaas and I went to this training together with two other student teams from Delft, the Human Power Team and DARE Stratos. There were also teams from Eindhoven University of Technology who are working on a robotics project.
Electrical Engineers might recognize the process of waiting for FPGA compilation to complete…
By working together with the teams from Delft, without any myRIO experience to start with, we were able to get a working system of a rotary encoder/decoder system that transfers a physical rotation remotely from one myRIO to another. The transmitting end was connected to a potentiometer. The analog signal was read and transmitted over the UDP protocol to the receiver. The receiving end was connected to a servo motor and was programmed to contain a PID controller for the servo control. Furthermore we used the on-board FPGA to play an animation on a seven-segment display.
The Virtual Instrument (usually referred to as a “VI”) that we created for the transmitting end of the remote system. VIs consist of a Front Panel (left) containing controls and indicators, and a Block Diagram (right) containing the programmed functionality of the system.
Now that we have attended these trainings, for which I would like to thank National Instruments, I am ready and more than excited to start working on the data acquisition system for NovaBike 08. The first goals will be to get CAN-communication with our battery management system and motor controller to work. This will provide us with the most interesting data, about the battery status and performance of the motorcycle. Later on during the project I will write more in depth about the CAN protocol, its uses for us and the implementation of the data acquisition system.
The PCB connected to this myRIO contains a seven-segment display, potmeter and RC-filter.