Trying to replicate an accelerator pedal using a differential amplifier

AI Thread Summary
The discussion focuses on replicating the voltage signals from an accelerator pedal for a 6.0 L Diesel engine using a differential amplifier. The user has observed a consistent voltage difference of 0.6 volts between two signals but struggles to achieve precise output in real-life testing compared to simulations. Suggestions include using rail-to-rail op amps for better voltage range and adjusting resistor values to improve output accuracy. Additionally, ensuring equal resistance at the op amp input pins and adding decoupling capacitors to the IC supply pins are recommended for better performance. The user is seeking further assistance to resolve the discrepancies in voltage readings.
jacadams
Messages
1
Reaction score
0
I'm trying to replicate the voltages coming from an accelerator pedal, to the ECM, on 6.0 L Diesel engine. I acquired the three separate voltages using an oscilloscope. I have access to two analog output channels on the dyno. Out of the three voltages two them follow each other by a difference of 0.6 volts. Going from 1.58 to 4.26 and 1.00 to 3.64, equating to 0 to 100% throttle. I have uploaded the current schematic I'm trying to utilize to achieve this goal. V1 will always be 12v and V2 will be an analog output, going from 1.58 to 4.26. My original schematic was only utilizing one op amp as a differential amplifier, but the V-(pin 2 of U2A) was rising with V+. I was not getting a constant 0.6v difference between the two signals. So I then added two voltage follower circuits, as shown, to buffer the signals going into U2A. If I run the current schematic in my simulation software, everything works out great. I get a liner voltage out at Probe1 rising from 1.00v to 3.64, which is what I'm looking for. When I build the schematic in real life and test it I am getting a more constant voltage difference, but I'm not able to dial it in precisely. After some trouble shooting I found that I'm not getting the same voltage in as I'm getting out on probe 3 and probe 4. Instead of going from .568 v to .568 v it goes .568 to .738v. I've tried surfing for half a day on a solution and I'm not getting anywhere. Any help would be appreciated. Thanks!
 

Attachments

  • Schematic.JPG
    Schematic.JPG
    55.7 KB · Views: 529
Engineering news on Phys.org
what type of op amps are you using? some have outputs that can't get lower than about .7 volts. Look for an op amp that is rail-to-rail, sometimes abbreviated R-R.

Alternatively, you could change the resistors to make the output of U1A and U1B double the value you have now, and then halve the difference by making R5 and R3 to 3k instead of 1.5k.

If your real life part is indeed a LM358 then, according to the datasheet, it should be able to go to as low as .005V and then i don't know what the problem is.

For best accuracy (on the scale of ~1mV, not enough to cause .17V of error), the input pins of the op amps should have the same thevenin equivalent resistance, in this case this would be accomplished by adding a 500Ohm resistor between pin 1 and 2 of U1A.

Don't forget to put decoupling caps on the supply pins of all of the ICs.
 
U2A subtracts the 568 mV from U1A instead of adding it.
Could you go to a +/- 6 volt power supply instead of a +12 volt power supply?
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...

Similar threads

Replies
14
Views
2K
Replies
11
Views
3K
Replies
10
Views
2K
Replies
28
Views
8K
Replies
13
Views
4K
Replies
16
Views
5K
Replies
18
Views
5K
Back
Top