CN109356875A - A kind of server fan control method, apparatus and system - Google Patents

A kind of server fan control method, apparatus and system Download PDF

Info

Publication number
CN109356875A
CN109356875A CN201811554581.8A CN201811554581A CN109356875A CN 109356875 A CN109356875 A CN 109356875A CN 201811554581 A CN201811554581 A CN 201811554581A CN 109356875 A CN109356875 A CN 109356875A
Authority
CN
China
Prior art keywords
bmc
fan
firmware
driving signal
cpld
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811554581.8A
Other languages
Chinese (zh)
Other versions
CN109356875B (en
Inventor
吴泰颉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201811554581.8A priority Critical patent/CN109356875B/en
Publication of CN109356875A publication Critical patent/CN109356875A/en
Application granted granted Critical
Publication of CN109356875B publication Critical patent/CN109356875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/001Testing thereof; Determination or simulation of flow characteristics; Stall or surge detection, e.g. condition monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D25/00Pumping installations or systems
    • F04D25/02Units comprising pumps and their driving means
    • F04D25/08Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/004Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D29/00Details, component parts, or accessories
    • F04D29/002Details, component parts, or accessories especially adapted for elastic fluid pumps

Abstract

The invention discloses a kind of server fan control methods, apparatus and system, applied to complex programmable logic device (CPLD), including detect BMC firmware whether failure, if, then the BMC spare driving signal exported is exported to fan, to be controlled according to revolving speed of the spare driving signal to fan.CPLD in the embodiment of the present invention is in the firmware failure for detecting BMC, the signal exported to BMC is only needed to switch over, the BMC spare driving signal exported is exported to fan, to be controlled by the spare driving signal the revolving speed of fan, mechanism and hardware design are simple, the logic gate quantity for reducing CPLD, advantageously reduces product cost.

Description

A kind of server fan control method, apparatus and system
Technical field
The present embodiments relate to field of computer technology, more particularly to a kind of server fan control method, device And system.
Background technique
The heat dissipation of usual server is to generate the distinguished and admirable heat for taking away heating device in cabinet by fan to realize. Currently, the revolving speed of server fan is controlled by BMC firmware, wherein the PWM pin foot of BMC is connected to fan by CPLD Control terminal establishes heartbeat connection between BMC and CPLD, it is disconnected that heartbeat connection is established when BMC firmware failure, between BMC and CPLD It opens, needing complicated mechanism and hardware design to realize before BMC restores normal after BMC firmware failure in the prior art will be by CPLD controls fan.After BMC firmware failure, fan is controlled by CPLD, not only mechanism and hardware design Complexity, and the usage quantity of CPLD logic gate is larger, can increase the cost of product to a certain extent.
In consideration of it, how to provide it is a kind of solve the server fan control method of above-mentioned technical problem, apparatus and system at For those skilled in the art's problem to be solved.
Summary of the invention
The purpose of the embodiment of the present invention is that a kind of server fan control method, apparatus and system are provided, in use process In reduce the logic gate quantity of CPLD, advantageously reduce product cost.
In order to solve the above technical problems, being applied to multiple the embodiment of the invention provides a kind of server fan control method Miscellaneous programmable logic device (CPLD), comprising:
Detect BMC firmware whether failure, if so, the spare driving signal that the BMC is exported is exported to fan, with Just the revolving speed of the fan is controlled according to the spare driving signal.
Optionally, further includes:
Detect whether the firmware of the BMC restores normally, if so, the main driving signal that the BMC firmware is exported Output is to fan, to control according to the main driving signal the revolving speed of the fan.
Optionally, it is described detection BMC firmware whether the process of failure are as follows:
Detect whether the output signal of bus extender GPIO that connect with the BMC from low potential is raised supreme electricity Position, if so, the firmware failure of the BMC.
Optionally, whether the firmware for detecting the BMC restores normal process are as follows:
Whether the output signal for detecting the bus extender GPIO from high potential is pulled low to low potential, if so, institute The firmware restoration for stating BMC is normal.
Optionally, the PWM dither signal that the firmware that the main control signal is the BMC exports.
Optionally, the spare driving signal is the timer shake letter for being set to the microcontroller output inside the BMC Number.
The embodiment of the present invention provides a kind of server fan control device accordingly, is applied to CPLD, comprising:
Detection circuit, for detect BMC firmware whether failure, if so, triggering switching circuit;
The switching circuit, the spare driving signal for exporting the BMC is exported to fan, so as to according to described standby It is controlled with revolving speed of the driving signal to the fan.
Optionally, the detection circuit, is also used to detect whether the firmware of the BMC restores normally, if so, triggering The switching circuit;
The switching circuit is also used to export the main driving signal that the BMC firmware exports to fan, so as to according to institute Main driving signal is stated to control the revolving speed of the fan.
The embodiment of the invention also provides a kind of server fan control systems, including BMC and input terminal with the BMC's The CPLD that output end connection, output end are used to connect with the control terminal of fan, the CPLD is for executing clothes as described above The method of business device fan control.
The embodiment of the invention provides a kind of server fan control methods, apparatus and system, are applied to complex programmable Logic device (CPLD), comprising: detect BMC firmware whether failure, if so, by BMC export spare driving signal export to Fan, to be controlled according to revolving speed of the spare driving signal to fan.As it can be seen that the CPLD in the embodiment of the present invention is being detected To BMC firmware failure when, it is only necessary to BMC output signal switch over, by BMC export spare driving signal export to Fan, to be controlled by the spare driving signal the revolving speed of fan, mechanism and hardware design are simple, reduce The logic gate quantity of CPLD, advantageously reduces product cost.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of server fan control method provided in an embodiment of the present invention;
Fig. 2 is a kind of electrical block diagram of server fan control system provided in an embodiment of the present invention;
Fig. 3 is a kind of structural block diagram of server fan control device provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of server fan control methods, apparatus and system, reduce in use The logic gate quantity of CPLD, advantageously reduces product cost.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, Fig. 1 is a kind of flow diagram of server fan control method provided in an embodiment of the present invention. This method is applied to complex programmable logic device (CPLD), can specifically include:
S110: detect BMC firmware whether failure, if so, into S120;
It should be noted that after powering, BMC can export two kinds of control signals to CPLD, one is main driving signal, one It kind is spare driving signal, wherein in the normal situation of firmware of BMC, BMC can export main driving signal, and The main driving signal that CPLD default exports BMC when booting is exported to fan, so as to the wind speed using main driving signal to fan It is controlled.Wherein, the PWM dither signal that the present embodiment Zong Guo winner driving signal can export for the firmware of BMC, spare drive Dynamic signal can be set to inside BMC microcontroller output timer dither signal, be specifically as follows microcontroller according to The fluctuation signal of the timer duty output of timer setting.
S120: the BMC spare driving signal exported is exported to fan, to turn according to spare driving signal to fan Speed is controlled.
Specifically, needing to switch over output signal, exporting when CPLD detects the firmware failure of BMC Signal switches to spare driving signal by main driving signal, thus controlled using wind speed of the spare driving signal to fan, In order to avoid fan is rotated with a certain fixed frequency, cause to influence system radiating effect or waste of energy.CPLD in the present embodiment is only It needs to execute the movement of switching after the firmware failure for detecting BMC, CPLD can be greatly reduced compared with the existing technology Logic gate usage quantity reduces the consumption of CPLD logic gate, and then reduces cost.
Further, this method can also include:
Detect whether the firmware of BMC restores normally, if so, exporting the main driving signal that BMC firmware exports to wind Fan, to be controlled according to revolving speed of the main driving signal to fan.
Specifically, can consolidate after the firmware failure of BMC to BMC to preferably control the revolving speed of fan Part state is measured in real time, and after the firmware restoration of BMC is normal, BMC will normally export main driving signal, so After the firmware restoration of BMC is normal, output signal is switched to main driving signal by spare driving signal by CPLD, to continue to use Main driving signal controls the wind speed of fan.
Further, in above-mentioned S110 detect BMC firmware whether the process of failure, be specifically as follows:
Detect whether the output signal of bus extender GPIO that connect with BMC from low potential is pulled to high potential, if It is, then the firmware failure of BMC.
Specifically, can be set in the GPIO of BMC connection, GPIO is external to draw high resistance, when BMC firmware is normal, GPIO's Output signal is low potential, and when BMC firmware failure, the output signal current potential of GPIO is drawn high resistance and drawn high as high potential, institute Can judge that BMC firmware is high potential or low potential according to the current potential situation of GPIO output signal, so that it is determined that BMC out Whether firmware breaks down.
Further, whether the above-mentioned firmware for detecting BMC restores normal process, is specifically as follows:
Whether the output signal for detecting bus extender GPIO from high potential is pulled low to low potential, if so, BMC's consolidates Part restores normal.
That is, detecting that the output signal of GPIO is restored by high potential to low potential in CPLD, then illustrate that the firmware of BMC is extensive It is multiple normal, so the control signal of fan can be switched to the main driving signal that BMC firmware exports at this time, and by the main driving Signal is exported to fan.
It should also be noted that, the microcontroller of BMC itself includes timer pin, it is mainly used in array setting time After inverse, externally the signal of output variation, part timer pin support automatic cycle is arranged can export duty to reach Than (duty cycle), therefore the circuit diagram of one of the application specific embodiment can be as shown in Figure 2, in which:
The first output end of BMC is connected by the first input end of timer pin and CPLD, and the second output terminal of BMC is logical The second input terminal connection of PWM pin and CPLD are crossed, the output end of CPLD and the control terminal of fan connect, and the third end of BMC is logical GPIO is crossed to connect with the test side CPLD.Wherein, timer pin is for the microcontroller in BMC according to preset timer The duty signal of duty output;PWM pin controls rotation speed of the fan for BMC firmware.
Wherein, timer pin is used for when the firmware of BMC is out of order and is unable to control fan, and CPLD is by the microcontroller in BMC The control terminal to fan for the duty signal output that device is exported according to preset timer duty, with the wind speed to fan into Row control;PWM pin controls rotation speed of the fan for BMC firmware.After host booting, CPLD default exports the firmware in BMC Pwm signal export to the control terminal of fan, PWM pin is also switched to fan control end, when the firmware for detecting BMC goes out After failure, timer pin is switched to fan control end, to exporting the driving signal that the microcontroller of BMC exports to wind The control terminal of fan.
The embodiment of the invention provides a kind of server fan control methods, are applied to Complex Programmable Logic Devices CPLD, comprising: detect BMC firmware whether failure, if so, by BMC export spare driving signal export to fan, so as to It is controlled according to revolving speed of the spare driving signal to fan.As it can be seen that the CPLD in the embodiment of the present invention is detecting consolidating for BMC When part failure, it is only necessary to the signal of BMC output is switched over, the BMC spare driving signal exported is exported to fan, To be controlled by the spare driving signal the revolving speed of fan, mechanism and hardware design are simple, reduce patrolling for CPLD Lock quantity is collected, product cost is advantageously reduced.
On the basis of the above embodiments, the embodiment of the present invention provides a kind of server fan control device accordingly, Applied to CPLD, specifically referring to figure 3..The apparatus may include:
Detection circuit 31, for detect BMC firmware whether failure, if so, triggering switching circuit 32;
Switching circuit 32, the spare driving signal for exporting BMC is exported to fan, so as to according to spare driving signal The revolving speed of fan is controlled.
Optionally, detection circuit 31, are also used to detect whether the firmware of BMC restores normally, if so, triggering switching electricity Road 32;
Switching circuit 32, the main driving signal for being also used to export in BMC firmware are exported to fan, to believe according to main driving Number the revolving speed of fan is controlled.
It should be noted that server fan control device provided in the present embodiment has and institute in above-described embodiment The identical beneficial effect of server fan control method of offer controls server fan involved in this present embodiment The specific introduction of method please refers to above-described embodiment, and details are not described herein by the application.
On the basis of the above embodiments, the embodiment of the invention also provides a kind of server fan control systems, including The CPLD that the connection of the output end of BMC and input terminal and BMC, output end are used to connect with the control terminal of fan, CPLD is for executing The method controlled such as above-mentioned server fan.
It should be noted that the embodiment of the present invention has and server fan control method provided in above-described embodiment Identical beneficial effect please refers to the specific introduction of server fan control method involved in this present embodiment above-mentioned Embodiment, details are not described herein by the application.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (9)

1. a kind of server fan control method is applied to complex programmable logic device (CPLD) characterized by comprising
Detect BMC firmware whether failure, if so, the spare driving signal that the BMC is exported is exported to fan, so as to according to The revolving speed of the fan is controlled according to the spare driving signal.
2. server fan control method according to claim 1, which is characterized in that further include:
Detect whether the firmware of the BMC restores normally, if so, the main driving signal of BMC firmware output is exported To fan, to control according to the main driving signal the revolving speed of the fan.
3. server fan control method according to claim 2, which is characterized in that whether the firmware of the detection BMC The process of failure are as follows:
Detect whether the output signal of bus extender GPIO that connect with the BMC from low potential is pulled to high potential, if It is, then the firmware failure of the BMC.
4. server fan control method according to claim 3, which is characterized in that described to detect consolidating for the BMC Whether part restores normal process are as follows:
Whether the output signal for detecting the bus extender GPIO from high potential is pulled low to low potential, if so, the BMC Firmware restoration it is normal.
5. server fan control method according to any one of claims 1-4, which is characterized in that the main control letter Number for the BMC firmware export PWM dither signal.
6. server fan control method according to claim 5, which is characterized in that the spare driving signal is setting The timer dither signal of microcontroller output inside the BMC.
7. a kind of server fan control device is applied to CPLD characterized by comprising
Detection circuit, for detect BMC firmware whether failure, if so, triggering switching circuit;
The switching circuit, the spare driving signal for exporting the BMC are exported to fan, so as to according to the spare drive Dynamic signal controls the revolving speed of the fan.
8. server fan control device according to claim 7, which is characterized in that
The detection circuit, is also used to detect whether the firmware of the BMC restores normally, if so, the triggering switching electricity Road;
The switching circuit is also used to export the main driving signal that the BMC firmware exports to fan, so as to according to the master Driving signal controls the revolving speed of the fan.
9. a kind of server fan control system, which is characterized in that connect including BMC and input terminal with the output end of the BMC, Output end is used for the CPLD connecting with the control terminal of fan, and the CPLD is as claimed in any one of claims 1 to 6 for executing Server fan control method.
CN201811554581.8A 2018-12-18 2018-12-18 Server fan control method, device and system Active CN109356875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811554581.8A CN109356875B (en) 2018-12-18 2018-12-18 Server fan control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811554581.8A CN109356875B (en) 2018-12-18 2018-12-18 Server fan control method, device and system

Publications (2)

Publication Number Publication Date
CN109356875A true CN109356875A (en) 2019-02-19
CN109356875B CN109356875B (en) 2020-11-10

Family

ID=65329869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811554581.8A Active CN109356875B (en) 2018-12-18 2018-12-18 Server fan control method, device and system

Country Status (1)

Country Link
CN (1) CN109356875B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109826822A (en) * 2019-04-11 2019-05-31 苏州浪潮智能科技有限公司 A kind of control method for fan and relevant apparatus
CN109882440A (en) * 2019-04-16 2019-06-14 苏州浪潮智能科技有限公司 A kind of fan rotation speed control apparatus and control method
CN111124827A (en) * 2019-12-22 2020-05-08 苏州浪潮智能科技有限公司 Monitoring device and monitoring method for equipment fan
CN111382027A (en) * 2020-02-29 2020-07-07 浪潮电子信息产业股份有限公司 BMC IP obtaining method and device and cabinet type server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102213227A (en) * 2010-04-02 2011-10-12 英业达股份有限公司 Multi-fan combined control system
CN107023504A (en) * 2017-06-02 2017-08-08 郑州云海信息技术有限公司 A kind of fan control system and control method based on BMC
CN206647293U (en) * 2017-03-03 2017-11-17 郑州云海信息技术有限公司 A kind of server fan rotating speed control system based on CPLD
CN108170575A (en) * 2017-12-25 2018-06-15 曙光信息产业(北京)有限公司 A kind of control method and device of server radiating

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102213227A (en) * 2010-04-02 2011-10-12 英业达股份有限公司 Multi-fan combined control system
CN206647293U (en) * 2017-03-03 2017-11-17 郑州云海信息技术有限公司 A kind of server fan rotating speed control system based on CPLD
CN107023504A (en) * 2017-06-02 2017-08-08 郑州云海信息技术有限公司 A kind of fan control system and control method based on BMC
CN108170575A (en) * 2017-12-25 2018-06-15 曙光信息产业(北京)有限公司 A kind of control method and device of server radiating

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109826822A (en) * 2019-04-11 2019-05-31 苏州浪潮智能科技有限公司 A kind of control method for fan and relevant apparatus
CN109882440A (en) * 2019-04-16 2019-06-14 苏州浪潮智能科技有限公司 A kind of fan rotation speed control apparatus and control method
CN111124827A (en) * 2019-12-22 2020-05-08 苏州浪潮智能科技有限公司 Monitoring device and monitoring method for equipment fan
CN111124827B (en) * 2019-12-22 2022-12-02 苏州浪潮智能科技有限公司 Monitoring device and monitoring method for equipment fan
CN111382027A (en) * 2020-02-29 2020-07-07 浪潮电子信息产业股份有限公司 BMC IP obtaining method and device and cabinet type server

Also Published As

Publication number Publication date
CN109356875B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN109356875A (en) A kind of server fan control method, apparatus and system
CN103092138B (en) Control method of equipment cabinet system
CN101043144B (en) Electrical source managing method of portable electronic products and apparatus thereof
CN110515802A (en) A kind of monitoring method, system and the associated component of server booting failure
CN102186041B (en) Voltage sag processing circuit and electronic equipment
US9772675B2 (en) Power supply system of electronic device
CN105242980A (en) Complementary watchdog system and complementary watchdog monitoring method
CN110488183A (en) A kind of relay working state monitoring system of chip protective device
CN108055029A (en) A kind of on-off circuit and the electronic equipment with the on-off circuit
CN102355126A (en) Method for controlling synchronous power on of power supplies and control equipment
CN111198553B (en) Load fault detection method and device
CN104422897A (en) Method and device for detecting direct current crossing in double direct-current power source systems
CN109149751A (en) Power supply continues control circuit
CN204256036U (en) The power-off signal that power supply interrupts produces circuit
CN208316365U (en) A kind of power down time extends circuit and power control circuit
CN218824636U (en) Power supply detection device for server hard disk backboard
CN109638795B (en) Emergency stop control method and device for string type photovoltaic inverter system
CN104345217A (en) Detection method and device for capacitance value
CN109729235A (en) Clock backup circuit and video processor in a kind of video processor
CN109888766A (en) Bus takes electric equipment and its power consumption control methods, devices and systems, electrical equipment
CN107733218B (en) A kind of and electromechanical source high power, which synchronizes, opens machine control method and system
CN105068021A (en) Switching mode power supply offline fault detection device and system
CN204947575U (en) A kind of stable state overvoltage protective system
CN110471326A (en) A kind of more hoistable platform control systems and control method
CN101452331A (en) Motherboard voltage regulation module control circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant