Return-Path: Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=linux.intel.com (client-ip=192.55.52.151; helo=mga17.intel.com; envelope-from=james.feist@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45qMKP2CHnzDqHY for ; Fri, 19 Jul 2019 03:57:11 +1000 (AEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jul 2019 10:57:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,279,1559545200"; d="scan'208";a="251885755" Received: from skyhawk.jf.intel.com (HELO [10.54.51.81]) ([10.54.51.81]) by orsmga001.jf.intel.com with ESMTP; 18 Jul 2019 10:57:08 -0700 Subject: Re: [External] Re: Questions regarding of phosphor-pid-control To: Derek Lin23 , Patrick Venture Cc: Yonghui YH21 Liu , Harry Sung1 , OpenBMC Maillist , Andrew MS1 Peng , Lisa YJ19 Liu , Haitao HT11 Wang , Xiaohan XH6 Xu References: <5a7988638ddf428cb8267d7e339cdbcf@lenovo.com> From: James Feist Message-ID: <2b4006da-752e-fa9b-8500-431c5b42d00f@linux.intel.com> Date: Thu, 18 Jul 2019 10:57:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2019 17:57:14 -0000 On 7/17/19 7:40 PM, Derek Lin23 wrote: > Hi Patrick: > >           The open-loop in this context is more likely to set duty of > PWM manually. > >           For example, when reading a sensor above or below a certain > pre-defined temperature, then the duty of a PWM is revved up or lower to > the desired fan-speed. You could use stepwise configurations to get this response. Here's an example of a lower clipping curve that when the reading of the sensor is 20, outputs 50%, and when it reads 30 outputs 60%. https://github.com/openbmc/entity-manager/blob/9813279b57359bd1602da236ff7d38bcc9a2fba4/configurations/R2000%20Chassis.json#L428 This is also configurable from the json I believe. > >           More likely, PWM is set simply by the reading of a > temperature sensor. A map of temperature readings and PWM values can be > represented as an example. > > Thank you, > > Derek > > *From:*Patrick Venture > *Sent:* Tuesday, July 16, 2019 1:02 AM > *To:* Derek Lin23 ; James Feist > > *Cc:* Yonghui YH21 Liu ; Harry Sung1 > ; OpenBMC Maillist > *Subject:* [External] Re: Questions regarding of phosphor-pid-control > > On Tue, Jul 9, 2019 at 2:03 AM Derek Lin23 > wrote: > > Hi Patrick: > > Adding the openbmc mailing list.  Please always include this mailing > list in your emails for archiving and later reference as well as opening > up the question to others. > > Also adding James Feist as he co-maintains this codebase. > >           This is Derek from Lenovo BMC team. > >           We have some questions regarding ofphosphos-pid-control > , and we hope you > can provide some advice of the component. > >           Currently, we would like to import phosphor-pid-control > as our thermal fan control module. After a brief study, we would > like to know if phosphor-pid-control can support open-loop and > event-triggered events? > > I don't really know what open-loop means in this context.  Registering > for events, like? > > Thank you for your feedbacks, > > Derek > > ------------------------------------------------------------------------ > > *Derek Lin* > Sr. BMC Engineer > 8F,66, San Chong Rd., Nankang Software Park, Taipei. > Lenovo Taiwan > > > > Phone+886281707411 > Emaildlin23@lenovo.com > > > > Lenovo.com > Twitter  | Instagram >  | Facebook >  | Linkedin >  | YouTube >  | Privacy > > > > > ImageLogo-DCG-Honeycomb > > >