CN113162492A - Multifunctional motor controller - Google Patents

Multifunctional motor controller Download PDF

Info

Publication number
CN113162492A
CN113162492A CN202110517298.3A CN202110517298A CN113162492A CN 113162492 A CN113162492 A CN 113162492A CN 202110517298 A CN202110517298 A CN 202110517298A CN 113162492 A CN113162492 A CN 113162492A
Authority
CN
China
Prior art keywords
motor
diode
cathode
capacitor
pin
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.)
Pending
Application number
CN202110517298.3A
Other languages
Chinese (zh)
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.)
Yellow River Conservancy Technical Institute
Original Assignee
Yellow River Conservancy Technical Institute
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 Yellow River Conservancy Technical Institute filed Critical Yellow River Conservancy Technical Institute
Publication of CN113162492A publication Critical patent/CN113162492A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • H02P7/03Arrangements for regulating or controlling the speed or torque of electric DC motors for controlling the direction of rotation of DC motors

Abstract

The invention discloses a multifunctional motor controller, which comprises a PC upper computer, a communication interface, a key circuit, a power circuit, a Central Processing Unit (CPU) module, a data display circuit, an alarm circuit, a motor forward and reverse rotation and speed regulation circuit, a motor and a motor state information acquisition circuit, wherein the PC upper computer sends instructions and receives information to the CPU through the communication interface, the key circuit is used for function selection, the CPU module is used for controlling the operation of the whole circuit, the data display circuit is used for displaying the rotating speed of the motor, the alarm circuit is used for alarming, the motor forward and reverse rotation and speed regulation circuit is used for controlling the operation of different functions of the motor, and the motor state information acquisition circuit is used for protecting the motor. The multifunctional motor controller controls the motor to rotate forwards and backwards through the microcontroller, the rotating speed of the motor can be adjusted, multifunctional control over the motor is achieved, the motor driver achieves high-precision control over the motor, and the motor is protected through real-time information acquisition.

Description

Multifunctional motor controller
Technical Field
The invention relates to the field of motor controllers, in particular to a multifunctional motor controller.
Background
Along with the development of industrialization, the technical level of industrial enterprises in China is continuously improved, the normal operation of the industrial enterprises can be realized only by matching the motor in a plurality of automatic devices, the production efficiency of the industrial enterprises is improved, the quality of industrial processing is ensured, the motor is used as a device with a great number of uses in daily life, the life style of people is facilitated to a great extent, but in the current market, the control function of the motor is too single, only the rotation at a constant speed can be performed singly, and in a controller module, all modules are mutually dispersed and independent, so that too many interfaces are formed, potential safety hazards are increased, and the operation condition of the motor in a certain period cannot be known without real-time monitoring.
Disclosure of Invention
The present invention is directed to a multifunctional motor controller to solve the above problems.
In order to achieve the purpose, the invention provides the following technical scheme:
the utility model provides a multifunctional motor controller, includes the PC host computer, communication interface, keying circuit, power supply circuit, central processing unit CPU module, data display circuit, warning circuit, motor just reverse and speed governing circuit, motor state information acquisition circuit, the PC host computer carries out instruction transmission and information reception to CPU through communication interface, and keying circuit is used for the function selection, and central processing unit CPU module is used for controlling the operation of whole circuit, and data display circuit is used for the demonstration of motor speed, and warning circuit is used for reporting to the police, and motor just reverse and speed governing circuit is used for controlling the operation of the different functions of motor, and motor state information acquisition circuit is used for protecting the motor.
As a further technical scheme of the invention: the motor forward and reverse rotation and speed regulation circuit is controlled by two drivers U1-U2, pin 1 of the driver U1 is connected with the anode of a capacitor C1, the anode of a diode D1, the voltage of +12V, pin 3 of the driver U1, pin 4 of the driver U1, the cathode of the capacitor C1 and the ground, pin 2 of the driver U1 is connected with the PWM1 output end of a central processing unit CPU, pin 5 of the driver U1 is connected with the cathode of a resistor R1 and the diode D1, pin 6 of the driver U1 is connected with the cathode of the capacitor C1, the anode of the diode C1 is connected with the other end of the resistor R1 and the cathode of the diode D1, pin 8 of the driver U1 is connected with the other end of the capacitor C1, the cathode of the diode D1 and the anode of the diode C1, the anode of the diode D1 is connected with the MOS tube M1, the cathode of the diode D is connected with the other end of the capacitor C, the S pole of the MOS tube M, the anode of the diode D, the cathode of the light-emitting diode L, the resistor R and the motor M, the D pole of the MOS tube M is connected with +24V voltage, the cathode of the diode D and the D pole of the MOS tube M, the D pole of the MOS tube M is connected with the cathode of the diode D, the resistor R, the cathode of the diode D and the D pole of the MOS tube M, the other end of the motor M is connected with the resistor R, the cathode of the light-emitting diode L, the anode of the diode D, the S pole of the MOS tube M, the cathode of the diode D and the capacitor C, the anode of the diode D is connected with the other end of the capacitor C, the pin 6 of the driver U, the capacitor C and the cathode of the capacitor C, the G pole of the MOS tube M is connected with the anode of the resistor R, the cathode of the diode D11 is connected to the other end of the resistor R6 and the pin 7 of the driver U2, the G-pole of the MOS transistor M4 is connected to the anode of the diode D10 and the resistor R7, the cathode of the diode D10 is connected to the other end of the resistor R7 and the pin 5 of the driver U2, the pin 8 of the driver U2 is connected to the other end of the capacitor C7, the anode of the capacitor C6 and the cathode of the diode D9, the pin 1 of the driver U2 is connected to the anode of the diode D9, the anode of the capacitor C5, the voltage of +12V, the pin 3 and the pin 4 of the driver U1, and the pin 2 of the driver U2 is connected to the output terminal of the PWM2 of the CPU.
As a further technical scheme of the invention: the KEY circuit is controlled by KEYs KEY _ UP and KEY0-KEY3, the KEYs KEY _ UP are connected with KEYs KEY0-KEY3 and the ground end, the other end of the KEYs KEY _ UP is connected with a resistor R12 and the PA0 end of the central processing unit CPU, the other end of the KEYs KEY0 is connected with a resistor R11 and the PE0 end of the central processing unit CPU, the other end of the KEYs KEY1 is connected with a resistor R10 and the PE1 end of the central processing unit CPU, the other end of the KEYs KEY2 is connected with a resistor R9 and the PE2 end of the central processing unit CPU, the other end of the KEYs KEY3 is connected with a resistor R8 and the PE3 end of the central processing unit CPU, and the other ends of the resistors R8-R12 are connected with a +5V capacitor.
As a further technical scheme of the invention: and the central processing unit CPU adopts an STM32F103C8T6 microcontroller.
As a further technical scheme of the invention: the drivers U1-U2 are IR2014S motor drivers.
As a further technical scheme of the invention: the diode D4 and the diode D12 are voltage-stabilizing diodes.
As a further technical scheme of the invention: the MOS transistor M1-M4 is an N-channel enhancement type IRF3205 field effect transistor.
As a further technical scheme of the invention: the KEY _ UP controls the motor M to return to the absolute origin at a set frequency, the KEY0 controls the motor M to rotate clockwise at the set frequency, the KEY1 controls the motor M to rotate counterclockwise at the set frequency, the KEY2 increases the rotational speed of the motor M rotating clockwise, and the KEY3 decreases the rotational speed of the motor M rotating clockwise.
Compared with the prior art, the invention has the beneficial effects that: the multifunctional motor controller controls the motor to rotate forwards and backwards through the microcontroller, the rotating speed of the motor can be adjusted, multifunctional control over the motor is achieved, the motor driver achieves high-precision control over the motor, and the motor is protected through real-time information acquisition.
Drawings
FIG. 1 is a schematic block diagram of an embodiment of the present invention.
Fig. 2 is a circuit diagram of the motor forward and reverse rotation and speed regulation of the embodiment of the invention.
FIG. 3 is a schematic diagram of a key circuit according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1: referring to fig. 1, the multifunctional motor controller comprises a PC upper computer, a communication interface, a key circuit, a power circuit, a Central Processing Unit (CPU) module, a data display circuit, an alarm circuit, a motor forward and reverse rotation and speed regulation circuit, a motor and a motor state information acquisition circuit, wherein the PC upper computer sends instructions to and receives information from the CPU through the communication interface, the key circuit is used for function selection, the CPU module is used for controlling the operation of the whole circuit, the data display circuit is used for displaying the rotating speed of the motor, the alarm circuit is used for alarming, the motor forward and reverse rotation and speed regulation circuit is used for controlling the operation of different functions of the motor, and the motor state information acquisition circuit is used for protecting the motor.
Example 2: based on embodiment 1, referring to fig. 2, the motor forward/reverse rotation and speed regulation circuit is controlled by two drivers U1-U2, pin 1 of driver U1 is connected to the anode of capacitor C1, the anode of diode D1, +12V voltage, pin 3 of driver U1, pin 4 of driver U1, the cathode of capacitor C1 and ground, pin 2 of driver U1 is connected to the output terminal of PWM1 of the CPU, pin 5 of driver U1 is connected to resistor R1 and the cathode of diode D1, pin 6 of driver U1 is connected to the cathode of capacitor C1, the cathode of capacitor C1 and the anode of diode D1, pin 7 of driver U1 is connected to resistor R1 and the cathode of diode D1, pin 8 of driver U1 is connected to the other end of capacitor C1, the cathode of diode D1 and the anode of capacitor C1, the anode of diode D1 is connected to the MOS 1, and the MOS 1 is connected to the anode of diode M1 and the MOS 1. The cathode of the diode D is connected with the other end of the capacitor C, the S pole of the MOS tube M, the anode of the diode D, the cathode of the light-emitting diode L, the resistor R and the motor M, the D pole of the MOS tube M is connected with +24V voltage, the cathode of the diode D and the D pole of the MOS tube M, the D pole of the MOS tube M is connected with the cathode of the diode D, the resistor R, the cathode of the diode D and the D pole of the MOS tube M, the other end of the motor M is connected with the resistor R, the cathode of the light-emitting diode L, the anode of the diode D, the S pole of the MOS tube M, the cathode of the diode D and the capacitor C, the anode of the diode D is connected with the other end of the capacitor C, the pin 6 of the driver U, the capacitor C and the cathode of the capacitor C, the G pole of the MOS tube M is connected with the anode of the resistor R, the cathode of the diode D11 is connected to the other end of the resistor R6 and the pin 7 of the driver U2, the G-pole of the MOS transistor M4 is connected to the anode of the diode D10 and the resistor R7, the cathode of the diode D10 is connected to the other end of the resistor R7 and the pin 5 of the driver U2, the pin 8 of the driver U2 is connected to the other end of the capacitor C7, the anode of the capacitor C6 and the cathode of the diode D9, the pin 1 of the driver U2 is connected to the anode of the diode D9, the anode of the capacitor C5, the voltage of +12V, the pin 3 and the pin 4 of the driver U1, and the pin 2 of the driver U2 is connected to the output terminal of the PWM2 of the CPU.
Example 3: based on embodiment 2, please refer to fig. 3, the KEY circuit is controlled by the KEY _ UP and the KEYs KEY0-KEY3, the KEY _ UP is connected to the KEYs KEY0-KEY3 and the ground, the other end of the KEY _ UP is connected to the resistor R12 and the PA0 of the CPU, the other end of the KEY0 is connected to the resistor R11 and the PE0 of the CPU, the other end of the KEY1 is connected to the resistor R10 and the PE1 of the CPU, the other end of the KEY2 is connected to the resistor R9 and the PE2 of the CPU, the other end of the KEY3 is connected to the resistor R8 and the PE3 of the CPU, and the other ends of the resistors R8-R12 are connected to the +5V capacitor.
The working principle of the invention is as follows: the circuit is powered on, the STM32 microcontroller outputs PWM signals to realize the operation of different functions on the motor through a motor driver, wherein the timer of the STM32 microcontroller is used for PWM generation, firstly, the clock of the timer TIM3 in STM32 is started, the period of PWM output by STM32 is controlled by setting the values of ARR and PSC registers, CH1 and CH3 of TIM3 are set to be in PWM modes, the modes of CH1 and CH2 are controlled by the relevant bits of CCMR1 and CCMR2, finally, the set PWM signal can be obtained by starting the channel of TIM3, when a KEY KEY0 or a KEY KEY1 is pressed, the STM32 microcontroller outputs the set PWM signal, after the high level signal is output at the PWM1 end, the pin 7 of the driver U1 outputs high level, the pin 6 outputs low level, the MOS transistor M1 is turned on, the M2 and PWM2 outputs low level, the pin 7 of the driver U5953 outputs low level, the MOS transistor M6 outputs low level and the MOS transistor 3, m4 is conducted, current passes through a light emitting diode L2 and a motor M, the motor M rotates clockwise, similarly, the PWM2 outputs high level, the PWM1 outputs low level, MOS transistors M1 and M4 are cut off, MOS transistors M3 and M4 are conducted, the motor M rotates anticlockwise, the light emitting diode L1 is lightened, when the forward and reverse rotation speed needs to be changed, a KEY2-KEY3 is pressed, the clockwise rotation speed of the motor can be reduced and improved through software setting, when a motor state information acquisition circuit detects that the motor has a problem or the voltage current is too large, an STM32 microcontroller can forcibly cut off the PWM output and send out an alarm, and meanwhile data is sent to a PC, wherein bootstrap capacitors C2 and C6 are not suitable for being too small, and diodes D2-D3 and D10-D11 bit MOS transistors discharge to provide a low loop.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (7)

1. A multifunctional motor controller comprises a PC upper computer, a communication interface, a key circuit, a power supply circuit, a CPU module, a data display circuit, an alarm circuit, a motor forward and reverse rotation and speed regulation circuit, a motor and a motor state information acquisition circuit, and is characterized in that the motor forward and reverse rotation and speed regulation circuit is controlled by two drivers U1-U2, a pin 1 of the driver U1 is connected with the anode of a capacitor C1, the anode of a diode D1, the +12V voltage, a pin 3 of a driver U1, a pin 4 of a driver U1, the cathode and the ground end of a capacitor C1, a pin 2 of the driver U1 is connected with the PWM1 output end of the CPU, a pin 5 of the driver U1 is connected with a resistor R2 and the cathode of a diode D3, a pin 6 of the driver U1 is connected with a capacitor C3, the cathode of a capacitor C2, a capacitor C4 and the cathode of a diode D4, and the anode 7 of the driver U1 is connected with a resistor R1 and the cathode 2, pin 8 of driver U1 is connected to the other end of capacitor C3, the cathode of diode D1 and the anode of capacitor C2, the anode of diode D2 is connected to the other end of resistor R1 and the G-pole of MOS transistor M1, the anode of diode D1 is connected to the other end of resistor R1 and the G-pole of MOS transistor M1, the cathode of diode D1 is connected to the other end of capacitor C1, the S-pole of MOS transistor M1, the anode of diode D1, the cathode of light-emitting diode L1, resistor R1 and motor M, the D-pole of MOS transistor M1 is connected to +24V voltage, the cathode of diode D1 and the D-pole of MOS transistor M1, the D-pole of MOS transistor M1 is connected to the cathode of diode D1, the cathode of diode R1, the anode of light-emitting diode L1, the cathode of motor M1 and the anode of light-emitting diode L1, the cathode of diode 1 are connected to the D1, the cathode of motor M1, the cathode of light-pole 1, the cathode of light-emitting diode 1, the diode D1, the cathode of light-emitting diode D1, and the cathode of light-emitting diode M1 are connected to the cathode of diode 1, An S, MOS transistor M4 of the MOS transistor M3 has an S pole, a cathode of a diode D2, and a capacitor C2, an anode of the diode D2 is connected to the other end of the capacitor C2, a pin 6 of the driver U2, a cathode of the capacitor C2, and a cathode of the capacitor C2, a G pole of the MOS transistor M2 is connected to an anode of the diode D2 and the resistor R2, a cathode of the diode D2 is connected to the other end of the resistor R2 and a pin 7 of the driver U2, a G pole of the MOS transistor M2 is connected to an anode of the diode D2 and the resistor R2, a cathode of the diode D2 is connected to the other end of the resistor R2 and a pin 5 of the driver U2, a pin 8 of the driver U2 is connected to the other end of the capacitor C2, an anode of the capacitor C2 and a cathode of the diode D2, a pin 1 of the driver U2 is connected to an anode of the diode D2, an anode of the capacitor C2, a voltage +12V, a pin 3 and a pin 364 of the driver U2, and a pin 1 of the CPU 2 is connected to the output terminal PWM output terminal of the CPU 2.
2. The multi-functional motor controller of claim 1, wherein the button circuit is controlled by a button KEY _ UP and a button KEY0-KEY3, the button KEY _ UP connects the buttons KEY0-KEY3 and ground, the other end of the button KEY _ UP connects with a resistor R12, a PA0 end of the CPU, the other end of the button KEY0 connects with a resistor R11 and a PE0 end of the CPU, the other end of the button KEY1 connects with a resistor R10 and a PE1 end of the CPU, the other end of the button KEY2 connects with a resistor R9 and a PE2 end of the CPU, the other end of the button KEY3 connects with a resistor R8 and a PE3 end of the CPU, and the other end of the resistors R8-R12 connects with a +5V capacitor.
3. The multi-functional motor controller of claim 2, characterized in that the central processing unit CPU selects the STM32F103C8T6 microcontroller.
4. The multi-functional motor controller of claim 3 wherein said drivers U1-U2 are selected from IR2014S motor drivers.
5. The multi-functional motor controller of claim 4, wherein said diodes D4 and D12 are zener diodes.
6. The multi-functional motor controller of claim 5 wherein said MOS transistors M1-M4 are N-channel enhancement IRF3205 FETs.
7. The multi-functional motor controller of claim 2, wherein the KEY UP controls the motor M to return to the absolute origin at a set frequency, the KEY0 controls the motor M to rotate clockwise at the set frequency, the KEY1 controls the motor M to rotate counterclockwise at the set frequency, the KEY2 increases the rotation speed of the motor M rotating clockwise, and the KEY3 decreases the rotation speed of the motor M rotating clockwise.
CN202110517298.3A 2021-02-23 2021-05-12 Multifunctional motor controller Pending CN113162492A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110201877 2021-02-23
CN2021102018777 2021-02-23

Publications (1)

Publication Number Publication Date
CN113162492A true CN113162492A (en) 2021-07-23

Family

ID=76874885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110517298.3A Pending CN113162492A (en) 2021-02-23 2021-05-12 Multifunctional motor controller

Country Status (1)

Country Link
CN (1) CN113162492A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005110248A (en) * 2003-09-26 2005-04-21 Genesis Microchip Inc Packet based high definition high-bandwidth digital content protection
CN209105067U (en) * 2018-12-20 2019-07-12 王云翔 A kind of H-bridge drive circuit
CN110228033A (en) * 2019-06-18 2019-09-13 孟朝晖 A kind of electric fixed-torque spanner control device, spanner and control method
CN111616919A (en) * 2020-06-05 2020-09-04 上海理工大学 Finger rehabilitation training traction device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005110248A (en) * 2003-09-26 2005-04-21 Genesis Microchip Inc Packet based high definition high-bandwidth digital content protection
CN209105067U (en) * 2018-12-20 2019-07-12 王云翔 A kind of H-bridge drive circuit
CN110228033A (en) * 2019-06-18 2019-09-13 孟朝晖 A kind of electric fixed-torque spanner control device, spanner and control method
CN111616919A (en) * 2020-06-05 2020-09-04 上海理工大学 Finger rehabilitation training traction device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘泽浩等: "功率MOSFET半桥驱动电机电路研究与分析", 《工业控制计算机》 *

Similar Documents

Publication Publication Date Title
CN202402306U (en) Intelligent control circuit for electric fan
CN203708547U (en) A single-button memory LED light modulation control circuit
CN110716466A (en) Chip switching circuit, single live wire switch and switching device
CN206865387U (en) A kind of direct current generator intelligent speed-governing system
CN113162492A (en) Multifunctional motor controller
CN113133162A (en) Sectional type knob adjusting light control module group
CN105240304A (en) Intelligent controller
CN112506694A (en) Watchdog circuit capable of configuring reset time and timing time
CN207410260U (en) A kind of motor speed control device
CN204761345U (en) Vehicle air conditioner electronic governor signal generator
CN207761979U (en) SCM Based intelligent temperature control fan
CN107438768B (en) 2.4GHz wireless code meter circuit
CN203276759U (en) Swing type LED display device
CN212083947U (en) Power management system for robot
CN206650884U (en) SCM Based novel intelligent LED desk lamp
CN201075196Y (en) Computer supply power intelligent control apparatus
CN103680338A (en) LED advertisement screen based on mobile phone Bluetooth
CN105513470A (en) Multifunctional one-chip microcomputer learning board
CN105867565A (en) Intelligent cooling device for laptop
CN212968389U (en) USB male connector
CN205608653U (en) Notebook computer intelligence heat sink
CN202348731U (en) Intelligent portable fan control device applied to large transformer
CN218041255U (en) Multi-gear rotating speed and forward and reverse rotating fuzzy ball trimming circuit
CN220801567U (en) Control circuit and aromatherapy machine
CN211554683U (en) Control system for industrial intelligent manufacturing

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210723