NB. This webpage is under construction. Interruptions may occur.

NEO 1.1

DC MOTOR POSITION CONTROLLER

Overview

The improved DC MOTOR CONTROL BOARD introduce new features, high performance and efficiency, all in a small package. Maybe the more important aspect is the complete Open Source licence with which we provide the entire software/hardware package. It will therefore be possible to study or edit every aspect of the controller freely.

 

While if you are still inexperienced you find the product very versatile thanks to cross-platform application that will guide you in the settings of the electronic board. To get even closer to the user, we decided to integrate the firmware inside the Arduino IDE. We have developed a dedicated library to manage the control routine that provide to the user many utilities and useful functions for the H-bridge, the inputs, the PID etc.


Technical spec

Actuator: n°1    DC Brushed Motor
Encoder: Incremental Optical Encoder
Input Current: <30 Amps
Input Voltage: 5 Volts < V supply <30 Volts
Decoder Frequency:

<80 kHz  x4 mode (default)

<210 kHz  x1 mode

Output Voltage: 5 V (encoder)
Output Current: 500 mA (encoder)
Algorithm: PID up to 10 kHz
PWM Frequency: 100Hz -> 100kHz
Dimensions: 40.0 mm x 60.0 mm

 

 

 

INTEGRATED inside Arduino IDE

 

software I/O:

  • D0/A0 -> GPIO0/AD0
  • D1/A1 -> GPIO1/AD1
  • D2/A2 -> GPIO2/AD2
  • D3 -> DECODER RESET
  • D4 -> DECODER ENABLE
  • D5 -> BRIDGE RESET
  • D6 -> BRIDGE FAULT
  • D7 -> HIGH SIDE A
  • D8 -> HIGH SIDE B
  • D9 -> LOW SIDE A
  • D10 -> LOW SIDE B
  • D11 -> STATUS LED
Download
Neo1.1 Schematics.pdf
Adobe Acrobat Document 285.6 KB
Download
Neo1.1 code FlowChart.pdf
Adobe Acrobat Document 343.4 KB

Getting started

  1. Connect the encoder to Neo ( pins: 5V, GND, A, B )
  2. Connect the target source to Neo ( pins: STEP, DIR )
  3. Connect the motor to the Neo terminals ( motor +, motor  - )
  4. Power the board
  5. Plug the usb cable to the electronic board and then connect to the computer
  6. Open the "Parameter Monitor" and chose the right COM Port
  7. Find the best parameters combination and save it to eeprom

THE BOARD IS READY TO WORK

Warnings

Neo 1.1 has low voltage detection and overheat protection built in the H-bridge driver.

Other warnings are active watchdogs in both main micro and decoder.

soft recovery  if any faults occurs or the board shuts down, then will start up with a low value parameters until the target position is reached to avoid dangerous behaviour.

overheat  the H-bridge enter in brake mode until the board cools down. You can set the temperature limit.

low voltage supply the H-bridge enter in free mode to prevent damage to the mosfets. If other fault flags occurs from the bridge, the board try to clear them.

error limit if the position error exceed the limit, the driver stops and waits for a manual recovery.

output power you can set the max output power the driver delivers.

Power

Neo 1.1 has to be powered by the supply terminals, then an internal linear regulator provide 5v-700mA to the logic section and the encoder (if the encoder logic isn't 5volt, you may need a voltage translator between).

The mosfets max voltage is about 40 volt and the H-bridge driver works properly up to 50 volt. The first device to be burst if an overvoltage peak occurs may be the linear regulator (max 35 volt). If your application need the board working at 3.3v is possible, but please contact us.

We recommend to connect an electrolytic capacitor between supply terminals ( >1000uF ).

Note:  you have to share the ground if you interface any kind of electronics device to the Neo1.1 logic header.

Input and Output

The board logic header can read the A/B quadrature signals from the encoder as feedback source and a STEP/DIR signals as target source. These pins are directly connected to the decoder micro, so be care to not provide voltages above 5.5 v or board will be damaged.

There's a micro USB port that allows to communicate to a computer. It's used to send and receive the parameters between the board and the "Parameters Monitor" application during user setup.  There are three general purpose input/output pins that are not used yet and the user can set them as the application require. They can be analog inputs as well referenced to 5v or to the AREF voltage.

Programming

The ATmega32U4 micro makes use of a customized Arduino Micro bootloader, that helps uploading the firmware from the Arduino IDE. When an hardware reset occurs the board enter in bootloader for about 16 seconds waiting for an uploading. The software reset is disabled to guarantee safe operations, so you need to connect the reset pad to ground ( using a spare wire ).

We have written the "RetroAction" library in order to be used inside the Arduino IDE.  In the link below you can download the hardware folder that integrate all examples, pin mapping, libraries necessary to the IDE.

Instructions: Download and unzip the folder inside /arduino_folder_Dir/arduino-x.x.x-x/hardware/freaKontrol. Enjoy!

Download
freaKontrol.zip
Compressed Archive in ZIP Format 4.7 MB

Firmware ___ ver. 1.0a ___ 15/nov/2015

Below you can download a folder containing the updated board firmware ( .hex file ) and the source code. To upload the firmware you can open the Neo 1.1 Monitor, select the proper serial port, click on "Update Firmware" button in the setup window, select the .hex file on your computer and manually reset the board. The programmer should do the rest.

Download
Neo 1.1 Firmware.zip
Compressed Archive in ZIP Format 15.5 KB

Parameters Monitor ___ ver. 1.0a ___ 15/nov/2015

windows

Download
win64.zip
Compressed Archive in ZIP Format 49.5 MB
Download
win32.zip
Compressed Archive in ZIP Format 49.4 MB

mac os x

Will be compiled soon

linux

Will be compiled soon.


How to get one

Since we are students, we can't sell the electronic boards as a commercial product due to no time and money, but we want to share this project with you! So after sending us an email with the request details, we'll confirm you the production and components costs (understood as cost refund) plus the shipping costs. We suggest Paypal as paying method. If you experience any problems or have any doubt you can count on our support!


Issues

If you experienced any issue, bug or malfunction, you can describe it below and we'll solve it as soon as possible. If you need private support contact us with the contact form.

Hardware

Write a comment

Comments: 0

Firmware

Write a comment

Comments: 0

Pc app

Write a comment

Comments: 0