Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: 1 [2]
Author Topic: Arduino
Mr.What
Administrator
Posts: 197
Permalink
Post Neat small H-Bridge uses one Arduino digitai I/O pin
on: June 16, 2012, 06:43
Quote

http://letsmakerobots.com/node/30202

Uses tri-state capability of Arduino digital I/O pins to build a 1-pin H-Bridge controller.

Cannot use standard PWM. To PWM this, you need to switch between
input and output mode on the pin. High is for foward. Low for reverse.

Mr.What
Administrator
Posts: 197
Permalink
Post AVR based 3-phase motor controller
on: June 16, 2012, 07:01
Quote

Application notes on using an smaller (AVR168 or lower) AVR to control a 3-phase BLDC motor, sensorless.

http://quelab.net/wordpress/wp-content/uploads/2012/06/SensorlessControl3phaseMotor_AVR.pdf

These are the high-efficiency motors used on model airplanes. This is step 1 toward my dream of building a quadrotor capable of lifting a payload.

Unfortunately, the above is propriatary software. There is an open-soure BLDC project,

git clone git://github.com/esden/open-bldc-mk.git

to download it.

Mr.What
Administrator
Posts: 197
Permalink
Post Sensorless BLDC Motor control
on: June 19, 2012, 07:53
Quote

I have been reading up on BLDC motor control, and am wondering if a novel approach might be more simple, and require a few less parts. Almost all solutions I see involve PWM. The PWM throws up a ton of noise and makes sensing the zero crossings tricky. It seems to me like I could use a single pulse, of short duration on each commutation step. This would reduce noise, and at lower duty cycles (where sensing the back EMF is trickiest) there would be a "quiet" period in which we could estimate zero crossing times.

The main idea is to drive the motor from open-loop style timings, but asycnronously monitor and update these open-loop timings. Estimations of zero crossing times and frequency would get updated, and used to tune FUTURE commutation steps. Control would always be one commutation step behind, but can be predictive and use some more complicated math, like least-squares fits to estimate zero-crossing times.

I wonder if most solutions out there are inspired as digitizations of traditional analog designs, instead of re-thinking the problem in a more digital manner given the availability of cheap, fast microcontrollers.

Mr.What
Administrator
Posts: 197
Permalink
Post Fast tri-state switching
on: July 26, 2012, 14:54
Quote

Is there any reason why I could not switch an AVR digital I/O from input to output at a couple of KHz or so? I might want to have these pins in a high impedance (tri-state "disconnected" like) mode during the motor commutation cycle.

Mr.What
Administrator
Posts: 197
Permalink
Post Note on Votage dividing LPF
on: August 6, 2012, 16:57
Quote

To do the "sensorless" BLDC driver, I need to sense motor back EMF at voltage ranges outside of the Arduino inputs.
I also need to LPF this signal, since it will contain switching noise.
I needed to recall how to solve RC circuits, the following link covers what I needed to recall to get the specs for the voltage dividing LPF.
http://boim.com/misc/LPFVoltageDivider.html

Pages: 1 [2]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.02 seconds.

 

Comments are closed.