aboutsummaryrefslogtreecommitdiff
path: root/src/devices/testing_circuit.jd
blob: 3ad65753dba4a8fea66db6d3f1da3a09b683c987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
page.title=Testing Circuit
@jd:body

<div id="qv-wrapper">
  <div id="qv">
    <h2>In this document</h2>
    <ol id="auto-toc">
    </ol>
  </div>
</div>

<p>
The file <a href="http://developer.android.com/downloads/partner/audio/av_sync_board.zip">av_sync_board.zip</a>
contains CAD files for an A/V sync and latency testing
printed circuit board (PCB).
The files include a fabrication drawing, EAGLE CAD, schematic, and BOM. See <a
href="audio_latency.html">Audio Latency</a> for recommended testing methods.
</p>

<p>
This PCB
can be used to help measure the time between flashing the device's
notification LED or screen backlight, vs. detecting an audio signal.
When combined with a dual-channel oscilloscope and suitable test app,
it can show the difference in time between detecting the light and audio.
That assumes the LED or backlight response time and light detector's response time
are negligible relative to the audio.
</p>

<p>
This design is supplied "as is", and we aren't be responsible for any errors in the design.
But if you have any suggestions for improvement, please post to the <a
href="https://groups.google.com/forum/#!forum/android-porting">android-porting</a> group.
</p>

<p>
Of course, this is not the only (or necessarily best) way to measure A/V sync and latency,
and we would like to hear about your alternative methods, also at android-porting group.
</p>

<p>
There are currently no compatibility requirements to use this particular PCB.
We supply it to encourage your continued attention to audio performance.
</p>

<h2 id="images">Images</h2>

<p>
These photos show the circuit in action.
</p>

<img style="margin:1.5em auto" src="images/breadboard.jpg" alt="breadboard prototype" />
<br />
<center>Breadboard prototype</center>

<img style="margin:1.5em auto" src="images/pcb.jpg" alt="an early run of the PCB" />
<br />
<center>An early run of the PCB</center>

<img style="margin:1.5em auto" src="images/display.jpg" alt="example display">
<br />
<center>Example display</center>
<p>
This image
shows the scope display for an unspecified device, software release, and test conditions;
the results are not typical and cannot be used to extrapolate to other situations.
</p>

<h2 id="video">Video</h2>

<p>
This <a href="http://www.youtube.com/watch?v=f95S2IILBJY">Youtube video</a>
shows the the breadboard version testing circuit in operation.
Skip ahead to 1:00 to see the circuit.
</p>