Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 30th November 2007, 08:57 AM   (permalink)
Default How to program microcontroller for soft start three phase induction motor.

Hi,

I am planning to start building a soft starter by using microcontroller which can be used on a three phase induction motor. I have built one in analog circuit.

The microcontroller is used to generate increasing gate pulse synchronized with the input which used to trigger the thyristor, the input to the microcontroller is the three phase power supply.

I have no idea on any microcontroller. What kind of microcontroller is suitable for this project and how should I program the microcontroller? Any useful material or website have tutorial on this topic?

Any sample code available for used at this project?

Thanks for your help in advance.

Last edited by doinfinity; 30th November 2007 at 09:03 AM.
doinfinity is offline   Reply With Quote
Old 30th November 2007, 02:51 PM   (permalink)
Default

Microchip.com lists 13 application notes for motor control of induction motors. Four of the notes are specifically for 3-phase motors.
bobledoux is offline   Reply With Quote
Old 30th November 2007, 03:42 PM   (permalink)
Default

The picture showed below is single phase control circuit and power circuit. How should I start by using a microcontroller to function as same as the control circuit within the red line? The control circuit is used as firing circuit to drive the inversely parallel connected thyristors in the power circuit.
doinfinity is offline   Reply With Quote
Old 30th November 2007, 04:05 PM   (permalink)
Default

As a previous post said, have you looked at the Microchip app notes?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 30th November 2007, 04:14 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
As a previous post said, have you looked at the Microchip app notes?
Ya, I have take a look at Microchip application notes about induction motor. It does recommend some microcontroller which suitable for induction motor control. As I have no any knowledge on programming the microcontroller, i don't really clear on how to start program and what should i notice when programming.
doinfinity is offline   Reply With Quote
Old 30th November 2007, 05:12 PM   (permalink)
Default

It's not a trivial project, you'll need to spend some time and learn programming. Lighting an LED is a good start, so is using the free simulator that's part of the free MPLAB IDE.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 30th November 2007, 05:15 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
It's not a trivial project, you'll need to spend some time and learn programming. Lighting an LED is a good start, so is using the free simulator that's part of the free MPLAB IDE.
hi blueroomelectronics,

Ya, i am now start learning to program microcontroller by simulation. I am trying to program PIC16F84 to light an LED. Does the MPLAB IDE can simulate the LED turn on?
doinfinity is offline   Reply With Quote
Old 30th November 2007, 05:17 PM   (permalink)
Default

No it's a software sim, but you can watch the pin(s) using a watch window.
PS don't bother with the 16F84 it's an antique. The 16F628A is the modern replacement.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 30th November 2007, 05:20 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
No it's a software sim, but you can watch the pin(s) using a watch window.
PS don't bother with the 16F84 it's an antique. The 16F628A is the modern replacement.
Thank you for your help.

But I wonder is there any tutorial file teach how to use MPLAB IDE to do the sim? As I am first time using this software, i know how to write the code, but don't know what is the next step.
doinfinity is offline   Reply With Quote
Old 30th November 2007, 05:22 PM   (permalink)
Default

Post your code, let me see what I can come up with.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 30th November 2007, 05:26 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Post your code, let me see what I can come up with.
Hi blueroomelectronics, below is how the code looks like:

;*****Set up the Constants****

STATUS equ 03h ;Address of the STATUS register
TRISA equ 85h ;Address of the tristate register for port A
PORTA equ 05h ;Address of Port A
COUNT1 equ 08h ;First counter for our delay loops


;****Set up the port****

bsf STATUS,5 ;Switch to Bank 1
movlw 00h ;Set the Port A pins
movwf TRISA ;to output.
bcf STATUS,5 ;Switch back to Bank 0

;****Turn the LED on****

Start movlw 02h ;Turn the LED on by first putting
movwf PORTA ;it into the w register and then ;on the port

;****End of the program****

end
doinfinity is offline   Reply With Quote
Old 30th November 2007, 05:31 PM   (permalink)
Default

I've got to run for lunch but will edit and repost later today.
Hint use a list & include at the beginning...
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 30th November 2007, 09:51 PM   (permalink)
Default

I've changed the code and the PIC somewhat, but here's a screenshot of MPLABs Simulator
Attached Images
File Type: png SIM.png (45.8 KB, 16 views)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 1st December 2007, 05:09 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
I've changed the code and the PIC somewhat, but here's a screenshot of MPLABs Simulator
Thank you. I will try to do it in MPLAB IDE. As I am new to microcontroller and now just starting to learn how to program, am I able to learn the technique and complete my project for the soft start induction motor within 1 week? As this is the period for me to finish it.
doinfinity is offline   Reply With Quote
Old 1st December 2007, 02:40 PM   (permalink)
Default

Can Motorola M68HC11 used as firing circuit to control the phase angle of thyristor for soft start purpose?
doinfinity is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Motor microcontroller NoamL Robotics Chat 3 24th November 2003 03:47 PM
converting 3 phase motor to single phase norberto fines Electronic Projects Design/Ideas/Reviews 6 2nd September 2003 10:20 PM
Speed control for a 3 phase motor? ed sparks General Electronics Chat 1 2nd May 2003 04:22 AM
How Do I change the direction of an AC single phase motor? eqbilly Electronic Projects Design/Ideas/Reviews 5 28th April 2003 08:09 PM
Motor run caps Prof.Insane General Electronics Chat 9 29th March 2003 06:35 PM



All times are GMT. The time now is 04:38 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.