Follow up! – Intro to the MAXREFDES89, Brushed DC Quad Motor Controller mBed Shield

Maxrefdes89

Here’s a follow up to our post “Intro to the MAXREFDES89, Brushed DC Quad Motor Controller mBed Shield” – the engineer who worked on it dropped in with some more info!


Thank you for getting back to me. I would like to start off by saying a huge thank you to you and your team for the work you do. Companies like Adafruit and Parallax made a big impact on me while in school and I really appreciate your efforts. With regards to MAXREFDES89#, I would like to point out some features of the shield that may not be apparent at first and if you have any questions please let me know – Justin.

Flexibility of the shield
The design allows the user to evaluate the 3 different methods of current regulation offered by the MAX14871. Adding this flexibility did complicate the design a little, however I did abstract the user from this complication as best as possible by developing an mbed library that allows the user to interface with the shield using ‘set’ and ‘get’ functions relative to the operation of the MAX14871, not the configuration of the additional hardware that was needed to offer this flexibility. The library can be found at the following link.

https://developer.mbed.org/teams/Maxim-Integrated/code/MAX14871_Shield/

In an actual application that has a pre-determined mode of current regulation selected, all of the silicon other than the MAX14871 could be replaced by pin-strapping the appropriate pins to their appropriate potentials for the mode.

Current regulation vs. Fault current
I would like to clarify the difference between the ‘fault’ current and the ‘regulation’ current. The ‘fault’ current is a fixed value of 6A typical and is not configurable by the user. This information is documented on page 10 of the MAX14871 datasheet along with the effects an over current condition has on the /FAULT pin.

The regulation current, Ilim, is used to set the current at which the integrated current regulation circuit will take control of the motor terminals. The current regulation is useful during start-up and transients, because the power supply sourcing the motor will not need to provide the additional energy required during those events, which to my knowledge could be 10-15 times the nominal running current of the motor at start-up by rule of thumb. We recommend the use of 25% ripple mode and I have documented the different modes at the following link with data.

https://www.maximintegrated.com/en/design/reference-design-center/system-board/6219.html/tb_tab1

When I first looked at the MAX14871, I struggled with the subtle difference between the modes of regulation, and the fault current, so I thought it was worth mentioning.

Power Supply
You can power your platform directly from the shield, there is no need for a USB tether, or an additional power supply for the platform in application. The MAX17501 regulates the P1 supply and provides ~6V at 500mA to Vin pin of the platform being used for revA of the shield which was targeted for mbed platforms.

After revA was released, I continued testing on Arduino platforms which appear to have a larger inrush current at Vin than the mbed platforms I tested on. This caused the MAX17501 to enter hic-up mode and the system wouldn’t come up when powered from the shield. I addressed this by increasing the soft-start cap, C4, to 0.1uF (over iteration of smaller values) which results in a soft-start time of ~20ms. Rev B will have this BOM change along with increasing Vin min at P1 to 8V and the output of the MAX17501 to 7V to comply with the recommended Vin of Arduino platforms. The BOM changes required to achieve this performance are provided in table 1.

Adafruit 0920
Table 1: BOM Changes for MAX17501

PWM Signals
There is a situation where if the micro is held in reset and the MAX7300 IO expander remains powered, the motor driver will remain enabled while the PWM signals are floating because the micro is in reset, and I forgot to add pull-downs to them. Rev B will include these pull downs.

Users can modify revA as shown in Figure 1 with the pull-downs. The recommended mod is down stream of the configuration resistors for selecting which GPIO you would like to use. The default GPIO used for PWM and their alternates are documented at the previous link.

Adafruit 0919
Figure 1: Pull-downs added to PWM signals.


Halloween season is here!
Halloween season is here! Check out all the posts, gift guides, and more!

Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NEW PRODUCT – Adafruit RP2350 22-pin FPC HSTX to DVI Adapter for HDMI Displays

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Adafruit Grand Opening, Profile MicroPython Memory and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi — Classic editor

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — Garden Lights, Bluetooth 6.0, and more!

Maker Business – Adafruit Daily — A look at Boeing’s supply chain and manufacturing process

Electronics – Adafruit Daily — When do I use X10?

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.