Glenn Kasten | 4fe3ba4 | 2013-05-13 14:28:56 -0700 | [diff] [blame] | 1 | page.title=Testing Circuit |
| 2 | @jd:body |
| 3 | |
Clay Murphy | bc92aea | 2014-10-16 10:13:18 -0700 | [diff] [blame] | 4 | <!-- |
| 5 | Copyright 2013 The Android Open Source Project |
| 6 | |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | --> |
Glenn Kasten | 4fe3ba4 | 2013-05-13 14:28:56 -0700 | [diff] [blame] | 19 | <div id="qv-wrapper"> |
| 20 | <div id="qv"> |
| 21 | <h2>In this document</h2> |
| 22 | <ol id="auto-toc"> |
| 23 | </ol> |
| 24 | </div> |
| 25 | </div> |
| 26 | |
| 27 | <p> |
| 28 | The file <a href="http://developer.android.com/downloads/partner/audio/av_sync_board.zip">av_sync_board.zip</a> |
| 29 | contains CAD files for an A/V sync and latency testing |
| 30 | printed circuit board (PCB). |
Clay Murphy | c28f237 | 2013-09-25 16:13:40 -0700 | [diff] [blame] | 31 | The files include a fabrication drawing, EAGLE CAD, schematic, and BOM. See <a |
| 32 | href="audio_latency.html">Audio Latency</a> for recommended testing methods. |
Glenn Kasten | 4fe3ba4 | 2013-05-13 14:28:56 -0700 | [diff] [blame] | 33 | </p> |
| 34 | |
| 35 | <p> |
| 36 | This PCB |
| 37 | can be used to help measure the time between flashing the device's |
| 38 | notification LED or screen backlight, vs. detecting an audio signal. |
| 39 | When combined with a dual-channel oscilloscope and suitable test app, |
| 40 | it can show the difference in time between detecting the light and audio. |
| 41 | That assumes the LED or backlight response time and light detector's response time |
| 42 | are negligible relative to the audio. |
| 43 | </p> |
| 44 | |
| 45 | <p> |
| 46 | This design is supplied "as is", and we aren't be responsible for any errors in the design. |
Clay Murphy | c28f237 | 2013-09-25 16:13:40 -0700 | [diff] [blame] | 47 | But if you have any suggestions for improvement, please post to the <a |
| 48 | href="https://groups.google.com/forum/#!forum/android-porting">android-porting</a> group. |
Glenn Kasten | 4fe3ba4 | 2013-05-13 14:28:56 -0700 | [diff] [blame] | 49 | </p> |
| 50 | |
| 51 | <p> |
| 52 | Of course, this is not the only (or necessarily best) way to measure A/V sync and latency, |
| 53 | and we would like to hear about your alternative methods, also at android-porting group. |
| 54 | </p> |
| 55 | |
| 56 | <p> |
| 57 | There are currently no compatibility requirements to use this particular PCB. |
| 58 | We supply it to encourage your continued attention to audio performance. |
| 59 | </p> |
| 60 | |
| 61 | <h2 id="images">Images</h2> |
| 62 | |
| 63 | <p> |
| 64 | These photos show the circuit in action. |
| 65 | </p> |
| 66 | |
Clay Murphy | c325dae | 2013-05-14 15:38:20 -0700 | [diff] [blame] | 67 | <img style="margin:1.5em auto" src="images/breadboard.jpg" alt="breadboard prototype" /> |
Glenn Kasten | 4fe3ba4 | 2013-05-13 14:28:56 -0700 | [diff] [blame] | 68 | <br /> |
| 69 | <center>Breadboard prototype</center> |
| 70 | |
Clay Murphy | c325dae | 2013-05-14 15:38:20 -0700 | [diff] [blame] | 71 | <img style="margin:1.5em auto" src="images/pcb.jpg" alt="an early run of the PCB" /> |
Glenn Kasten | 4fe3ba4 | 2013-05-13 14:28:56 -0700 | [diff] [blame] | 72 | <br /> |
| 73 | <center>An early run of the PCB</center> |
| 74 | |
Clay Murphy | c325dae | 2013-05-14 15:38:20 -0700 | [diff] [blame] | 75 | <img style="margin:1.5em auto" src="images/display.jpg" alt="example display"> |
Glenn Kasten | 4fe3ba4 | 2013-05-13 14:28:56 -0700 | [diff] [blame] | 76 | <br /> |
| 77 | <center>Example display</center> |
| 78 | <p> |
| 79 | This image |
| 80 | shows the scope display for an unspecified device, software release, and test conditions; |
| 81 | the results are not typical and cannot be used to extrapolate to other situations. |
| 82 | </p> |
| 83 | |
| 84 | <h2 id="video">Video</h2> |
| 85 | |
| 86 | <p> |
| 87 | This <a href="http://www.youtube.com/watch?v=f95S2IILBJY">Youtube video</a> |
| 88 | shows the the breadboard version testing circuit in operation. |
| 89 | Skip ahead to 1:00 to see the circuit. |
| 90 | </p> |
| 91 | |