Search found 256 matches

by Rhinoman
Thu Jan 16, 2020 1:22 pm
Forum: Dev: Software
Topic: [info] rusEfi Scheduler Performance & Accuracy
Replies: 93
Views: 76307

Re: [info] rusEfi Scheduler Performance & Accuracy

I don't think so. If you're an OEM then you have no choice but to comply with any and all applicable standards but as a hobby yo have a lot more flexibility....as long as you've made an honest effort to go through and look at what could go wrong and addressed any that are a safety related I'd say y...
by Rhinoman
Thu Jan 16, 2020 12:58 pm
Forum: Dev: Software
Topic: [info] rusEfi Scheduler Performance & Accuracy
Replies: 93
Views: 76307

Re: [info] rusEfi Scheduler Performance & Accuracy

Unfortunately no one of this timers can be used to decode trigger wheel. Ok, we can do SW decode. Let HW timer count tooths and start ignition/injection timer on N-th tooth. Ups, timer input has no glitch filtering. So HW timer can loose sync on noise. Ups, stm32 has no event distribution system to...
by Rhinoman
Wed Jan 15, 2020 1:09 pm
Forum: Dev: Software
Topic: [info] rusEfi Scheduler Performance & Accuracy
Replies: 93
Views: 76307

Re: [info] rusEfi Scheduler Performance & Accuracy

From a purely safety perspective doing a FMEA would pretty much force you into finding another way to do time based control. Whether its adding a more sophisticated timer (The oem path) or just offloading critical things like ETB to a stand alone chip or unit. Safety analysis would force you to use...
by Rhinoman
Wed Jan 15, 2020 1:02 pm
Forum: Dev: Software
Topic: [info] rusEfi Scheduler Performance & Accuracy
Replies: 93
Views: 76307

Re: [info] rusEfi Scheduler Performance & Accuracy

puff wrote:
Tue Jan 14, 2020 9:57 am
Isn't it a tradeoff for simplification of software development?
I think its more a trade off of accuracy versus flexibility.
by Rhinoman
Wed Jan 15, 2020 1:01 pm
Forum: Dev: Software
Topic: [info] rusEfi Scheduler Performance & Accuracy
Replies: 93
Views: 76307

Re: [info] rusEfi Scheduler Performance & Accuracy

Dron_Gus wrote:
Tue Jan 14, 2020 9:37 am
STM32 does not have timers with such advanced logic.
Almost every microcontroller built since 1978 has these timers, the STM32F407 has 14 IC/OC channels although they may not all be usable if the parent timer is being used for a seperate function.
by Rhinoman
Tue Jan 14, 2020 8:41 am
Forum: Dev: Software
Topic: [info] rusEfi Scheduler Performance & Accuracy
Replies: 93
Views: 76307

Re: [info] rusEfi Scheduler Performance & Accuracy

The main problem is that the code uses the ST like a PC rather than as a microcontroller. If you implement input capture and output compare as it is intended then the amount of jitter you get is limited to two clock cycles because it is independant of the main processor core. Unfortunately what you ...
by Rhinoman
Mon Jan 13, 2020 1:07 pm
Forum: Misc
Topic: FPGA in ECU
Replies: 43
Views: 48412

Re: FPGA in ECU

The STM will still consume the same power if the processing is done by the core unless you put it to sleep the programme counter will still be running and stepping through addresses. The power consumed by the FPGA will depend on how much logic is actually switching. For an engine timer you would usu...
by Rhinoman
Tue Jan 07, 2020 11:11 am
Forum: Dev: Hardware
Topic: GDI: injector control options
Replies: 19
Views: 22437

Re: GDI: injector control options

Some A2L information here: https://www.asam.net/standards/detail/mcd-2-mc/wiki/ that includes a dll for a translator. I have used A2L files previously with CANape and CCP, I may have some more information somewhere, MATLAB has a utility that can extract data but its probably part of one of the add o...
by Rhinoman
Tue Dec 17, 2019 1:09 pm
Forum: Dev: Hardware
Topic: microRusEFI
Replies: 388
Views: 503828

Re: microRusEfi

The tle8888 is rated for 4mj clamp energy per event. 4 injectors at 6000 RPM gives 200 injections per second (total), which at the limit of 4mj gives a total of only 0.8 watt I'm not understanding your maths, you don't seem to have added the power dissipation during the injector on period. At RDSon...
by Rhinoman
Wed Dec 11, 2019 9:03 am
Forum: Dev: Software
Topic: 101 on Matlab/Simulink
Replies: 13
Views: 14924

Re: 101 on Matlab/Simulink

I've done some work with Matlab and Scilab, Matlab is far superior and, if you have a proper licence, then the support is very good. Code generation with Scilab is not going to be good, you can however work on algorithms and then port them to C++. You will need a good engine model or a lot of data t...
by Rhinoman
Fri Dec 21, 2018 8:14 pm
Forum: Dev: Hardware
Topic: Frankenso - ECU shield compatible with OEM case / official
Replies: 552
Views: 557071

Re: Frankenso - ECU shield compatible with OEM case / official

Well then there is no point filtering at 1khz - you'll just get aliasing of out of band frequencies.
by Rhinoman
Fri Dec 21, 2018 1:12 pm
Forum: Dev: Hardware
Topic: Frankenso - ECU shield compatible with OEM case / official
Replies: 552
Views: 557071

Re: Frankenso - ECU shield compatible with OEM case / official

kb1gtt wrote:
Fri Dec 21, 2018 11:06 am
Do we need more than 1kHz? I'm tempted to update the schematic, and leave the components. Most automotive analog signals are much slower than 1kHz.
Whats the analogue sample rate?
by Rhinoman
Mon Nov 19, 2018 1:21 pm
Forum: Misc
Topic: $0.035 micro
Replies: 3
Views: 4768

Re: $0.035 micro

Up to 5cents now. Limited peripherals and no analogue channels makes them less use than a lot of other 6-pin micros.
by Rhinoman
Sun Nov 18, 2018 12:35 pm
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

I've lost track if what you're trying to achieve. If your throttle body accepts a PWM input to give a position then it already has a controller so you don't need a control algorithm. Are you sure that you have the PWM frequency correct?
by Rhinoman
Wed Nov 14, 2018 8:32 am
Forum: Dev: Hardware
Topic: DEAD DESIGN rusEfi own wide band controller board add-on using CJ125
Replies: 364
Views: 326530

Re: CJ125 board

I just added the below to known_issues.txt, this functions as my reminder about what to look at when I get to look at these kinds of things. Keep the feedback coming, and thanks for the feedback that I've received. 14) Change LSU4.9 to 301 ohms, as noted here https://rusefi.com/forum/viewtopic.php?...
by Rhinoman
Tue Nov 13, 2018 10:38 am
Forum: Dev: Hardware
Topic: DEAD DESIGN rusEfi own wide band controller board add-on using CJ125
Replies: 364
Views: 326530

Re: CJ125 board

Hello everyone, I am making my CJ125 board. I am thinking of using LSU 4.9 probes for reasons of reliability and accuracy over time. But on the pdf document bosch cj125, I saw that for the 4.9, the resistance value must be 301 ohms, out on the schematic layout of the rusefi cj125, the overall value...
by Rhinoman
Mon Nov 12, 2018 8:08 pm
Forum: Dev: Hardware
Topic: DEAD DESIGN rusEfi own wide band controller board add-on using CJ125
Replies: 364
Views: 326530

Re: CJ125 board

I plan to get my board up and running, is there a summary of what is needed to modify a r0.2 board?
by Rhinoman
Wed Oct 24, 2018 11:00 am
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

You need to define what you mean by 'running away', I would always expect anti-wind a motor PID-controller. The biggest problem with automotive motor controllers is the vulnerability to instability caused by transients on the supply voltage, IME that's usually dealt with by a voltage compensation mu...
by Rhinoman
Tue Oct 23, 2018 8:04 pm
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

2.4 ohms so low-z, even if it were high-z it would have to be PWM'd to control the speed, you won't make a position controller without a speed controller. I will measure the inductance and then I can determine the PWM frequency for the current controller.
by Rhinoman
Mon Oct 22, 2018 6:37 pm
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

It looks very much like this: https://patents.google.com/patent/US6173939 Checking with the multi-meter, the two pins nearest to the motor contacts are connected to those motor contacts so I have four pins for the encoder. The springs have a fair resistance to them so I would guess that the motor is...
by Rhinoman
Mon Oct 22, 2018 6:24 pm
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

I drilled the pop-rivets off the Mazda ETB and opened it up. Any electronics must be moulded into the top, I would guess that its all mounted on a lead frame inside the plastic. There is a magnetic encoder on the shaft for the butterfly and two contacts for the motor. It does confirm that its a Dens...
by Rhinoman
Mon Oct 22, 2018 9:50 am
Forum: Dev: Hardware
Topic: Ion Sense
Replies: 194
Views: 194745

Re: Ion Sense

Its usually 400V fly-back from the spark that's used to charge a cap to around 80V to power the ion sense circuit. The patents are on line somewhere.
by Rhinoman
Fri Oct 05, 2018 1:08 pm
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

If you can post that it would help, I'm not finding any info.
by Rhinoman
Wed Oct 03, 2018 2:25 pm
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

The ETB that I have is from a Mazda though it is a Ford unit, quite clearly marked FoMoCo. Have you get the pinout information for these?
by Rhinoman
Thu Sep 27, 2018 7:24 am
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

I suspect your loop timing is wrong. You can't really run a PID algorithm on a micro, its an analogue (s-domain) algorithm, on a micro you run a modified (z-domain) algorithm, in essence you have four inputs P,I,D and T where T is the loop time. There are a number of different methods to convert fro...
by Rhinoman
Mon Sep 24, 2018 6:07 pm
Forum: Dev: Software
Topic: electronic throttle body control ETB
Replies: 290
Views: 340772

Re: electronic throttle body control ETB

Have you got any feedback from the electronic throttle? if you have then you could plot the two and try some rapid openings and then see how well the electronic throttle follows (step response). Also try some rapid voltage variations to make sure it isn't going to go unstable when you get transients.
by Rhinoman
Tue Sep 18, 2018 9:33 pm
Forum: Misc
Topic: Piston coating
Replies: 16
Views: 19440

Re: Piston coating

There are lube additives containing teflon, slick50 is one, not quite sure how any of them would "stick" teflon to the metal of the engine, what with it being one of the most non-stick compounds we have... :lol: So that bit is probably bullshit. That SAE paper was from 1994 so it has been...
by Rhinoman
Sat Sep 15, 2018 7:38 am
Forum: Misc
Topic: Piston coating
Replies: 16
Views: 19440

Re: Piston coating

Its OK in cooking pans as long as you don't use anything metal in them. I can't claim to do a lot of cooking but in my experience when its not a top quality pan it scratches quite easily and can peel.
by Rhinoman
Fri Sep 14, 2018 8:25 pm
Forum: Misc
Topic: Piston coating
Replies: 16
Views: 19440

Re: Piston coating

I recall Teflon coating as well. Theory being that it's a great dry lubricant, so it helps keep things from sticking to the top of the piston and prevents these ridges from poking thought the boundary layer. The results are colder crown temperature. DuPont, the inventors, have stated that Teflon is...
by Rhinoman
Mon Mar 19, 2018 7:50 pm
Forum: Dev: Hardware
Topic: Prometheus - NEW compact ECU shield!
Replies: 160
Views: 179652

Re: Prometheus - NEW compact ECU shield!

andreika wrote:
Mon Mar 19, 2018 10:53 am
When we're measuring the battery voltage, we don't need opamp, because source resistance is low. But we do need it when a high-impedance sensor is connected (including resistive ones like tps and thermistors).
You don't need an op-amp for TPS or thermistors, OEM ECUs don't use them.