No. An op amp cannot do that. You need to sample the waveform and then selectively remove some samples.Hi everyone. I want to ask for advice on the best way to increase the frequency of a signal (for example +30%) without altering the rest of the characteristics. Gemini recommends using an op-amp. What do you think about it?
For an arbitrary waveform? I don’t believe that is possible to do with analog circuitry.Hi everyone. I want to ask for advice on the best way to increase the frequency of a signal (for example +30%) without altering the rest of the characteristics. Gemini recommends using an op-amp. What do you think about it?
So I can try with Arduino?Digitally, you could sample the input waveform and regenerate the output at a higher frequency.
In a perfect world you would use a phase-locked loop and multiply the frequency by 13 and divide by 10, but getting a phase-locked-loop to lock at any frequency between 0 and 160Hz (equating to a speed between 0 and 100MPH) isn't trivial.I would like to point out that this is all for educational purposes. Please don't bring up safety issues etc... I would like to fit a gearbox that has different ratios from the original one. Since in the past I had problems with another car because The different ratio caused interference with handling and braking. This time I want to simulate a different ratio. To do this I need to process the ABS sensor signal so that it gives a higher frequency. Example: At 100km/h the ABS sensor produces 100Hz. I would like a device that receives a wave at 100Hz and returns it at 130Hz. By doing this I make the system believe that I have mounted a gearbox with different ratios from the original. If I don't get any errors and everything works fine I can Install a gearbox with ratios different from the original.
Please Ian0 can you explain better? I think I need to divide by 10 and multiple by 13.you would use a phase-locked loop and multiply the frequency by 13 and divide by 10
This is the also way I would do it if I were to do it with analog circuits.In analog you can measure the freq. of signal with f to V converter. Make correction of V as you need and generate new f from this voltage using oscillator.
Not to mention a likely malfunction of a safety feature.This Project amounts to a crazy amount expense and effort for a very dubious increase in Vehicle Performance,
and a likely reduction in Fuel-Mileage,
and a definite reduction in reliability,
( unless the TS is really well versed in building Automotive-Grade-Electronics ).
Every effort towards PCM reprogramming / adjustments should be explored first,
before adding questionable add-on-Circuits.
.
.
.
Please @Michal Podmanický give me some example on internet.In analog you can measure the freq. of signal with f to V converter. Make correction of V as you need and generate new f from this voltage using oscillator.
Please @LowQCab let me explain better...Every effort towards PCM reprogramming / adjustments should be explored first,
before adding questionable add-on-Circuits.
const int analogInPin = A0; // Pin di ingresso analogico
const int pwmOutPin = 9; // Pin di uscita PWM
void setup() {
Serial.begin(9600);
pinMode(pwmOutPin, OUTPUT);
}
void loop() {
// Leggere il valore analogico in ingresso
int analogValue = analogRead(analogInPin);
// Calcolare la nuova frequenza desiderata
float newFrequency = analogValue * 1.3;
// Impostare la frequenza del PWM
analogWrite(pwmOutPin, newFrequency);
// Stampare il valore analogico in ingresso e la nuova frequenza
Serial.print("Valore analogico in ingresso: ");
Serial.print(analogValue);
Serial.print(" Hz");
Serial.print(" Nuova frequenza: ");
Serial.print(newFrequency);
Serial.println(" Hz");
delay(10); // Tempo di attesa tra le letture
}
I'm no auto-expert but I would assume any self-respecting ECU would throw an error message if the ratio of the ABS sensor frequency to the crankshaft sensor frequency differs from what it has been programmed to expect, since the difference is likely to affect engine performance, required fuel mappings, emission control and ABS function.By doing this I make the system believe that I have mounted a gearbox with different ratios from the original.