Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

control speed of motor

Status
Not open for further replies.

amiraa

Newbie level 5
Joined
Dec 18, 2010
Messages
9
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,331
hi
I have a problem
I make a schema in proteus for control speed of motor
but I make a schema with pulse generator
I will be chenge by motor encoder
 

From your question, you want to control the speed of the motor using a pulse generator, is that right ?
Change the pulse width (or the duty cycle) to change the speed of the motor.
 

Hi,
It's not clear what you want. Please clarify that, and you will get more help.

Tahmid.
 

thanks tahmid
I need to mesear speed of a motor by encoder and display with LCD
and control by PID
all this by mikroc
 

MikroC is an Editor that used to write C code for microcontrollers like PIC i think ..

do you want to use PIC or PID >?
 

1. What motor do u want to use ? DC motor or 3-phase motor or 1-phase motor, or BLCD motor, or step motor.... ?
2. What type of PIC microcontroller do u want to use ? 8 bit, 16 bit or 32 bit ?
3. Do you know anything about PID algorithm ? Do you know how is digital PID, how to convert analog PID to digital PID, how to identify parametter of motor ? How to give parametter of PID controller (Kp, Ti, Td)...

You should give a detail question, you'll give a detail answer !

Best regard !
 

hi every body
i have the same problem ,i am working at a project using pic
i want to measure the speed of a motor by an optical-encoder using pic and display the speed by LCD
the circuit like this :
motor with an optical-encoder+pic +LCD for displaying
i am also programing with mikroc
any one know how to do that please helpe :?:
 

82f98d1a421.gif


consider that your optical encoder like that shown in image
and you will count nnumber of revolutions

then you IR source and IR sensor
like that in old mouses computer

IR sensor is connected as input to the pic
you count how many times pulses happen in every revolution if it has 16 pulses like that in image to make complete revolution
then 1 revolution == 16 pulses

then in next step you need to relate this with time

you will activate timer that start at the begining of the first pulse count for minute and when minute is counted as the pulses are read
then interrupt will stop counting and the speed is displayed
you may make it per second to make it better

i hope this is useful
 

thanks mahmoud
i knew how the motor work but the problème in the programme
I realy don't know how the timer worked with
if you knew how the timer progamme helpeeeeeeeeee me please
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top