Fun, Learning, Friendship and Mutual Respect
START  HERE


Unregistered
Go Back   HeliFreak > R/C Electronics Support > YGE


YGE YGE ESC Support and Discussion


Reply
 
Thread Tools Display Modes
Old 02-01-2012, 03:39 PM   #1
heliwaz
Registered Users
 

Join Date: Mar 2011
Location: New Zealand
Default YGE 120 Phase output

Hi
Im looking at the square wave output on my scope & your right its much better than the Hyperion one (Way Less slew rate & noise). From that square wave how would i work out my Motor RPM? What would the formula be?
heliwaz is offline        Reply With Quote
Old 02-01-2012, 06:42 PM   #2
heliwaz
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Location: New Zealand
Default

Ok i was on the right track but i needed a reference.

I build a tachometer to read the head speed & it was at 2400RPM approximately.
There are two ways of working it out but either are just as accurate. Without knowing how the YGE samples the & produces its output it maybe best to use the divide by 2 option below.

The total pulse length of the YGE on the output was 868us at 2400RPM
The Low period was 432.7us
Align 115 main Gear
Align 12 tooth pinion

Divide 2 option
Take the pole count of the motor & divide by 2
Mine was 6 so that equals 3

Mrev = TotalLength * (MotorPoles/2)
Mrev = 868us * 6/2 = 2.604ms

Motor RPM = 1/(Mrev/60)
Motor RPM = 1/(2.604ms/60) = 23041.4RPM

HeadSpeed = Motor RPM/Gear Ratio or (main gear/pinion)
HeadSpeed = 23041.4/(115/12) = 2404.32RPM


You can use the low period if you like but just don't divide the poles.
The Vbar also agrees with me but If its all wrong please feel free to call me stupid haha.

Now on to making the head speed logger
heliwaz is offline        Reply With Quote
Old 05-08-2012, 04:57 PM   #3
Steve Evans
Registered Users
 

Join Date: May 2007
Location: Leighton Buzzard UK
Default

Did you make a logger?

Steve
__________________
Trex 450SEv2/HS65-MGs cyclic/Spartan Quark/DS520 tail
Trex 450ProV2 DFC/CGY750 FBL/DS410s cyclic/DS520 tail
Trex 500ESP DFC/CGY750 FBL/YGE-120LV ESC/DS510s cyclic/DS650 tail
Blackout 330/OpenPilot Revo with FatShark 600mW VTX, Futaba 8FG 2.4GHz
Steve Evans is offline        Reply With Quote
Old 05-08-2012, 11:17 PM   #4
heliwaz
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Location: New Zealand
Default

Funny you should mention it as i have started looking at it again. I have created the PC software & the PCB with the logger on it. Im able to log values Temp,RPM & graph them on the PC but im working on cleaning them up for better operation.
The PCB is a bit of a prototype that i made up. I may make a better PCB if i have time. Its just finding time to do the whole thing.

Have you made one Steve?
Attached Thumbnails
Click image for larger version

Name:	LogPCB.jpg
Views:	73
Size:	94.8 KB
ID:	315043  
heliwaz is offline        Reply With Quote
Old 05-09-2012, 01:57 AM   #5
Steve Evans
Registered Users
 

Join Date: May 2007
Location: Leighton Buzzard UK
Default

Neat! I like to see folks doing stuff like this.

Yes, see HERE. It's based on an mbed eval card with a Cortex-M3 LPC1768 processor. It logs all S.Bus channels (actually using DG1 linked to my hold switch to arm it), battery voltage, BEC output, headspeed, and ESC PWM signal. It has 4Gbytes of storage (in the form of a uSD card which I access via SPI), and a backup battery for the RTC so it can time stamp logs. I have a mini USB connector on the side of the heli to retrieve logs.

Data is currently sampled at S.Bus frame rate (130Hz) and 4G gives enough storage for many flights at about a Mbyte per minute.

Steve
__________________
Trex 450SEv2/HS65-MGs cyclic/Spartan Quark/DS520 tail
Trex 450ProV2 DFC/CGY750 FBL/DS410s cyclic/DS520 tail
Trex 500ESP DFC/CGY750 FBL/YGE-120LV ESC/DS510s cyclic/DS650 tail
Blackout 330/OpenPilot Revo with FatShark 600mW VTX, Futaba 8FG 2.4GHz
Steve Evans is offline        Reply With Quote
Old 05-09-2012, 06:20 AM   #6
heliwaz
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Location: New Zealand
Default

That looks like a powerful module/processor on board. I had thought about also logging current & pitch but maybe later. Good job creating it. Its a fair bit more advanced than mine. At a Megabyte a minute that's definitely on call for USB. Im not logging that much data. Do you use C++ to program it, what is the programming software?
heliwaz is offline        Reply With Quote
Reply




Unregistered
Go Back   HeliFreak > R/C Electronics Support > YGE


YGE YGE ESC Support and Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Copyright © 2004-2015 by RCGroups.com, LLC except where otherwise indicated. The HeliFreak.com logo is a trademark of RCGroups.com, LLC.