flood's input lag measurements

Everything about latency. Tips, testing methods, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
User avatar
lexlazootin
Posts: 1251
Joined: 16 Dec 2014, 02:57

Re: flood's input lag measurements

Post by lexlazootin » 22 Dec 2014, 23:18

Not to rush you or anything but have you done the click delay test yet?
I'm too curious on how the G100s compares to your arduino setup. :D

Edit: woops, read it as "near future", my fault.
Last edited by lexlazootin on 23 Dec 2014, 01:52, edited 1 time in total.

spacediver
Posts: 505
Joined: 18 Dec 2013, 23:51

Re: flood's input lag measurements

Post by spacediver » 22 Dec 2014, 23:39

lexlazootin wrote:Not to rush you or anything but have you done the click delay test yet?
I'm too curious on how the G100s compares to your arduino setup. :D
flood wrote: ill take apart my g100s and compare it's button click latency against the arduino sometime far in the future

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

Re: flood's input lag measurements

Post by flood » 23 Dec 2014, 11:30

ill try it probably january next year

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

halp

Post by flood » 12 Feb 2015, 05:34

new setup pictures:

http://i.imgur.com/xbpbOlQ.jpg
http://i.imgur.com/flwNG6q.jpg

my circuit is basically:
photodiode => transimpedance amplifier with 1Mohm feedback resistor => non-inverting op amp with 1Mohm and 10kohm resistors for ~100 gain => teensy

there's a minor issue that's bugging me atm.
Image
this is what the system reads as a function of time when the room is dark and no direct light from my monitors. as you can see there are 60hz spikes................. and my monitors are turned off when measuring this so there's no way this signal is from light hitting the photodiode.

the same thing happens when using the arduino leonardo with this circuit
removing the capacitors on the op amps didn't do anything. so i'm pretty sure it's usb power related.

i know quite a few of you here are more experienced than i am with electronics so i hope someone can help me with this :D

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

Re: flood's input lag measurements

Post by flood » 12 Feb 2015, 05:52

ok what the fuck.

so if i move the board to the side of my computer it's fine??

dam interference.......

edit:

k i'm completely spooked.
lifting the breadboard 1cm off my table eliminates the problem

edit2:

apparently placing my hand near the leads of the photodiode causes the issue...................................
i guess this is how those capacitive touch sensors work

stirner
Posts: 74
Joined: 07 Aug 2014, 04:55

Re: flood's input lag measurements

Post by stirner » 12 Feb 2015, 13:21

lol, at this rate you'll make people wear electrostatically cancelling gloves while playing.

Looks good. Again, looking forward to any tests you care to perform.

spacediver
Posts: 505
Joined: 18 Dec 2013, 23:51

Re: flood's input lag measurements

Post by spacediver » 12 Feb 2015, 14:55

wow, reminds me a bit of one of those mr bean episodes (where he had to be in a particular position in order to get tv reception)

https://www.youtube.com/watch?v=BoDXyfAUBQc

Good thing you figured this out before taking an important measurements tho :)

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

Re: flood's input lag measurements

Post by flood » 12 Feb 2015, 17:30

well it doesn't actually affect measurements since i'm measuring time deltas instead of absolute values and these spikes are ~3x lower than what they would need to be to cause problems

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

Re: flood's input lag measurements

Post by flood » 12 Feb 2015, 18:24

here's what the system reads when placed in my drawer, which has a hole that lets a bit of ambient light in. my ambient lighting right now is from sunlight so there's no 60hz anything from that.

Image

the 60hz ripple is about the same magnitude as the noise.

actually i think it's not too unreasonable given the amount of amplification i have. analogRead returns a value from 0 to 1024 which corresponds to 0-5V so the 60hz signal is ~0.5V. my amplifer amplifies by 100x so ~5mv of ripple after the first stage shouldn't be too alarming perhaps

gunna using battery power just to see what happens... so i know whether the remaining noise is power related or not

still have no idea what results in 60hz spikes though

gold
Posts: 5
Joined: 24 Feb 2015, 14:11

Re: flood's input lag measurements

Post by gold » 24 Feb 2015, 15:52

Hey flood, finally made an account just wanted to say thanks been following for a while

Post Reply