tamosan
New Member
Joined: December 2013
Posts: 4
|
Post by tamosan on Dec 11, 2013 15:22:37 GMT -5
Hi Guys, I am just starting to make a full automated electronic control unit for my homemade turbine.I am new on arduino but the progress is good.Does anyone know anybody will interested in with this Project or maybe someone was before.I will appreciate to get knowledge or any idea about.Hope to hear you soon. Regards
|
|
|
Post by Richard OConnell on Dec 11, 2013 17:22:14 GMT -5
Hello tamosan! I believe a few have already used an arduino as a FADEC and there is great interest in the subject. I am wanting to make my own FADEC soon using either an arduino or a raspberry pi.
|
|
rexhunt
Member
Joined: August 2012
Posts: 32
|
Post by rexhunt on Dec 11, 2013 18:09:57 GMT -5
I'd definatly be interested in this project, I won't be able to help much but I am looking at setting up a FADEC when I finally get around to building a GT.
Cheers, Rex
|
|
|
Post by Richard OConnell on Dec 12, 2013 12:05:28 GMT -5
I could see this saving members here a lot of time and money. When the Resources area of this site goes live, I'll get a source code area set up for people with open source projects.
|
|
|
Post by ernie wrenn on Dec 12, 2013 12:46:41 GMT -5
Richard
Why not set up a Arduino section. This needs its own, so we can keep up with it.
|
|
cursorkeys
Veteran Member
Proper engines use the Brayton cycle
Joined: July 2012
Posts: 108
|
Post by cursorkeys on Dec 14, 2013 8:14:17 GMT -5
Richard Why not set up a Arduino section. This needs its own, so we can keep up with it. This is an excellent idea, but could it be an 'electronics' section? I'd like to contribute my FADEC which is ARM and PIC based and I think some other people mentioned they were working on a ATmega based one.
|
|
|
Post by turbochris on Dec 14, 2013 11:38:40 GMT -5
the electrical part is a piece of cake. it's the code that will be the heavy lifting. Yeah like Ernie cursorkeys said Electronics section!
Is the arduino the best thing to start w it's 15 yrs old?
1st- part tach n read rpm on teminal on laptop optical or hall spinning mag rpm sensor. cheap easy for anyone to get working.
2nd part- display to replace terminal
3rd part temp measurement
and when we're sure we have a handle on reading rpm and temp
4th part PWM control of a fuel pump.
The first part how to read rpm w an arduino, a lappy and pieces from an old IR TV remote or whatever make it real easy and one a bunch of DIY'ers get their hands on the arduino it will grow.
We should stay w the new arduino 1.0 form factor, that way trying different processors will be a plug in electrically.
|
|
rythmnbls
Veteran Member
Joined: August 2011
Posts: 145
|
Post by rythmnbls on Dec 14, 2013 14:37:23 GMT -5
Reading RPM and temp is simple enough on a recent Arduino like an UNO or later. I have built a RPM / Temp and pwm driver for a glowplug using a UNO. While this is not a FADEC, it does show that the idea is feasible. Here's a few pics.. Prototyping with the UNO After moving to a dedicated board Photo of it in action A very blurry video of it in action. linkRPM is sensed by a hall device, converted to a square wave and fed into one of the interrupt pins. Temp is measured with a K type thermocouple and a MAX 6675 chip. Here's the code it runs. //-------------------------------------------------------------- // // Interrupt driven sketch to measure RPM, // it expects a suitable signal on pin digital 2 / external int0 // Display is via LCD. // //-------------------------------------------------------------- #include <LiquidCrystal.h> #include <max6675.h> #include <Wire.h>
int thermoDO = 3; int thermoCS = 4; int thermoCLK = 7;
MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO);
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
uint8_t degree[8] = {140,146,146,140,128,128,128,128};
int pwmPin5 = 5; // 976hz signal on pin 5, connected to a mosfet to drive a glowplug. int dutycycle = 80; // 25 = 10% duty cycle
volatile word rpmcount;
unsigned long rpm;
unsigned long timeold;
void setup() { pinMode(pwmPin5, OUTPUT); analogWrite(pwmPin5, dutycycle); //turn on the glowplug output. lcd.begin(20,4); // Setup the LCD, use 16,2 for a 16x2 LCD, etc. lcd.clear(); // start with a blank screen lcd.createChar(0, degree); attachInterrupt(0, rpm_fun, RISING); //enable int0
rpmcount = 0; rpm = 0; timeold = 0; delay(500); }
void loop() { lcd.setCursor(0,0); lcd.print("RPM: "); lcd.setCursor(0, 2); lcd.print("EGT:"); lcd.setCursor(5,2); lcd.print(thermocouple.readCelsius()); //Update the temp reading. lcd.write((byte)0); lcd.print("C "); if (rpmcount >= 100) { //Update RPM every 100 counts, increase this for better RPM resolution, //decrease for faster update
rpm = 1000000*60/(micros() - timeold)*rpmcount; //rpm = (micros() - timeold); timeold = micros(); rpmcount = 0; lcd.setCursor(5,0); lcd.print(" "); lcd.setCursor(5,0); lcd.print(rpm); } delay (500); }
void rpm_fun() { rpmcount++; //Each rotation, this interrupt function is run }
//----------------------------------------------- I have posted about this on another thread hereHope this helps. Steve.
|
|
tamosan
New Member
Joined: December 2013
Posts: 4
|
Post by tamosan on Dec 14, 2013 16:17:34 GMT -5
Thats why arduino is a choice for me ? it's easy then other alternatives,lots of open sources,developing is fast,ready codes and the microprocessor speed is enough for this kind of stuff. Absolutely an electronic chapter is a ''must'' on this form and of course a subtitle ''arduino'' and/or (to me it must be ''and'' )''pic'' programing section must take their places.That's why ? FADEC is not the only electronic in this hobby of course,power boxes and landing gear opening systems,light programs e.g. are other issues.
Rythmnbls your code can be my starting point.Of course it's very helpfull.Nowadays I will plan to make a basic scenario like a FADEC and write its algorhytm then the code on ardu.Of course I will share this progress with you.Just as turbochris say ; the main parameters;RPM,temperature,PWM motor drive,receiver decoding,autostart motor controlling and two valves of solenoids.
|
|
cursorkeys
Veteran Member
Proper engines use the Brayton cycle
Joined: July 2012
Posts: 108
|
Post by cursorkeys on Dec 14, 2013 21:02:15 GMT -5
I'm building a modular system with CAN bus links between the modules. I'm using CANaerospace as the protocol because ARINC 825 which is a standard avionics protocol isn't free to get the spec. I'm using TI ISO1050 CAN tranceivers to get an isolated bus and as CAN uses differential signaling noise from ignitors and starters/generators should not affect the links making it very robust. I've already done some screen work with a PIC32 and a Solomon Systech SSD1963 display driver IC. The PIC at 80 MHz was just too slow, even with using the DMA I couldn't push a full frame between the syncs which resulted in tearing. For a small 240 by 320 TFT display at 16 bit colour you need to push (240x320x16) 19.2 kilobytes per frame! So I've moved to an ARM SAM9XE micro which operates at 180 MHz and has a much better DMA structure as the PIC32 doesn't have DMA always pre-empt the core flash operations which results in weirdness when you really start slamming things. I've also changed to a Epson display controller the S1D13506F00A which is a beast and has a 2D graphics engine. It should be possible to make some really awesome smooth graphics with that combo. I've finished a module for interfacing to pretty much any tachogenerator (0-30KHz and 1v to 200v) and it can deal with the really nasty output waveform they typically have: Excuse the rampant modding My aim is to have a system that you can just jam modules on to to make a perfect system for any engine. I'd like to ape the Garmin G1000 for some of the graphics as it looks great: For EGT and temperature measurement the MAX31855 is amazing. A single chip solution that seems to be really robust. I've been using two on K-type thermocouples and they just work reliably: You just talk to them over SPI and they spit the readings out. Ignitor noise was causing false readings but I found some metal sleeved thermocouple cable and grounding that at the thermocouple connector solved the issue. You can also get twisted-pair and foil shielded thermocouple cable which would probably be even better.
|
|
wolfdragon
Senior Member
Joined: April 2011
Posts: 287
|
Post by wolfdragon on Dec 15, 2013 17:48:14 GMT -5
Let's definitely get a dedicated electronics section going
Platform specifics aside, the algorithms will be very similar for all of the intended implementations, it's the translation into the external real-world devices where collaboration will be a good idea
|
|
|
Post by turbochris on Dec 24, 2013 15:34:47 GMT -5
if we do that we need to make something like rythmnbls setup as a sticky. I wanna bait people into making a tach as simply as possible. Get that fire going in their minds. My old freq counter tach schematic is floating around and while it was the best solution for me it hurt to see so may people try and fail to get my finicky shit working. Not everyone has a nice freq counter laying around. rythmnbls setup- %10 of the cost is gas to get to radio shack! A trip to the electronics recycling bin would get everythng but the arduino, that display is almost as popular as used floppy drives they're clogging the landfills!
STICKY- step by step simple Arduino tach!
We have to keep in mind that people will flock here, some because they need a fadec, some because the want to build a fadec. I want everyone from all camps in here thinking! I wanna watch what happens! I am that electronics experienced/coder noob and you guys are giving me a serious woodie!
|
|
tamosan
New Member
Joined: December 2013
Posts: 4
|
Post by tamosan on Dec 25, 2013 13:27:08 GMT -5
I see that , cursorkeys Project is a giant one and it seems have to be need some profession on software.I am waiting the news with impatience.By the way I am going on ardu regularly and serial communication chapter is my new target , the next one is LCD displays.After I want to do sth very simple but just like an ecu Works.Like motors, temp.sensors, some relays work together in an algorythm process.I will inform you,''..learning to fly is easier than learning to software.. ''
|
|
mitch
Senior Member
Joined: August 2014
Posts: 285
|
Post by mitch on Sept 2, 2014 10:26:44 GMT -5
Using an arduino is a good idea, I had previously used an arduino to control and vary the firing rate of a fuel injector for use as a prototype after burner injector. I plan on doing something similar to what you are doing; using the arduino mega to act as a complete ecu for the turbojet I am currently building
|
|
stevep
Veteran Member
Joined: November 2012
Posts: 120
|
Post by stevep on Sept 19, 2014 8:30:26 GMT -5
Re an electronics sub-forum, I'd be happy to contribute in any way that would be helpful. For example, for my recent spindle build, I created a display/control unit that used *no* microprocessor, but is still able to display RPM, amps, and volts. I didn't even use a printed circuit board, just a perf board (with no copper plating). Details available if there's interest.
The test stand controller I'm building for my liquid motor is quite a bit more complex, but may have aspects that could be useful for controlling turbines, collecting/displaying data, etc.
Even though software is my profession, I have great sympathy for those who prefer to avoid it whenever possible -- even I do that when I can.
--Steve
|
|