Previous 199869 Revisions Next

r31236 Tuesday 8th July, 2014 at 23:38:08 UTC by Couriersud
Updated information about measurements and model derived from those. [Couriersud]
[src/emu/sound]ay8910.c

trunk/src/emu/sound/ay8910.c
r31235r31236
6868 * will NOT work out of the box since RV = RV(RD).
6969 *
7070 * The following approach will be used going forward based on die pictures
71 * of the AY8910 done by Dr Stack van Hay:
71 * of the AY8910 done by Dr. Stack van Hay:
7272 *
7373 *
74 *
7574 *              5V
7675 *             _| D
7776 *          G |      NMOS
78 *     Vg ---||
77 *     Vg ---||               Kn depends on volume selected
7978 *            |_  S Vs
8079 *               |
81 *               Z
82 *               Z Resistor Value for RV
83 *               Z
8480 *               |
8581 *               +---> VO Output signal
8682 *               |
r31235r31236
9490 *
9591 *  Id = Kn * (Vgs - Vtn)^2
9692 *
97 *  Using Id = Vs / (RV + RD)
93 *  Using Id = Vs / RD
9894 *
99 *  Vs = Kn * (RV + RD) * (Vg - Vs - Vtn)^2
95 *  Vs = Kn * RD * (Vg - Vs - Vtn)^2
10096 *
10197 *  finally using Vg' = Vg - Vtn
10298 *
103 *  Vs = Vg' + 1 / (2 * Kn * (RV + RD)) - sqrt((Vg' + 1 / (2 * Kn * (RV + RD)))^2 - Vg'^2)
99 *  Vs = Vg' + 1 / (2 * Kn * RD) - sqrt((Vg' + 1 / (2 * Kn * RD))^2 - Vg'^2)
104100 *
105 *  and thus
101 *  and finally
106102 *
107 *  VO = Vs * RD / (RV + RD)
103 *  VO = Vs
108104 *
109105 *  and this can be used to re-Thenevin to 5V
110106 *
r31235r31236
113109 *  The RV and Kn parameter are derived using least squares to match
114110 *  calculation results with measurements.
115111 *
116 *
117112 *  FIXME:
118113 *  There is voltage of 60 mV measured with the EX520 (Ri ~ 10M). This may
119114 *  be induced by cutoff currents from the 15 FETs.

Previous 199869 Revisions Next


© 1997-2024 The MAME Team