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:16:03 -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 02JE6T2J009671; Thu, 19 Mar 2020 10:06:37 -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 02JE6PZA009658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 19 Mar 2020 10:06:25 -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 02JE68JL030565 for ; Thu, 19 Mar 2020 10:06:23 -0400 Received: from w92exhyb4.exchange.mit.edu (18.7.71.74) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Thu, 19 Mar 2020 10:05:54 -0400 Received: from oc11exhyb8.exchange.mit.edu (18.9.1.113) by w92exhyb4.exchange.mit.edu (18.7.71.74) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 19 Mar 2020 10:06:07 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.105) by oc11exhyb8.exchange.mit.edu (18.9.1.113) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 19 Mar 2020 10:06:06 -0400 Received: from MWHPR14CA0029.namprd14.prod.outlook.com (2603:10b6:300:12b::15) by BN6PR0101MB2947.prod.exchangelabs.com (2603:10b6:405:31::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.14; Thu, 19 Mar 2020 14:06:04 +0000 Received: from CO1NAM03FT063.eop-NAM03.prod.protection.outlook.com (2603:10b6:300:12b:cafe::36) by MWHPR14CA0029.outlook.office365.com (2603:10b6:300:12b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19 via Frontend Transport; Thu, 19 Mar 2020 14:06:04 +0000 Received: from delivery.mailspamprotection.com (69.175.69.93) by CO1NAM03FT063.mail.protection.outlook.com (10.152.81.61) 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 14:06:03 +0000 Received: from 105.16.208.35.bc.googleusercontent.com ([35.208.16.105] helo=siteground216.com) by se4.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jEvnw-00036n-VX for piclist@mit.edu; Thu, 19 Mar 2020 09:05:58 -0500 Received: from [75.121.135.249] (port=60897 helo=Taurus) by siteground216.com with esmtpa (Exim 4.90.1) (envelope-from ) id 1jEvnu-000ECJ-VZ for piclist@mit.edu; Thu, 19 Mar 2020 14:05:47 +0000 From: Matt Pobursky To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Thu, 19 Mar 2020 07:06:23 -0700 Subject: Re: [EE] Measuring speaker impedance Thread-Topic: [EE] Measuring speaker impedance Thread-Index: AdX9+OzTPVdvAht5QBCUBv/WWYcbYQ== Message-ID: <20203199623.359050@Taurus> 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: TempError X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of mps-design.com designates 69.175.69.93 as permitted sender) receiver=protection.outlook.com; client-ip=69.175.69.93; helo=delivery.mailspamprotection.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mitprod.onmicrosoft.com; s=selector2-mitprod-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RTb5gkKMxqzIHk5B5yyig1VuKd2bAajbCJRcmr6oolY=; b=ag5JMcMU8tiD40AdRvjcIwG1DavnX+hIkbOHITm2O3cmnXWECQy9PU/etb775tt2MXnYr7KgURKeNMsXqVimLU7E03jhFPhhqGgdpzktWHmDNxjwGwvckZsljtejBDr4HdBjRUBJVyHg12sOHbErvK7UOIlXVhr9xzjWjJMv+Zo= authentication-results: spf=pass (sender IP is 69.175.69.93) smtp.mailfrom=mps-design.com; mit.edu; dkim=none (message not signed) header.d=none;mit.edu; dmarc=bestguesspass action=none header.from=mps-design.com;compauth=pass reason=109 x-originating-ip: 35.208.16.105 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 - mps-design.com x-source: x-topics: [EE] x-mime-autoconverted: from quoted-printable to 8bit by PCH.mit.edu id 02JE6PZA009658 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Neil, I've been designing loudspeakers since the mid 80's and can hopefully provide some advice from the experience I've had over the years. Using a known frequency sweep and "doing the math" is how it's been done pretty much since the beginning. It's how I started since professional audio analyzers used to cost many $1000's 30 years ago. Using a dynamic signal is problematic for a lot of reasons, many have tried and few if any achieve results that are as accurate as a known sweep. Depending what your friend's goals and objectives are would shape my advice to you guys. If you are wanting to accurately measure speaker drivers of known or unknown specifications for speaker building, i.e. some number of drivers, driver sorting/matching, parameter verification, etc. then I would highly recommend a commercial device like: https://www.parts-express.com/dayton-audio-dats-v3-computer-based-speaker-a= udio-component-test-system--390-807#! I have one, have used it extensively and it's fast, relatively cheap and accurate. It's also very versatile and can measure a lot more than just a single speaker driver. You'd be hard pressed to roll your own anything that comes close for anywhere near the same money and especially time. If you are mostly doing this as a learning experience then I'd recommend a couple reference books: I've been using this one since the 2nd or 3rd edition back in the 80's and a great all around tutorial on how loudspeakers, drivers and crossovers work. https://www.parts-express.com/loudspeaker-design-cookbook-7th-edition-book-= -500-035 Also a great technical reference, probably not for a beginner but written by one of the industry giants (Joe D'Appolito) and full of great information: https://www.parts-express.com/testing-loudspeakers-book--500-030 Good luck. It's a deep rabbit hole once you go down it, I've done dozens of designs and learn something new with each design! I've been working on the design of some new speakers to add to my collection and have recently been updating my design tools, technical information and component sources. There's so much cool new stuff available I'm really impressed. Matt Pobursky Maximum Performance Systems On Thu, 19 Mar 2020 01:02:18 -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 .