 This topic has 3 replies, 3 voices, and was last updated 12 years, 2 months ago by .
Viewing 4 posts  1 through 4 (of 4 total)
Viewing 4 posts  1 through 4 (of 4 total)
 You must be logged in to reply to this topic.

Microcontroller › AVR › atmega32
HI, everybody…I am on a project in which the phase correct pwm generated by the microcontroller is fed to the motor diver circuit consisting MOSFETs as switching device. I am using GYROSCOPE as a sensor, which is providing me with rate of change of angle. Now how do i convert this rate of change of angle to simple angles? Once it is converted to angles, I want the controller to change the dutycycle of the pwm according to the angle (angle directly proportional to dutycycle)…If anybody can help me, you are most welcome…
Awaitng reply,
Soumik Ghosh
hey friend,
if u have any type of link or information about the Gyroscope so plz sent me.
B’coz i can’t understand the operation & functionality of Gyroscope.
so, Plz help me out of this
Dear Soumik,
First tell me which gyroscope are u using? Dual axis or Three axis.
Do You/your program/Circuit have any facility that you can see the angle change?
Answer me first and i’ll give you further idea that will really work.
ok
Hi,
Thanx for replying. Well I am using a dual axis gyro (pitch rate and yaw rate). I am interested in pitch rate which I want to convert in simple degrees. I can do that by integrating the the rate of change of angles from a reference angle(say 0 degrees) and then multiplying it with the total time required to reach that angle (by getting the numbr of cycles of the counter). But the only problem is that this integrated value of rate of change of angles drift a lot…
What do I do? And my application is ‘SEGWAY’…. Please help me in coding if possible…
Thanks.