An intelligent fan control circuit and control method for inverter welding machine based on single chip microcomputer

Through an intelligent fan control circuit based on a single-chip microcomputer, the optocoupler IC and Hall elements are used to detect the fan speed and welding gun circuit status to realize automatic start and stop of the fan and fault alarm, which solves the problems of complex fan control and lack of alarm functions in the existing technology. , improving the reliability and service life of the welding machine.

CN109877420BActive Publication Date: 2024-09-10WUXI GREENWAY WELDING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910333622.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-24
Publication Date
2024-09-10
Estimated Expiration
2039-04-24

AI Technical Summary

Technical Problem

The fan control circuit of the existing inverter welding machine is complex, cannot adapt to the AC fan, and cannot realize fault alarm. The degree of intelligence is low, resulting in shortened service life of the welding machine and increased standby power consumption.

Method used

It uses an intelligent fan control circuit based on a single-chip microcomputer, using optocoupler IC, Hall elements and transistors to detect fan speed and welding gun circuit status to realize automatic start and stop of the fan and fault alarm, adapting to DC or AC fans.

Benefits of technology

The circuit structure is simplified, the application scope is expanded, the intelligent control and fault alarm of the fan are realized, the no-load loss is reduced, and the reliability of the welding machine is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109877420B
    Figure CN109877420B
Patent Text Reader

Abstract

The invention relates to the technical field of inverter welding machine fans, and specifically to an inverter welding machine intelligent fan control circuit and control method based on a single chip microcomputer. The circuit can realize the control of a direct current or alternating current fan, can automatically alarm when an abnormality occurs, and has a wide range of applications. The circuit comprises an optical coupler IC1 and a fan, wherein a pin 1 of the optical coupler IC1 is connected to VCC through a resistor R1, and a pin 2 of the optical coupler IC1 is connected to a first output I / O port of the single chip microcomputer. The single chip microcomputer is further connected to a Hall element, a welding gun circuit, and a panel display circuit through a first input I / O port, a second input I / O port, and a second output I / O port, respectively. The control method mainly detects the rotation speed of the fan through a Hall element to realize whether the fan needs to stop working. The control of the fan can be realized by means of a single chip microcomputer and a small number of components. The circuit structure is simple, and the circuit can adapt to direct current or alternating current. When an abnormality occurs, an alarm signal can be sent to a panel display circuit to realize automatic alarm, and has a wide range of applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of inverter welding machine fans, and in particular to an inverter welding machine intelligent fan control circuit and a control method based on a single chip microcomputer. Background Art

[0002] Most inverter welding machines are equipped with a fan, which is used to force cooling of the heating components inside the welding machine. However, most fans are in operation after the welding machine is powered on, regardless of whether the welding machine needs cooling. Welding machines are often used in places with metal dust. The continuously running fan will bring metal dust into the welding machine, shortening the service life of the welding machine and increasing standby power consumption. Application No. CN201711090786 describes a circuit for controlling the start and stop of the fan through a temperature sensor in an intelligent cooling control circuit of the fan in an inverter welding machine. Although the fan can be automatically started and stopped, there are three defects: (1) the circuit is complex, (2) it can only control DC fans, and (3) once the fan fails, it cannot alarm and the operator cannot be informed. Summary of the invention

[0003] In order to solve the problems of complex structure, small application range, inability to realize alarm and low intelligence of existing control circuits, the present invention provides an inverter welding machine intelligent fan control circuit and control method based on a single-chip microcomputer. The circuit is simple, can control a DC or AC fan, can automatically alarm when an abnormality occurs, and has a wide range of applications.

[0004] The technical scheme is as follows: an inverter welding machine intelligent fan control circuit based on a single-chip microcomputer, which includes an optocoupler IC1 and a fan, characterized in that pin 1 of the optocoupler IC1 is connected to VCC through a resistor R1, pin 2 of the optocoupler IC1 is connected to the first output I / O port of the single-chip microcomputer, the single-chip microcomputer is also connected to a Hall element, a welding gun circuit, and a panel display circuit through a first input I / O port, a second input I / O port, and a second output I / O port, respectively, pin 6 of the optocoupler IC1 is connected to the base of a transistor Q1 and one end of a resistor R2, pin 4 of the optocoupler IC1 is connected to one end of a resistor R5, the other end of the resistor R5 is connected to the emitter of the transistor Q1, one end of a capacitor C1, and one end of a fan, the collector of the transistor Q1 is connected to the other end of the resistor R2 and then connected to one end of a resistor R3 and pin 1 of an interface J1, pin 2 of the interface J1 is connected to the other end of the fan, the Hall element is used to detect the speed of the fan, and the interface J1 is connected to direct current or alternating current.

[0005] An intelligent fan control method for an inverter welding machine based on a single chip microcomputer is characterized in that it comprises the following steps: (1) the single chip microcomputer works and outputs a low level, the optocoupler IC1 and the transistor Q1 are both turned on, and the fan runs;

[0006] (2) The MCU starts timing N seconds, and the MCU continuously outputs a low level to make the fan start and run smoothly;

[0007] (3) After the timing of N seconds is over, the Hall element outputs a pulse signal of the collected fan speed information to the microcontroller;

[0008] (4) The MCU compares the received pulse information with the set threshold. If it is less than the threshold or higher than the threshold, it is judged that the fan is not running normally. The MCU outputs a high level to turn off the fan and outputs an alarm signal. If it is within the normal value range, the MCU continuously outputs a low level to keep the fan running.

[0009] (5) When the welding gun circuit stops working, a signal is output to the microcontroller and timing starts. After M minutes, the microcontroller outputs a high level and the fan stops working. If the timing is less than M minutes or exceeds M minutes, when the welding gun circuit starts, the microcontroller outputs a low level to make the fan work.

[0010] After adopting the circuit and method of the present invention, the fan can be controlled by only using a single-chip microcomputer and a small number of components. The circuit structure is simple and can adapt to direct current or alternating current. When an abnormality occurs, an alarm signal can be sent to the panel display circuit to realize automatic alarm, and the application range is wide. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is the circuit principle diagram of the present invention;

[0012] Figure 2 This is a flow chart of the control method of the present invention. DETAILED DESCRIPTION

[0013] See Figure 1As shown, an inverter welding machine intelligent fan control circuit based on a single-chip microcomputer includes an optocoupler IC1 and a fan, wherein pin 1 of the optocoupler IC1 is connected to VCC through a resistor R1, and pin 2 of the optocoupler IC1 is connected to a first output I / O port of the single-chip microcomputer. The single-chip microcomputer is also connected to a Hall element, a welding gun circuit, and a panel display circuit through a first input I / O port, a second input I / O port, and a second output I / O port, respectively. Pin 6 of the optocoupler IC1 is connected to a base of a transistor Q1 and one end of a resistor R2, and pin 4 of the optocoupler IC1 is connected to one end of a resistor R5. The other end of the resistor R5 is connected to an emitter of the transistor Q1, one end of a capacitor C1, and one end of a fan. The collector of the transistor Q1 is connected to the other end of the resistor R2 and then connected to one end of a resistor R3 and pin 1 of an interface J1. Pin 2 of the interface J1 is connected to the other end of the fan. The Hall element is used to detect the speed of the fan, and the interface J1 is connected to direct current or alternating current. In this embodiment, the Hall element adopts the HK3020 series produced by Nanjing Zhongxu Electronics Co., Ltd., which can detect the fan speed and output a pulse signal to the single-chip microcomputer. Other types of Hall elements can also be used. In this embodiment, the single-chip microcomputer adopts the STM32 series, and other types can also be used. The panel display circuit here can be an LED display screen.

[0014] See Figure 2 As shown, a method for controlling an inverter welding machine intelligent fan based on a single chip microcomputer comprises the following steps: (1) the single chip microcomputer works and outputs a low level, the optocoupler IC1 and the transistor Q1 are both turned on, and the fan runs;

[0015] (2) The MCU starts timing for 5 seconds. The MCU continuously outputs a low level to make the fan start and run smoothly. This time can be freely set according to different fan models. It only needs to ensure that the fan can reach a stable running state within this time.

[0016] (3) After the 5-second timing is over, the Hall element outputs a 200KHZ pulse signal to the microcontroller based on the collected fan speed information;

[0017] (4) The fan model of this embodiment is TG22580, and the speed is 2550 to 2850 revolutions per minute. The single chip microcomputer compares the received pulse information with the set fan frequency threshold. If it is less than the threshold or higher than the threshold, it is determined that the fan is not running normally. The single chip microcomputer outputs a high level to turn off the fan and outputs an alarm signal. If it is within the normal value range, the single chip microcomputer continuously outputs a low level to make the fan work. The process of judging whether the fan is normal can be judged only once after the single chip microcomputer is powered on, or once at a certain interval, depending on the single chip microcomputer hardware and software;

[0018] (5) When the welding gun circuit stops working, a signal is output to the microcontroller and timing starts. After 15 minutes, the microcontroller outputs a high level and the fan stops working. This time is to ensure that the heating element is cooled to room temperature and can be adjusted according to actual conditions. If the timing is less than 15 minutes or exceeds 15 minutes, when the welding gun circuit is started, the microcontroller outputs a low level to make the fan work.

[0019] The present invention only needs to add a small amount of hardware to realize intelligent control of AC and DC fans, thereby improving the reliability of the welding machine and reducing no-load losses.

Claims

1. A method for controlling an intelligent fan of an inverter welding machine based on a single chip microcomputer, characterized in that: The inverter welding machine intelligent fan control circuit based on the single chip microcomputer includes an optocoupler IC1 and a fan. Pin 1 of the optocoupler IC1 is connected to VCC through a resistor R1, and pin 2 of the optocoupler IC1 is connected to the first output I / O port of the single chip microcomputer. The single chip microcomputer is also connected to a Hall element, a welding gun circuit, and a panel display circuit through a first input I / O port, a second input I / O port, and a second output I / O port, respectively. Pin 6 of the optocoupler IC1 is connected to the base of a transistor Q1 and one end of a resistor R2, and pin 4 of the optocoupler IC1 is connected to a resistor R5. One end, the other end of the resistor R5 is connected to the emitter of the transistor Q1, one end of the capacitor C1, and one end of the fan. The collector of the transistor Q1 is connected to the other end of the resistor R2 and then connected to one end of the resistor R3 and pin 1 of the interface J1. Pin 2 of the interface J1 is connected to the other end of the fan. The Hall element is used to detect the speed of the fan. The interface J1 is connected to direct current or alternating current. The control method includes the following steps: (1) the single-chip microcomputer works and outputs a low level, the optocoupler IC1 and the transistor Q1 are both turned on, and the fan runs; (2) The MCU starts timing N seconds, and the MCU continuously outputs a low level to make the fan start and run smoothly; (3) After the timing of N seconds is over, the Hall element outputs a pulse signal of the collected fan speed information to the microcontroller; (4) The MCU compares the received pulse information with the set threshold. If it is less than the threshold or higher than the threshold, it is judged that the fan is not running normally. The MCU outputs a high level to turn off the fan and outputs an alarm signal. If it is within the normal value range, the MCU continuously outputs a low level to keep the fan running. (5) When the welding gun circuit stops working, a signal is output to the microcontroller and timing starts. After M minutes, the microcontroller outputs a high level and the fan stops working. If the timing is less than M minutes or exceeds M minutes, when the welding gun circuit starts, the microcontroller outputs a low level to make the fan work.