Fun, Learning, Friendship and Mutual Respect START  HERE


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


YGE YGE ESC Support and Discussion


Reply
 
LinkBack Thread Tools Display Modes
Old 02-01-2012, 03:39 PM   #1 (permalink)
Registered Users
 

Join Date: Mar 2011
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 Quick reply to this message
Sponsored Links
Advertisement
 
Old 02-01-2012, 06:42 PM   #2 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
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 Quick reply to this message
Old 05-08-2012, 04:57 PM   #3 (permalink)
Registered Users
 

Join Date: May 2007
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 Quick reply to this message
Old 05-08-2012, 11:17 PM   #4 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
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:	124
Size:	94.8 KB
ID:	315043  
heliwaz is offline        Reply With Quote Quick reply to this message
Old 05-09-2012, 01:57 AM   #5 (permalink)
Registered Users
 

Join Date: May 2007
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 Quick reply to this message
Old 05-09-2012, 06:20 AM   #6 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
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 Quick reply to this message
Reply




Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the HeliFreak forums, you must first register.
Please enter your desired user name, your REAL and WORKING email address and other required details in the form below.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself. Use a real email address or you will not be granted access to the site. Thank you.
Email Address:
Location
Where do you live? ie: Country, State, City or General Geographic Location please.
Name and Lastname
Enter name and last name here. (This information is not shown to the general public. Optional)
Helicopter #1
Enter Helicopter #1 type and equipment.
Helicopter #2
Enter Helicopter #2 type and equipment.
Helicopter #3
Enter Helicopter #3 type and equipment.
Helicopter #4
Enter Helicopter #4 type and equipment.

Log-in


Thread Tools
Display Modes

Posting Rules
You may post new threads
You may 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
Trackbacks are On
Pingbacks are On
Refbacks are On




Copyright © Website Acquisitions Inc. All rights reserved.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

SEO by vBSEO 3.6.1