Author Topic: Retry N1001  (Read 75464 times)

0 Members and 1 Guest are viewing this topic.

Offline Login to see usernames

  • Global Moderator
  • Hero member
  • ****
  • Posts: 4215
Re: Retry N1001
« Reply #152 on: August 24, 2018, 09:21:15 am »



Offline Login to see usernames

  • Global Moderator
  • Hero member
  • ****
  • Posts: 4215
Re: Retry N1001
« Reply #153 on: August 25, 2018, 04:21:05 am »
i´m doing some tests with the arduino gms system with the oscilloscope

it appears that it can be indeed useful for this task

it would require someone with better knowledge on how to access the ports and programing than me but i guess i will be able to create a simple system that will be simply improved with someone with knowledge on programing

i think i understood why meyer aways talk about the hydrogen speed can reach the burning speed of gasoline...

the cars have an advance in spark that is related to the time the gas will have to burn entirely for reaching most pressure on the point of most compression

if we send a too fast burning gas it will work on making harder for the piston to go up,,

i think the idea than would be to kind of retard the spark for working with a hydrogen mixture with no slow burn

have to think over it

back to the gms stuff

i designed a  3 state acceleration process

one state is accelerating of course

other state is stable

and other is deaccelerating

its detected by pressing the pedal... this sets the rpm as desired

the system than measure the rpm and compare with the set rpm and depending on the difference it define the state

if the state is accelerating every cycle it increase by an amount the injection time within a range determined by the differences in the rpm

when the rpm measured reach the set rpm it start to oscillate the injector time up or down depending on the difference of the readings to match exactly the rpm set



 



Offline Login to see usernames

  • Global Moderator
  • Hero member
  • ****
  • Posts: 4215
THE GMS start
« Reply #154 on: August 25, 2018, 17:46:51 pm »
this is the gms very first start it has a kind of automatic handling of the injector timing to reach the rpm we set by the analog/digital accelerator

still missing linking the acceleration with the max time of the injector but already would work with one injector
missing the output for the other solenoids for air and exhaust

i guess the order for injection should be first air than hydrogen than exhaust or reverse this way there is aways air or exhaust on the line between the hydrogen output making it safe for not having back fire in the cell  (for the case of using the 3 injectors design)

i´m using an analog input interrupt as the rpm counter and the injector triger goes into the digital interrupt (the analog interrupts dont interrupts the external interrupts digital pin one and 2)

there are two ranges of adaption when you change the rpm one that is faster when the difference in rpm is greater than 50 rpm and one that is fine when the rpm is within 5 rpm difference... (it will always happen some difference)

i had to reintegrate the timer to use the millis to better count the rpm but its ok because its working very nicely now since appears that as the signal trigger to the injector comes from the interrupt it dont have any delays or inconsistency in the pulse!

it turns out that if i want to use the arduino nano it will require a safe logic to determine each injector will be firing

the nano having only two interrups can deal only with two injectors trigger directly for more only adding logics

an arduino mega has 4 interrupts  or esp 32 could do everything we want and probably faster

i have a few spare and i plan to get a code for it too as esp32 have as many interrupt as needed

the only side effect is that is 3,3v logic so it require some resistors to work safe with 5 volts logic basically or those level converters not by far a problem
 the esp 32 is multicore aparently too


so as you see i´m doing some advance on the GMS

whos gona test? i dont have a working engine.. nor money to get injectors or other stuff (trying to work on that but is not being easy and probably if the money come my time will go because i´m probably starting a new company that deals with refrigeration systems , when i get funds it will explode! but my investors certainly wont let me work anyelse project for while so i´m focusing now)

if some of you could maybe do a nice donations i could get some of the parts and try doing the tests needed, now i´m 33 and after 13 years working on this i got a lot of energy and knowledge from this time spend but at the same time i didnt focused in making money consistently so at this point of my life i have no money spare.. all i have is a fiat uno 2003 lend from my dad, my test equipments, and work on the streets selling homemade beer to live... also fix some equiments and do some other jobs that appears but is hard getting the end of the month, if werent for my parents surely i could not be here today writing this now. So if any of you feel the value of what we are constructing here, the knowledge that we are developing here feel free to help and be an active part on this at this very special moment because i still have energy and yet time to invest. All this components i have here to work with except for the ones 2 or 3 people send to me i got over the years at the moments that i had some money spare so i converted to components spare becuase i know that when i didnt have the money because spend elsewhere i would not be able to do anything latter with no components.

the link for the donations is in thru this pages and i wont be repeating it everywhere first to not get the risk of losing what i write eventually because there are certain links that simply make everything i wrote disappear and to not disturb the discussion. So if you please want to donate go back thru this pages, read the content and if you feel you can please help... every dollar or euro is more than 4 reais.... and everything we buy from outside here cost up to 4 times what cost for you there not taking account the conversion! So if you want to send me injectors, or whatever you have that you feel it could help me just give me a message and  i send you the address coordinates for the mail.


unsigned long newtime=0;

// inputs

int accel = A0;   // analog/digital accelerator signal
int pressure = A1;
int clocksignal = 3; // //input interrupt 1 / pin 3
int injector = 13;  // injector output
int rpmreadpin= A2;

unsigned int rpmread = 0;
int rpmset = 0; // rpm determined by analog/digital accelerator
String state;

float injectiontime = 5; //ms  injection timming
float timeincrement = 0.001;
float timedecrement = 0.001;
int mininjectiontime = 1;
float maxinjectiontime=10;
int maxrpmset=6000;
int minrpmset=1000;
int stable=50;
int finestable=5;
float finetimeincrement = 0.00001;
float finetimedecrement = 0.00001;

volatile unsigned int newPos;
volatile unsigned int count=0; // analog2 interrupt rotine counter rpm read signal
bool rpmstate=0;
bool lastrpmstate=1;

volatile int clockcount;
int lastclockcount;

int avecount;
int average1;
int average2;
int average3;
int average4;


void setup() {
  DDRB |= 0B00100000;  // pinMode(injector, OUTPUT); pin 13
  Serial.begin(9600);
  pinMode(clocksignal, INPUT_PULLUP);//d3
  pinMode(rpmreadpin, INPUT);//A2

//cli();
//TIMSK0 &= ~(1 << TOIE0);  // disble timer
//sei();

PCICR |= (1 << PCIE1);    // This enables Pin Change Interrupt 1 that covers the Analog input pins or Port C.
PCMSK1 |= (1 << PCINT10) | (1 << PCINT11);  // This enables the interrupt for pin 2 and 3 of Port C.

attachInterrupt(1, INJECTION, RISING);
  }

ISR(PCINT1_vect) {
count++;
}

void loop() {
 rpmset=constrain((analogRead(accel)*6),minrpmset ,maxrpmset);   // rpm determined by analog/digital accelerator

 if (rpmset > (rpmread + stable)) {
  state="Accelerating" ;  // injection time increase
  injectiontime=constrain((injectiontime+timeincrement),1,10);
  } else if ( rpmset < (rpmread-stable)) {
  state="Deaccelerating"; // injection time reduce
  injectiontime=constrain((injectiontime-timedecrement),mininjectiontime,maxinjectiontime); 
  } else {
    state="Stable";
    if (rpmset > (rpmread + finestable)) {
  state="fineAccelerating" ;  // injection time increase
  injectiontime=constrain((injectiontime+timeincrement),1,10);
  } else if ( rpmset < (rpmread-finestable)) {
  state="fineDeaccelerating"; // injection time reduce
  injectiontime=constrain((injectiontime-timedecrement),mininjectiontime,maxinjectiontime);
  }

  }
if (millis() > newtime+500 ){
  newtime=millis();
   rpmread=count*12;
avecount++;
if (avecount == 1)average1=rpmread;
if (avecount == 2 )average2=rpmread;
if (avecount == 3 )average3=rpmread;
if (avecount == 4 ){
  average4=rpmread;
  avecount=0;
}
rpmread=(average1+average2+average3+average4)/4;
printcallback() ;
count=0;
}
}

void INJECTION() {  //interrupt routine
   PORTB |= 0B00100000;   //digitalWrite(injector, HIGH);
   delayMicroseconds(injectiontime*1000);
   PORTB &= 0B11011111;   // digitalWrite(injector, LOW);

}
void printcallback() {
 Serial.print("Accelerator  ");
Serial.print(rpmset);
Serial.println(" RPM SET");
Serial.print("Injection Time ");
Serial.print(injectiontime);
//Serial.print(injectiontime);
Serial.println(" miliseconds");
Serial.print(rpmread);
Serial.println(" RPM Measured ");
Serial.println(state);
}

Offline Login to see usernames

  • Global Moderator
  • Hero member
  • ****
  • Posts: 4215
4 cycle 4 cylinder
« Reply #155 on: August 25, 2018, 20:12:38 pm »
a 4 cycle 4 cyclinder engine works by having one explosion every half turn of the crankshaft

therefor the distributor was sending 4 signals in sequence for each cylinder and

probably the air and exhaust gas used other two injectors to control the amount to inject

the

Offline Login to see usernames

  • Member
  • **
  • Posts: 205
Re: Retry N1001
« Reply #156 on: August 27, 2018, 02:14:56 am »

dont forget there is a resident high voltage guy on this forum who shows up now and then and shares his plasma experiments



Offline Login to see usernames

  • Global Moderator
  • Hero member
  • ****
  • Posts: 4215
Re: Retry N1001
« Reply #157 on: August 28, 2018, 03:06:46 am »
yes  i remember too!

hope he come up with some comments on this too!

i did some drawings of a circuit to get the atoms ionized hopefully by this impact ionization

the first state uses a negative source with the idea of getting the oxygen atoms negatively charged in a way that it can be accelerated towards a electrode at high positive voltage...

this will cause many collisions with other non ionized air in the middle and get it ionized liberating electrons, also this electrons will form other ions and other collisions in the way to the positive electrode... when it get to the positive electrode the oxygen will lose maybe up to four electrons and the atoms also will get unstable... the positive electrode is a screen of stainless stell so the electrons will get discharged and the gas pass high positively charged. afted this stage we get a bunch of ions of one polarity and they can be accelerated again now with more power since they are more ionized and now they can be accelerated with higher force!

i believe electrodes  must be kept small in size to have the gas more strongly ionized...

the mean free path, that is, the minimum piece of way the atoms can be accelerated before they hit another atom and lose its energy or part of its energy, is small in air at normal pressure, therefore a vacuum helps a lot increasing the mean free path and the energy of the collisions...

in air the mean free path at sea level is around 40nm only... this mean that the atoms will travel 40nm to collide..

that mean that only the particles within 40nm of the positive plate will hit the positive plate...

well there is two ways of increasing the energy of particles in a linear or oscillatory way..

perhaps the whole deal is to get some molecules really exited and just that.. they perhaps can have a life span more than few miliseconds and all and be usefull

to do that as become obvious some vacuum would help increase the mean free path at the expenditure of some energy

however meyer stated that under laboratory condition 1 galon of water has the same amount of energy of 2,5 bilion barrels of oil

so converting mass into energy directly

genius

« Last Edit: August 28, 2018, 04:12:20 am by sebosfato »

Offline Login to see usernames

  • Global Moderator
  • Hero member
  • ****
  • Posts: 4215
Re: Retry N1001
« Reply #158 on: August 28, 2018, 11:02:35 am »
if we could apply 50kv in a 1 mm gap we would have 2v per each 40nm

i guess with this picture is possible to understand vacuum can be very useful to get more electron volts per collision! And it dont need to be so strong to get a good effect...

i guess if we could reduce the pressure like 10 times would be just enough!

of course it will indeed consume more power the more gas we use, electrically and mechanically speaking because of the ionization and the vacuum maintainment

we saw from that video that they bombard the target with deuterium atoms (at high vacuum of course) with 200kv to get neutrons out of the molecules...

with oxygen atoms since we can have it ionized with more charge and as it has a mass 8 times greater than the deuterium, it will acquire up to 30 times more energy only by having more mass, and charge. So when it strike our target it will not only get ionized but some atoms that are isotopes can lose one neutron ( a neutron become hydrogen atom after 11 minutes life time )  this neutrons when get touch with other atoms exite their nuclei like explained in the video until it is absorbed by another molecule or decay...

so with good vacuum and around 7kv to 20kv oxygen can have a interesting behavior

or with less vacuum and greater voltage also...,

if its absorbed by another molecule the molecule will become unstable (having a longer life time)

the molecules that interact with the neutron get nuclear exited also.

when the nuclei are exited  the molecules can maintain their self ionized for longer time...





Offline Login to see usernames

  • Global Moderator
  • Hero member
  • ****
  • Posts: 4215
« Last Edit: August 28, 2018, 12:01:39 pm by sebosfato »