Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PID for BLDC motor- cooling application

Status
Not open for further replies.

RenesasT

Full Member level 2
Joined
Mar 11, 2016
Messages
149
Helped
0
Reputation
0
Reaction score
0
Trophy points
16
Activity points
1,330
Hi,

I am using Renesas controller for one of my cooling based application project. I want to operate temperature by using BLDC motor using PID algorithm. I think I need only P and I algorithms and does not need D algorithm( for which I will keep Kd=0 always). My application is like, for particular temperature, my motor should run at full speed to cool the system. Once set point reach, the speed should be decease in a such a way that temperature should be stable at a particular stage.

Requesting you to please help me in this case. My i/p is normal temperature sensor which is connected to A to D pin and O/p is PWM pulses.

Please help me.
 

I am not able to understand the concept of tuning. I have a simple code. Shall I post here. I am not sure whether it is appropriate or not. Can you please check?
 

It is a bit pointless. Cooling is not a big deal. Just switch on the fan if temperature is higher than some value. Optionally trigger the alarm if cooling is poor.
 

Hello,

My application is like to maintain the temperature using FAN. That is why the PID is required. Without PID it wont be possible. How to tune PID parameters and How to select the PID parameters.
 

I think I need only P and I algorithms and does not need D algorithm( for which I will keep Kd=0 always).

You do not know what do you need untill calculus is done.

You have plant (FAN) and setpoint = desired temperature. Output=temperature of the whatever.
In your plant, you need to find out how does it affect the output temperature. Model it, then use matlab to find out desired PID.
 

Hello,

I do not have Matlab. My aaplication is like if setpoint is not reached then I have to run motor at high speed(PWM ). Once it reach then I have to decrease the speed.

For which derivative term is not required as I do not need future values.

This I have studied on internet. Please suggest proper way. Will wait for your reply.
 

Much easier to perform the experiment which values will fit better. According my experience, 1 time per second will be good enought. The PID values should be P = 1, I = 0.05, D = 0.25. This is some reference values to start from.
 

You can refer to simple tuning methods like Ziegler-Nichols.
 

@ Easyride: Thanks for your values. I would definitely start tuning from these values. Please can I have sample code that you are referring. I have one code, but I am not pretty sure about that code.

@FvM: Thank you for update. Can I have more description about Ziegler-Nichols. I really don't know about, what it actually means.
 

@ Easyridrer : I am not able to find your code as search box is not giving proper results. Please help me.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top