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; Thu, 19 Mar 2020 07:10:56 -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 02JE01Md008549; Thu, 19 Mar 2020 10:00:36 -0400 Received: from outgoing-exchange-7.mit.edu (OUTGOING-EXCHANGE-7.MIT.EDU [18.9.28.58]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 02JDxvJ9008538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 19 Mar 2020 09:59:59 -0400 Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-7.mit.edu (8.14.7/8.12.4) with ESMTP id 02JDxaYp030091 for ; Thu, 19 Mar 2020 09:59:57 -0400 Received: from oc11expo23.exchange.mit.edu (18.9.4.88) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Thu, 19 Mar 2020 09:59:29 -0400 Received: from oc11exhyb5.exchange.mit.edu (18.9.1.110) by oc11expo23.exchange.mit.edu (18.9.4.88) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Thu, 19 Mar 2020 09:59:42 -0400 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.58) by oc11exhyb5.exchange.mit.edu (18.9.1.110) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 19 Mar 2020 09:59:42 -0400 Received: from DM5PR07CA0055.namprd07.prod.outlook.com (2603:10b6:4:ad::20) by BL0PR01MB4498.prod.exchangelabs.com (2603:10b6:208:89::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.19; Thu, 19 Mar 2020 13:59:41 +0000 Received: from DM3NAM03FT025.eop-NAM03.prod.protection.outlook.com (2603:10b6:4:ad:cafe::7d) by DM5PR07CA0055.outlook.office365.com (2603:10b6:4:ad::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.15 via Frontend Transport; Thu, 19 Mar 2020 13:59:41 +0000 Received: from premium47-4.web-hosting.com (68.65.123.244) by DM3NAM03FT025.mail.protection.outlook.com (10.152.82.181) 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 13:59:41 +0000 Received: from 072-238-001-037.res.spectrum.com ([72.238.1.37]:49738 helo=[192.168.10.107]) by premium47.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1jEvhv-00259w-G9; Thu, 19 Mar 2020 09:59:40 -0400 From: Neil To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Thu, 19 Mar 2020 06:59:34 -0700 Subject: Re: [EE] Measuring speaker impedance Thread-Topic: [EE] Measuring speaker impedance Thread-Index: AdX9+DV6yF9kNKfCRouqMS+SPwQjfw== Message-ID: <5E737AC6.7090606@narwani.org> References: <5E72FCDA.8020300@narwani.org> <20200319051654.GJ7503@laptop.org> List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: <20200319051654.GJ7503@laptop.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: None (protection.outlook.com: narwani.org does not designate permitted sender hosts) dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=narwani.org ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:Reply-To:To:References:Subject:Sender:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YQCr/6NdKXHjAhLcsOD9JSMJSWB55qOupzC0tfrVOS4=; b=oRBh5av4elJR05snCKxVu6J48U dU9dr9o7rLxhhWlNjyH21Dt+IXhH2LznVWqLRIp5lxga/5NlHk/5AjGoRYf050i2D8v0ze/5Err/s O/4JYy33mpjGDsC81RKBhWCMbfOS7La24UJ0Mma44FobrA6PPhW+ZD6wWnACpXa5AgfHDAbNw+csg 8qjN9Bsj23oGsGOybsGfrInWLSPXbCNIxh1PmjLpHJfFSeK7gcKJ5eCFQWVLEedBs3qw/HlYYfIXn ypbGqSumB5ks5AewXuRGdriP7hGPk7DxsUDR7lhYBBUOu1fR7GkLjVtleofStOyBtt1wfO+aXEtW/ 2N60awYQ==; authentication-results: spf=none (sender IP is 68.65.123.244) smtp.mailfrom=narwani.org; mit.edu; dkim=pass (signature was verified) header.d=narwani.org;mit.edu; dmarc=bestguesspass action=none header.from=narwani.org;compauth=pass reason=109 user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 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-source-args: x-source-dir: x-antiabuse: Sender Address Domain - narwani.org x-source: x-authenticated-sender: premium47.web-hosting.com: ca4@narwani.org x-topics: [EE] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On 3/19/2020 1:16 AM, James Cameron wrote: > 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. This I expected. I was thinking I'd do a test with 2 frequencies and=20 compare impedances of each with impedance of both together. > 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. I think I partially understand this. Is there a way to calculate/cancel=20 this out, given the audio signal measured from the output of the=20 amplifier vs. the same audio signal measured with a microphone? Though=20 with a microphone, we'd have to ensure there's no other external noise=20 being picked up. > > On Thu, Mar 19, 2020 at 01:02:18AM -0400, Neil wrote: >> Hi, >> >> I'm working on a project for a friend, which will measure speaker >> impedance over a given frequency range. I'm thinking I'd use a function >> generator sweeping across frequency range, then measure current (prob >> with a clamp sensor) and voltage across the speaker and do the math from >> there. No prob so far. >> >> But can how about doing this dynamically? IE: play music and >> dynamically figure out speaker impedance from there. He believes >> commercial devices do this. So far, all I can think of is measuring the >> voltage and current as before, but dynamically FFT-ing both and >> (rapidly) doing the math from there. Does this seem workable? >> >> Cheers, >> -Neil. >> >> >> --=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 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .