Issues with Fuel Injector Testing Bench Using Arduino Minima R4 at High Frequencies

Hi Devs I m trying to create a fuel injector testing bench with an Arduino minima r4. Running on low frequencies as in the first part of my code everything appears to be good, but in the higher frequencies I believe that the injectors doesn' t close at all. I believe this because except for 50 Hz I don t see any difference in the way injectors work? Can anyone spot a mistake on hardware that can cause that. In the software I m using Arduino built in DAC, it would be better using PWM for this application? #include <analogWave.h> analogWave wave(DAC); void setup() { // put your setup code here, to run once: Serial.begin(115200); } void loop() { // put your main code here, to run repeatedly: wave.square(50); wave.start(); delay(15000); wave.stop(); delay(20000); wave.freq(300); delay(20000); wave.start(); delay(60000); wave.stop(); wave.freq(150); delay(20000); wave.start(); delay(60000); wave.stop(); wave.freq(80); delay(20000); wave.start(); delay(60000); wave.stop(); }
2 Replies
aymen ammari
aymen ammari2mo ago
attachment 0
Enthernet Code
Enthernet Code2mo ago
@aymen ammari The issue you're experiencing at higher frequencies might be due to the injectors not fully closing before the next pulse starts, which could happen if the frequency is too high or the pulse duration isn't sufficient for the mechanical response of the injectors, using the built-in DAC might not be the best choice for controlling injectors at high frequencies since it’s typically better suited for generating smooth analog signals rather than sharp, repetitive pulses. For this application, using PWM would be more appropriate, as it allows you to control the duty cycle and ensure that the injectors receive a clear on/off signal. You could try switching to PWM and adjusting the duty cycle to ensure that the injectors have enough time to close between pulses, especially at higher frequencies. you should also re-check the hardware setup to ensure the injectors can respond fast enough to the signals you’re sending.
Want results from more Discord servers?
Add your server