Main menu:

Site search

Categories

 

May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

Using an Autostar Telescope Positioner for Tracking Aircraft: Experimentation

The project goal is to develop a video tracking system to supplement precision tracking radars at low elevation angles. The initial experiment involved an Arduino, Nootropics Video Experimenter board, and an Amani GT plus some code written in Processing.

To be honest the Meade Autostar is better suited for tracking slow moving deep space objects instead of that which is considered more “local.” At least I can only assume it to be true as likewise I have yet to have success with the unit in the former arena. However the hardware is there: two-axis motor control with positional-encoder feedback, all via UART. The problem is, however, that the hardware interface is via a UART to a controller that is well documented to have buffering issues which ultimately leads to processor hangs and motor runaway.

More problematic is that there are only a few speed settings available via the uart; FAST! slooow, stop, reverse time-travel. The video below shows attempt at putting aircraft in track via a simple PI loop. The tracker attempt to lock, overshoots the target then hangs. Subsequent attempts to bring the target back into track succeed temporarily and ultimately results in a runaway gimbal.

The next step is to open the Autostar, tap into the DC motor wiring, and provide a nice dynamic range of control speeds via the Amani GT and an H-Bridge PMOD. The UART connection will be maintained for positional encoder data.

It should be noted the control-loop bandwidth will then be limited by the Arduino/Nootripics assembly. While the video experimenter is a fantastic proof-of-concept tool, the design will eventually be migrated to an FPGA-based system where data can be collected and processed in real-time and passed to the host machine via ethernet. Moreover the control-loop itself will reside in the electronics package; the host PC will only provide a user control interface and data display.

Open Autostar picture courtesy of RobRoy.

Introducing the Amani F1:
An FPGA Shield for the Arduino

When the Amani Project first started, the intent was to introduce an FPGA shield for the Arduino. However pricing issues among other factors lead to the Amani64, a CPLD-based prototyping system. The 64 grew into the Kemani, GT, and GTX, but always the need for an FPGA platform was evident. The Amani predecessors paved the way for the F1 in that they provided valuable market studies while generating revenue to fund the project.

Happily, the Amani F1 is now in Alpha testing, the Beta test will be available to the public in relatively short order. If you would like to be part of the Alpha testing process, you are more than welcome to join, just email me to discuss the details.

Based on the EP1C3, the F1 will feature 2900 LE’s, 65 user I/O, and 7.5KB of user ram. Of course the standard Arduino, PMOD, and ASM carrier headers will be provided for additional RAM or other peripheral devices.

The Amani F1 is intended to be an entry-level FPGA development system, compatible with the Arduino. Subsequent Amani F-series boards are in the works, with more horsepower and will diverge from the traditional Arduino form factor. Stay tuned!

1MB RAM for Your Amani (and Arduino)

Now in Alpha test, the MODsram daughter board for the Amani GT and GTX.

Featuring two CY7C1049DV33 4MBIT SRAM ICs featuring parallel interfaces for transfers up to 10ns. This daughter card also features its own regulator section, as a stuffing option, but is not required. When viewing the schematic, “DNI” indicates “Do Not Install.”

Feel free to download the Eagle files, submit to your favorite PCB manufacturer, and share your results!

Using an Autostar Telescope Positioner for Tracking Aircraft

Living south of downtown San Jose gives us a fantastic and regular view of aircraft on approach. Being a radar-systems engineer my natural reaction was “I must track them.” After months of searching for an affordable gimbal/servo-based positioning system, a night of star-gazing made the solution obvious. Log onto Ebay, wait four days and my $100 Meade antenna positioner arrived, complete with integrated servos and positional encoders.

Now I should state here, due to legal reasons, I have no intention of tracking the aircraft via radio waves. Instead I would like to test a video tracking system, which would augment a radar when the target object is low enough in elevation to cause multi-path issues for the radar. The cheapest and fastest path-forward was to utilize the Video Experimenter Board from Nootropic Design.

The electronics package consists of the Nootropic shield interfaced with and Arduino. To control the telescope positioner, the electronics package must communicate with the Autostar via RS232. An Amani GT is used to bridge between the Arduino UART and a Digilent Pmod232.

The Amani is also being used to handle an issue I am having with the video shield/Arduino stopping the video tracking arbitrarily. Serving as a watchdog, the Amani looks for a heartbeat signal and resets the Arduino when loss of heartbeat is detected.

Of course this configuration is just a method of rapid prototyping, for proof-of-concept and experimentation. The VTE issue must be ironed out eventually, however to get the tracking algorithm development going the Amani-reset will serve as a patch in the short-term.

Progress thus far has involved sitting the unit in the window and observing the video tracker’s ability to resolve and track aircraft while I steer the gimbal manually. With minor code revisions to the sketch provided at Nootripic Design, I was able to develop an error vector, seen below, which will serve as the input error to the tracking loop.

Read more »

AmaniGTX Demonstration with
a 4-Digit 7-Segment Display

Below is an instructional video featuring the AmaniGTX and the MODsevseg, a 4-Digit 7-Segment display module. Now available at the Amani64 Store!

The video is an excellent primer for not only using the new AmaniGTX, but all the Amani derivatives and the Quartus II development tool.

The project source featured in the video is found here Simply unzip the project file in to the Altera project directory of choice and follow along with the video!

Update: Amani to Arduino Pin Map

The Amani pin map has been updated to include the AmaniGTX and MODsevseg. The aim is to help Amani users determine connectivity between the Arduino and their Amani products. Pin Map found here.

Use this guide when you are writing an Arduino sketch and need to know how Arduino PIN A on PORT X connects to the seated Amani Shield PIN B on the same port.

Amani in the Wild: Electronic Brick Demo Suite

A Video as presented by vhold42:











“The Amani64 is used for PWM RGB output and controlling the 8 leds. The Arduino’s SPI library is used for communicating the duty cycle and led settings to the Amani64.

A potentiometer, button, photosensor, and thermometer are the inputs to the Arduino. Kitty ( based on putty ) is used as the serial terminal on the PC side.

Arduino/breadboard mount, RGB led, red leds and patch wires are from Arduino inventor’s kit.”

More info will be presented when made available.

Quartus II Tutorial Series

A while back we provided a quick tutorial series for installing Quartus II and creating a simple LED blinker project. If you prefer more comprehensive training from the experts, Altera provides their own tutorial series embedded in the Quartus II help menus. This assumes you have already gone through the Quartus II installation process.
















The tutorial series can be brought up manually via your browser (you fill in the X’s):

C:/altera/11.XspX/quartus/common/help/tutorial/qtutorial.htm

Welcome CpE64 Students!

Welcome to majolsurf.net, the original home of the Amani64! By now your instructor has introduced you to your development platform for this semester, the Amani GTX.

The Amani GTX is a rapid-prototyping tool based on programmable-logic technology. At its core is the Altera MAXII EPM240 CPLD. As you progress through the class you will become more familiar with programmable logic, CPLD’s, and FPGA’s, and their myriad of applications.

The Amani GTX, along with its predecessors the 64 and GT, was designed to interface with the popular Arduino, , an AVR-based microcontroller platform that you will become familiar with as you progress through your studies. The Amani line was also designed to interface with the Digilent PMOD Interface Boards, application-specific I/O modules featuring Ethernet, WiFi, SC Cards, Joysticks, and more!

The Amani GTX also brings two new features to the Amani line of development tools. The first being integrated USB-based JTAG In-System Programming. The second feature includes an embedded Microchip PIC microcontroller for added functionality. With it you can create a USB-based UART to the CPLD, an embedded controller that interfaces via I2C, or something completely of your own creation.

Follow this link to pre-order your Amani GTX laboratory kit for this semester. Included in the kit is the MODsevseg, featuring a four-digit seven-segment display as well as four push-buttons for a user-interface to your Amani GTX. The kits are not yet available, so this is pre-order only.

Good luck this semester!

-Eric
www.amani64.com

Horizon Break: bitJTAG

Bring-up on the bitJTAG ISP Programmer and MCU Development Kit was successful!











Using the PicKit3 and a modified version of the USB-Blaster firmware by Satoshi of SA89A.net, (no, not the inventor of Bitcoin), the bitJTAG was programmed successfully and tested versus various Amani CPLD Shields and firmwares.












The bitJTAG can also be used as a PIC18F14K50 development kit. Get started programming USB by going through the exercises in the Low Pin Count USB Development Kit Guide with the bitJTAG development kit. Then reload the JTAG firmware and continue your Altera CPLD and FPGA development.












The bitJTAG is currently in Beta test and is available here. Design files and firmware posted very soon.