Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Wed, 18 Mar 2020 22:26:00 -0700 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 02J5H4as016492; Thu, 19 Mar 2020 01:17:14 -0400 Received: from outgoing-exchange-5.mit.edu (OUTGOING-EXCHANGE-5.MIT.EDU [18.9.28.59]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 02J5H3nI016488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 19 Mar 2020 01:17:03 -0400 Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 02J5H8Xh016236 for ; Thu, 19 Mar 2020 01:17:08 -0400 Received: from oc11expo16.exchange.mit.edu (18.9.4.47) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Thu, 19 Mar 2020 01:14:46 -0400 Received: from oc11exhyb6.exchange.mit.edu (18.9.1.111) by oc11expo16.exchange.mit.edu (18.9.4.47) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Thu, 19 Mar 2020 01:17:02 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.175) by oc11exhyb6.exchange.mit.edu (18.9.1.111) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 19 Mar 2020 01:17:02 -0400 Received: from MWHPR14CA0063.namprd14.prod.outlook.com (2603:10b6:300:81::25) by DM5PR0102MB3479.prod.exchangelabs.com (2603:10b6:4:a4::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.22; Thu, 19 Mar 2020 05:17:01 +0000 Received: from CO1NAM03FT012.eop-NAM03.prod.protection.outlook.com (2603:10b6:300:81:cafe::69) by MWHPR14CA0063.outlook.office365.com (2603:10b6:300:81::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.18 via Frontend Transport; Thu, 19 Mar 2020 05:17:00 +0000 Received: from mail-pj1-f42.google.com (209.85.216.42) by CO1NAM03FT012.mail.protection.outlook.com (10.152.80.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13 via Frontend Transport; Thu, 19 Mar 2020 05:17:00 +0000 Received: by mail-pj1-f42.google.com with SMTP id m15so485568pje.3 for ; Wed, 18 Mar 2020 22:17:00 -0700 (PDT) Received: from esk ([1.129.131.105]) by smtp.gmail.com with ESMTPSA id u41sm772516pgn.8.2020.03.18.22.16.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Mar 2020 22:16:58 -0700 (PDT) Received: from james by esk with local (Exim 4.90_1) (envelope-from ) id 1jEnY6-0003qN-N3; Thu, 19 Mar 2020 16:16:54 +1100 From: James Cameron To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Wed, 18 Mar 2020 22:16:54 -0700 Subject: Re: [EE] Measuring speaker impedance Thread-Topic: [EE] Measuring speaker impedance Thread-Index: AdX9ruCywpyOqQZlRAOBDnTOSfkgZw== Message-ID: <20200319051654.GJ7503@laptop.org> References: <5E72FCDA.8020300@narwani.org> List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: <5E72FCDA.8020300@narwani.org> Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of laptop.org designates 209.85.216.42 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.216.42; helo=mail-pj1-f42.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=laptop-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=d9ALArRa0IQwI+z6tGCsyXjkAmFZLENNWXS+US8rV1I=; b=BUg00ZlGSvMnOPRenfPYK4RuScFCwseBWu1rYnhiIJP2XbCn3B14Tj2kWbGSk3c2Mx BONoanylPJ5YjcfH6sWSWwBUDcqu50pJino5OhP2pSVerwAaiGsmFpSZJN7UORWC2iG1 x/uuqKS81NcEGSnB1CJ2WOr7EtQHNorGbU4XRAkpvn9QKwXLT3eauPHCMInHZ2fxhwva BhLwpOErmdIU9L210BTdU5J3/AxoKfBJmnV6kATAtdrD7ZJ4/1IRhc5ZbF9f24aC83Rb Oo7cBVJ7FRgjyRs43HRwWyMdiPVoz+qS42eaLy3y2+lwLwQG1wVJ0/eWFwVIjyh/yx1A 95Qg== authentication-results: spf=pass (sender IP is 209.85.216.42) smtp.mailfrom=laptop.org; mit.edu; dkim=pass (signature was verified) header.d=laptop-org.20150623.gappssmtp.com; mit.edu; dmarc=bestguesspass action=none header.from=laptop.org;compauth=pass reason=109 user-agent: Mutt/1.9.4 (2018-02-28) errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-received: by 2002:a17:90a:d3c7:: with SMTP id d7mr1836470pjw.169.1584595019366; Wed, 18 Mar 2020 22:16:59 -0700 (PDT) x-topics: [EE] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Problem foreseen is that the impedance you measure will then depend on a set of simultaneous frequencies rather than a signal of just one frequency, so using the impedance meaningfully is limited. The other thing is that the starting position of the cone would matter; a low frequency signal within the mix of signals could cause the cone to be in a position that may beat with the sampling. So despite doing it rapidly you could have the low frequency signal imposed on the results. On Thu, Mar 19, 2020 at 01:02:18AM -0400, Neil wrote: > Hi, >=20 > I'm working on a project for a friend, which will measure speaker=20 > impedance over a given frequency range. I'm thinking I'd use a function= =20 > generator sweeping across frequency range, then measure current (prob=20 > with a clamp sensor) and voltage across the speaker and do the math from= =20 > there. No prob so far. >=20 > But can how about doing this dynamically? IE: play music and=20 > dynamically figure out speaker impedance from there. He believes=20 > commercial devices do this. So far, all I can think of is measuring the= =20 > voltage and current as before, but dynamically FFT-ing both and=20 > (rapidly) doing the math from there. Does this seem workable? >=20 > Cheers, > -Neil. >=20 >=20 > --=20 > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 James Cameron http://quozl.netrek.org/ --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .