The application relates to a device and method for controlling the temperature of a
mammal piglet, which comprises: a temperature lamp
control unit for collecting the ambient temperature,
relative humidity and
wind speed in each sensor of a current compartment, and controlling the power of a temperature lamp by using a
PID control algorithm according to the ambient temperature,
relative humidity and
wind speed and the target value of the
thermal sensation temperature of each piglet of different ages, so as to meet the required
thermal sensation temperature of the piglets of different ages; a feeder
control unit for transmitting the
power consumption of the temperature lamp, the power of the temperature lamp, the ambient temperature, the
relative humidity, the
thermal sensation temperature, the number of piglets in a
single compartment and the age data of the piglets to a central controller through CAN communication; and a terminal device for carrying out human-computer interaction with the feeder
control unit, monitoring the
power consumption of the temperature lamp, the power of the temperature lamp, the ambient temperature, the relative
humidity, the thermal
sensation temperature, the number of piglets in a
single compartment and the age data of the piglets. The application can greatly increase the
survival rate of piglets, reduce the
energy consumption of the temperature lamp and monitor the environment of the piglets.