VR emulator for board soldering validation

Hardware inside and outside of the ECU
Post Reply
User avatar
AndreyB
Site Admin
Posts: 11403
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

VR emulator for board soldering validation

Post by AndreyB »

We need a VR emulator, mostly for quality assurance of assembled units but also to test alternative VR conditioning designs.

EDIT: ONLY for quality assurance of assembled units

Here is proposal #0:
image.png
image.png (1.23 MiB) Viewed 1226 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
User avatar
AndreyB
Site Admin
Posts: 11403
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: VR emulator

Post by AndreyB »

An even simpler proposal
image.png
image.png (1.01 MiB) Viewed 1210 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
mck1117
running engine in first post
running engine in first post
Posts: 875
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: VR emulator

Post by mck1117 »

Those ignore the true nature of a VR sensor's output. The tricky part is the fact that it goes through the zero crossing slowly, not quickly as these do. (It's much closer to a sawtooth than a square wave).
qwerty-off
Posts: 1
Joined: Wed Dec 16, 2020 8:38 pm

Re: VR emulator

Post by qwerty-off »

1:
image.png
image.png (93.76 KiB) Viewed 1192 times
Looks like real vr sensor. A transformer is required, which increases cost and complexity.

2:
image.png
image.png (89.75 KiB) Viewed 1192 times
Almost good. A bipolar signal source like MAX232 is required. Diagnostics will not work because VRIN2 is connected to GND. Will there be more problems?

3:
image.png
image.png (92.7 KiB) Viewed 1192 times
Another way is to connect a unipolar signal through a capacitor. An additional level converter is required because the Vpk-pk signal must be greater than 5V (Vmiddle * 2) for TLE8888 and max9926 or Vcc for NCV1124. Diagnostics will not work too.

Anyone have any other suggestions? Which of these options is the best choice?
User avatar
Fonzie
Posts: 11
Joined: Sun Jan 28, 2018 3:06 pm
Location: France (Jura)
Contact:

Re: VR emulator

Post by Fonzie »

Could not use a sound card and a power amplifier or a transformer for the voltage swing?
mck1117
running engine in first post
running engine in first post
Posts: 875
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: VR emulator

Post by mck1117 »

doesn't even need a PA, you could just drive it directly from a headphone output
User avatar
AndreyB
Site Admin
Posts: 11403
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: VR emulator

Post by AndreyB »

Fonzie wrote:
Wed Dec 16, 2020 9:28 pm
Could not use a sound card and a power amplifier or a transformer for the voltage swing?
No, this is a lot of manual labor to set things up for each run. This is an extremely overcomplicated, heavy, large and expensive setup.

The focus right now is to have hardware quality assurance validation rig - need a self-contained fully automated testing rig. In this topic we are developing a building block.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
User avatar
kb1gtt
contributor
contributor
Posts: 3715
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: VR emulator

Post by kb1gtt »

Doesn't the discovery have a headphone jack?
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 11403
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: VR emulator

Post by AndreyB »

kb1gtt wrote:
Thu Dec 17, 2020 3:33 am
Doesn't the discovery have a headphone jack?
Any additional scope of software is x100 the total effort of hardware implementation. Also I would prefer not to lock myself into discovery for multiple reasons. My strong preference is on a 100% hardware solution for quality assurance at this point, VR signal has to be only as valid as MAX/TLE/NCV expect it to be.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
User avatar
kb1gtt
contributor
contributor
Posts: 3715
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: VR emulator

Post by kb1gtt »

How about 36 dip switches connected to a shift register so you can emulate a 36-1 wheel? 100% hardware and emulates a common crank pattern.
Welcome to the friendlier side of internet crazy :)
User avatar
kb1gtt
contributor
contributor
Posts: 3715
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: VR emulator

Post by kb1gtt »

Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 11403
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: VR emulator

Post by AndreyB »

On this level we kind of do not care for trigger shape, all we need to see is register incoming VR signals. Also we already have digital output for trigger sequence shape so that thing MCU can take care of already.

If we would be testing trigger shape on this level we would have tested with 3 tooth 1 skipped wheel, not 36 tooth one skipped just for simplicity.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
Post Reply