Go Back  R/C Tech Forums > General Forums > Radio and Electronics
The Homebuilt Dynamometer (Dyno)Thread!!! >

The Homebuilt Dynamometer (Dyno)Thread!!!

Community
Wiki Posts
Search
Like Tree16Likes

The Homebuilt Dynamometer (Dyno)Thread!!!

Thread Tools
 
Search this Thread
 
Old 04-10-2024 | 01:03 PM
  #106  
trilerian's Avatar
Tech Elite
iTrader: (51)
 
Joined: Apr 2005
Posts: 2,393
From: Lexington KY
Default

Originally Posted by kufman
Digging up and old thread here since it seems like a better place to post the stuff I have been working on. I have also been using the Simple Dyno software even though the developer no longer supports it. I use an Arduino to record the RPM, voltage and current data. I have been working on an improved way to record the data but I need to get an Arduino with more RAM (currently using an Arduino Nano). I plan to record the time for each revolution of the flywheel. I have done this with the Nano but run out of space after 1 second or so. My flywheel design usually results in 5 or 6 second runs. I will post some pics and data when I get home.
If you want to stick with Atmega chip, use the 2560. This is the Arduino Mega.

Out of curiosity, how are you running out of space?
trilerian is offline  
Old 04-10-2024 | 02:08 PM
  #107  
kufman's Avatar
Tech Elite
iTrader: (7)
 
Joined: Feb 2004
Posts: 3,787
From: Elburn, IL
Default

Originally Posted by trilerian
If you want to stick with Atmega chip, use the 2560. This is the Arduino Mega.

Out of curiosity, how are you running out of space?
One version of my code dumps all the data into an array and then at the end of the run, streams it to the serial port. This setup measures the rotational time for every rotation of the flywheel and has to record RPM, Voltage and Current for each data point. This differs from how most setups work where the data is streamed live to the serial port. I found that the serial can not be used without causing missed interrupts for the RPM measurement. My plan is to try an Arduino Minima board which has 16x the memory.

This isn't a problem when using the provided sketch from the Simple Dyno software but that setup works a little bit differently. It takes data at fixed intervals and measures the next rotation of the flywheel. The problem being that I am trying to take data from 0 rpm and if the interval is too fast, you will get 2 of the same data point. To counter this, I have set the data taking interval to 20msec which is borderline in terms of resolution.
kufman is offline  
Old 04-10-2024 | 02:16 PM
  #108  
kufman's Avatar
Tech Elite
iTrader: (7)
 
Joined: Feb 2004
Posts: 3,787
From: Elburn, IL
Default

Pic of my dyno
OffRoadJunkie likes this.
kufman is offline  
Old 04-10-2024 | 02:46 PM
  #109  
trilerian's Avatar
Tech Elite
iTrader: (51)
 
Joined: Apr 2005
Posts: 2,393
From: Lexington KY
Default

Originally Posted by kufman
One version of my code dumps all the data into an array and then at the end of the run, streams it to the serial port. This setup measures the rotational time for every rotation of the flywheel and has to record RPM, Voltage and Current for each data point. This differs from how most setups work where the data is streamed live to the serial port. I found that the serial can not be used without causing missed interrupts for the RPM measurement. My plan is to try an Arduino Minima board which has 16x the memory.

This isn't a problem when using the provided sketch from the Simple Dyno software but that setup works a little bit differently. It takes data at fixed intervals and measures the next rotation of the flywheel. The problem being that I am trying to take data from 0 rpm and if the interval is too fast, you will get 2 of the same data point. To counter this, I have set the data taking interval to 20msec which is borderline in terms of resolution.
For a quick build I did, I used the sensor cable and measured the time between rising edges of the hall sensors. I used input polling for this instead of interrupts. This allowed 3 measurements per rotation. It was a bit erratic after about 10k RPM, but I never went back and revisited it. I like some of the things with the R4, but the Reneses MCU isn't the most user friendly. I was considering going to an STM32. Of course I have an Arduino Giga R1 that is not being used...

What are you using for the inertial load? Eventually I was going to go back and work on a dyno again, but the things that stop me are the inertial load and the front end software.
trilerian is offline  
Old 04-10-2024 | 02:53 PM
  #110  
kufman's Avatar
Tech Elite
iTrader: (7)
 
Joined: Feb 2004
Posts: 3,787
From: Elburn, IL
Default

Originally Posted by trilerian
For a quick build I did, I used the sensor cable and measured the time between rising edges of the hall sensors. I used input polling for this instead of interrupts. This allowed 3 measurements per rotation. It was a bit erratic after about 10k RPM, but I never went back and revisited it. I like some of the things with the R4, but the Reneses MCU isn't the most user friendly. I was considering going to an STM32. Of course I have an Arduino Giga R1 that is not being used...

What are you using for the inertial load? Eventually I was going to go back and work on a dyno again, but the things that stop me are the inertial load and the front end software.
My very first test did the same thing with the sensors in the BL motor. I decided to do an external measurement instead because I wanted brushed motor capability. I also did the input polling but wasn't satisfied with the higher rpm performance. I found that dumping the data to an memory array works well but you do need enough memory to hold the whole run.

The flywheel load is homemade from a piece of 6061 aluminum. It is 3" diameter, 1 inch thick and weighs 324g. The MOI is around 0.0002334 kg-m^2.
kufman is offline  
Old 04-10-2024 | 03:34 PM
  #111  
trilerian's Avatar
Tech Elite
iTrader: (51)
 
Joined: Apr 2005
Posts: 2,393
From: Lexington KY
Default

Originally Posted by kufman
My very first test did the same thing with the sensors in the BL motor. I decided to do an external measurement instead because I wanted brushed motor capability. I also did the input polling but wasn't satisfied with the higher rpm performance. I found that dumping the data to an memory array works well but you do need enough memory to hold the whole run.

The flywheel load is homemade from a piece of 6061 aluminum. It is 3" diameter, 1 inch thick and weighs 324g. The MOI is around 0.0002334 kg-m^2.
So the next question. Are you doing this in an "open source" fashion or just posting about a homemade dyno?
trilerian is offline  
Old 04-10-2024 | 04:54 PM
  #112  
Tech Initiate
iTrader: (1)
 
Joined: Sep 2020
Posts: 35
Default

I built my dyno using information from Bob Wright and use his software (RC Crew Chief) to process it. Unfortunately Bob is no longer with us.
The dyno uses an arduino uni that is read using Bob's software. RPMs are read using a disc with 16 holes in it using an opto.
I also built a driver to drive the esc so I don't need to use my radio to do the tests.
kufman likes this.
NZDave is offline  
Old 04-10-2024 | 04:59 PM
  #113  
kufman's Avatar
Tech Elite
iTrader: (7)
 
Joined: Feb 2004
Posts: 3,787
From: Elburn, IL
Default

Originally Posted by trilerian
So the next question. Are you doing this in an "open source" fashion or just posting about a homemade dyno?
I don't have code on gethub or anything but I don't mind sharing what I am doing as long as people don't try to use my stuff for profit.
kufman is offline  
Old 04-10-2024 | 05:00 PM
  #114  
kufman's Avatar
Tech Elite
iTrader: (7)
 
Joined: Feb 2004
Posts: 3,787
From: Elburn, IL
Default

Originally Posted by NZDave
I built my dyno using information from Bob Wright and use his software (RC Crew Chief) to process it. Unfortunately Bob is no longer with us.
The dyno uses an arduino uni that is read using Bob's software. RPMs are read using a disc with 16 holes in it using an opto.
I also built a driver to drive the esc so I don't need to use my radio to do the tests.
Can you tell if his software is measuring number of ticks in a given period of time or time between ticks?
kufman is offline  
Old 04-10-2024 | 05:08 PM
  #115  
trilerian's Avatar
Tech Elite
iTrader: (51)
 
Joined: Apr 2005
Posts: 2,393
From: Lexington KY
Default

Originally Posted by kufman
I don't have code on gethub or anything but I don't mind sharing what I am doing as long as people don't try to use my stuff for profit.
My intentions would be to help contribute to an open source platform. But, making something open source opens the doors for others to take the information and make what they will out of it. You kind of just have to accept that going in, or don't do it.

Can you tell if his software is measuring number of ticks in a given period of time or time between ticks?


Uses interrupts to measure the time between pulses from an optical sensor and an encoder wheel.

Same measuring method as the MiniPro
trilerian is offline  
Old 04-10-2024 | 05:13 PM
  #116  
kufman's Avatar
Tech Elite
iTrader: (7)
 
Joined: Feb 2004
Posts: 3,787
From: Elburn, IL
Default

That must be a fairy new thing on the minipro. It used to measure number of ticks per 50msec or 100msec time period.

As far as open source, all my 3d printed parts are public on Tinkercad.
kufman is offline  
Old 04-10-2024 | 05:22 PM
  #117  
OffRoadJunkie's Avatar
Tech Champion
iTrader: (10)
 
Joined: Jul 2020
Posts: 6,324
From: California
Default

Originally Posted by kufman
Pic of my dyno

That is pretty sweet!!! Nice job!
kufman likes this.
OffRoadJunkie is offline  
Old 04-10-2024 | 05:43 PM
  #118  
trilerian's Avatar
Tech Elite
iTrader: (51)
 
Joined: Apr 2005
Posts: 2,393
From: Lexington KY
Default

Originally Posted by kufman
That must be a fairy new thing on the minipro. It used to measure number of ticks per 50msec or 100msec time period.

As far as open source, all my 3d printed parts are public on Tinkercad.
Actually I made the assumption that the MiniPro measures time between ticks, as I think the other way is prone to error... Just because the sample rate says 10Hz, doesn't mean it is counting the ticks for 100ms. Just could be the reading at 100ms. My setup was obviously measuring time between ticks, and I was spitting out the reading every 100ms.
kufman likes this.
trilerian is offline  
Old 04-10-2024 | 05:48 PM
  #119  
kufman's Avatar
Tech Elite
iTrader: (7)
 
Joined: Feb 2004
Posts: 3,787
From: Elburn, IL
Default

Originally Posted by trilerian
Actually I made the assumption that the MiniPro measures time between ticks, as I think the other way is prone to error... Just because the sample rate says 10Hz, doesn't mean it is counting the ticks for 100ms. Just could be the reading at 100ms. My setup was obviously measuring time between ticks, and I was spitting out the reading every 100ms.
I agree that a 10Hz sample rate doesn't indicate which way it works. My friend bought their dyno several years ago and was able to determine that it was counting ticks instead of time between ticks. He wrote the company to convince them that the data was pretty bad because of this mode of measurement. They weren't willing to work with him on a fix at that time.
kufman is offline  
Old 04-10-2024 | 05:54 PM
  #120  
kufman's Avatar
Tech Elite
iTrader: (7)
 
Joined: Feb 2004
Posts: 3,787
From: Elburn, IL
Default

Here is an example of timing every revolution and dumping it into an array of RAM.


kufman is offline  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.