Download Sensorless control of brushless DC electromotor

Transcript
Belgrade university – Diploma theses- Sensorless control of brushless DC motor
On the figure we can see the microcontroller connections to the circuits from previous
sections. Analog input AN2 is connected to analog signal from ITRIP circuit – take a
look at protection circuit section. Quartz crystal is connected to its corresponding pins in
order to provide oscillating frequency of 20MHz. If we use DSP or some other
microcontroller that is connected to IRADK via adapter it is most probable that it will use
its own oscillator so the structure on the picture is only for PIC16C872 pin compatible
microcontrollers. MCLR – Master clear pin is also only for PIC – when 12V is on it will
be in programming mode, when 5V is on it will be in operating mode. 5V power is
supplied to the slot as its most common power supply for microcontrollers. 3V supply is
used as A/D converter reference, when using non PIC microcontroller this voltage can be
used only for reference functions as its current capacity is very low. All other pins are
connected to input or output ports of PIC thus when using non PIC microcontroller
should be connected to its ports via adapter.
IRADK modifications, position detecting circuit connection
In order to connect position detection circuit we will need three digital inputs. Only
two are available. One of the two available digital inputs is connected to RC1 pin, which
is connected to PWM block, thus will have to be output pin thus can not be input pin.
Since LED are not very important, we will take out two diodes and put two digital input
wires in their place.
39