CN111769765A - Intelligent universal direct current motor controller based on DSP - Google Patents

Intelligent universal direct current motor controller based on DSP Download PDF

Info

Publication number
CN111769765A
CN111769765A CN201911242241.6A CN201911242241A CN111769765A CN 111769765 A CN111769765 A CN 111769765A CN 201911242241 A CN201911242241 A CN 201911242241A CN 111769765 A CN111769765 A CN 111769765A
Authority
CN
China
Prior art keywords
module
dsp
controller
power
direct current
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
CN201911242241.6A
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.)
Harbin University of Science and Technology
Original Assignee
Harbin University of Science and Technology
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 Harbin University of Science and Technology filed Critical Harbin University of Science and Technology
Priority to CN201911242241.6A priority Critical patent/CN111769765A/en
Publication of CN111769765A publication Critical patent/CN111769765A/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
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/08Arrangements for controlling the speed or torque of a single motor
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

An intelligent universal direct current motor controller based on a DSP (digital signal processor) is composed of a sampling circuit, a communication module, a driving module, a power module, a wifi module, a touch screen module, a DSP controller and an STM32 controller; the communication module is connected with the DSP controller and the STM32 controller to realize data exchange in the DSP controller and the STM32 controller; the driving module transmits the control signal to the power module; the power module consists of 6 mosfet power tubes and 6 switches and is used for driving the motor to run; the power module supplies power to the DSP controller, the STM32 controller and the power module. According to the invention, the DSP controller is used as a main control chip, the power circuit is controlled to be converted into the H-bridge circuit or the three-phase full-bridge circuit through 6 switches, the brush direct current motor and the brushless direct current motor are respectively controlled, the circuit topology can be converted through software control, meanwhile, the motor operation parameters are collected through the sampling circuit and are sent to the WIFI module to be uploaded to the cloud, and the intelligent control of direct current motor control is realized.

Description

Intelligent universal direct current motor controller based on DSP
Technical Field
The present invention relates to a motor controller.
Background
In modern society, direct current motor's use is more and more extensive, direct current motor divide into brush direct current motor and brushless direct current motor, one kind adopts positive negative power supply to supply power according to the mode of control, another kind adopts three-phase current power supply to supply power, how to control the rotational speed and the direction of motor has been an old topic, present research is more inclined to the intelligent control of motor, more inclined to the topological structure design of circuit, to this, a set of intelligent general direct current motor controller has been designed, can realize circuit topological structure's change through the control of software, also can upload the high in the clouds in real time with motor operation parameter simultaneously, realize the high in the clouds record of data and look over in real time, make the control to the motor become more succinct convenient.
Disclosure of Invention
The purpose of the invention is: the invention aims to provide an intelligent universal direct current motor controller based on a DSP (digital signal processor), which can realize the change of a circuit topological structure through software control, and can upload motor parameters to a cloud terminal to facilitate real-time recording and checking.
To achieve the above object: the invention adopts the following technical scheme:
the direct current motor overvoltage and overcurrent detection device is composed of a sampling circuit, a communication module, a driving module, a power module, a wifi module, a touch screen module, a DSP (digital signal processor) controller and an STM32 controller, wherein the sampling circuit collects current signals and transmits the current signals to the DSP controller to detect the abnormal working state of the direct current motor in overvoltage and overcurrent; the communication module is connected with the DSP controller and the STM32 controller; the driving module is used for amplifying a signal sent by the DSP controller; the power module combines 6 MOSFETs into an H-bridge circuit or a three-phase full-bridge circuit; the power supply module is used for supplying power to the DSP controller, the STM32 controller and the power module; the WIFI module uploads the motor running state parameters to the Internet of things platform, and the touch screen module issues a click running instruction; the DSP controller adopts a TSM320F28335 chip of TI company; the STM32 controller uses the STM32f103c8t6 chip.
The sampling circuit is composed of a resistance voltage division circuit and an amplifying circuit, voltage at the output end of the motor is divided by the resistance, and the voltage is changed into voltage below 3.3V through the LM358 chip and is transmitted into the DSP controller.
The communication module is a CAN communication circuit formed by TJA1040 chips, the DSP controller and the STM32 controller are respectively connected to the CAN bus driving circuit, and the output ends of the driving circuit are respectively connected.
The driving module adopts IR2130 chips, each chip can generate 6 paths of driving signals, and the driving signals drive 6 MOSFET power tubes in total.
The power module consists of 6 mosfet power tubes and 6 switches.
The power module inputs 220V mains supply and outputs 24V supply power module and driving module, and outputs 5V supply power to the DSP controller and the STM32 controller.
The WIFI module adopts an ESP88266 chip.
The touch screen module adopts a Wirelon MT6103ip touch screen.
By adopting the technical scheme, the intelligent universal direct current motor controller can control a hardware structure through software operation, control of the brushless direct current motor and the brush direct current motor is classified into a topological structure, so that a circuit is simplified, and intelligent control of the circuit is realized; the data are uploaded to the cloud, so that the data can be conveniently checked and recorded in real time.
Description of the drawings:
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is a circuit diagram of a driving module according to the present invention;
FIG. 3 is a circuit diagram of a sampling module of the present invention;
FIG. 4 is a circuit diagram of a communication module according to the present invention;
FIG. 5 is a circuit diagram of a power module of the present invention;
figure 6 is a diagram of the STM32 controller external connection of the present invention.
The specific implementation method comprises the following steps:
the invention is described in further detail below with reference to the following figures and detailed description:
referring to fig. 1, the invention provides an intelligent universal direct current motor controller, which comprises a sampling circuit, a communication module, a driving module, a power module, a wifi module, a touch screen module, a DSP controller and an STM32 controller. The communication module adopts a CAN bus communication mode; the power module is that the input is 220V commercial power, and the output supplies power module and drive module for 24V, and output 5V supplies DSP controller and STM32 controller.
Referring to fig. 2, the sampling circuit performs detection by using a resistance voltage division manner, and an adopted voltage amplification chip is an LM 358;
the sampling module has 2 modules in total in the system, respectively detects the A phase voltage and the C phase voltage of the brushless DC motor, detects the positive voltage of the brushed DC motor, the motor pin is input through the SENA, the voltage is sampled by the resistor R1 to obtain smaller voltage, the smaller voltage is filtered by the resistor R2 and the C1, the resistor R3, the resistor R5 and the resistor R4 form a primary amplifier, the voltage is amplified by 10 times, the voltage is input to the DSP controller through the voltage follower formed by the resistor R6, the resistor R7 and the resistor R8, and then the voltage is input to the DSP controller through the filter formed by the resistor R9 and the capacitor C3, wherein a 3.3V power supply and a diode D5 are connected to the AD1 to prevent the output voltage from exceeding 3.3V to damage the DSP controller, and play a clamping protection role.
Referring to fig. 3, the driving module employs an IR2130 chip; because the control signal output by the DSP controller is only 3.3V and does not have the capability of driving the power circuit, the IR2130 chip is adopted, and the chip can drive the power circuit through the bootstrap circuit, has stable output and an under-voltage locking function and can cut off the output of the signal in time when in failure, so the invention adopts the chip. The pin 2, the pin 3, the pin 4, the pin 5, the pin 6 and the pin 7 are respectively connected with output terminals HIN1, HIN2, HIN3, LIN1, LIN2 and LIN3 of a DSP controller, signals output by the DSP controller to control the operation of a motor pass through an IR2130 chip, a driving current with a maximum value of 200mA is output through a pin 14, a pin 15, a pin 16, a pin 19, a pin 23 and a pin 27, and the pin 14, the pin 15, the pin 16, the pin 19, the pin 23 and the pin 27 are respectively connected with the power modules H1, H2, H3, L1, L2 and L3; the pin 1 is connected with 24V direct current, and the 24V direct current is connected with the ground end of the C27 through the C26 for filtering; the pin 8 has a fault protection function, when the circuit is in error operation, the pin 8 is automatically set to 0 level, so that the light-emitting diode D1 is lightened, and at the moment, a fault is generated; pin 10 is connected with resistor R31 and resistor R34 to ground, and pin 11 is connected with resistor R34 to ground; the pin 12 is grounded; pin 13 is connected to resistor R32 and resistor R33, and is grounded, and pin 18, pin 22 and pin 26 are connected to a 24V power supply through capacitor C27, capacitor C28, capacitor C29, diode D2, diode D3 and diode D4.
Referring to fig. 4, the power module is composed of 6 mosfet switch tubes and 6 switches, an H-bridge or a three-phase full-bridge circuit is selected according to the requirements of the controlled motor, when the switches SW1 and SW2 are closed, the H-bridge circuit is used for controlling the brushed direct current motor with two terminals, and when the switches are all closed, the circuit is a three-phase full-bridge circuit for controlling the brushless direct current motor with three terminals; in the figure, resistors R12, R13, R14, R15, R16 and R17 are added to the grid terminal of the mosfet, so that the overvoltage current in the switching state of the switching tube can be buffered, and the switching tube is protected; in the figure, H1, H2, H3, L1, L2 and L3 are respectively connected to a driving module, and VS1, VS2 and VS3 are motor wiring terminals; the resistor R18 and the resistor R19 are sampling resistors, collect the current of the motor wiring terminal to play a protection role, wherein the SENA and the SENC are connected to the sampling module.
Referring to fig. 5, the communication module employs a TJA1040 chip; the pin 1 and the pin 4 are respectively connected with a CAN-TXD pin and a CAN-RXD pin of the controller; the pin 2 is grounded; pin 3 is connected to a 5V power supply, and a capacitor C4 is used for filtering; a resistor R10 is connected in parallel between the pin 6 and the pin 7 and serves as an output of a CAN bus, the pin 7 and the pin 6 are respectively connected with capacitors C5 and C6 for filtering, the output of the first TJA1040 chip is connected with the output of the second TJA1040 chip, and the DSP controller CAN be connected with data of an STM32 controller in this mode, so that a communication module of the system is formed.
See fig. 6, the WIFI module, the touch screen module, the STM32 controller is connected as the drawing, wherein the WIFI module adopts ESP8266 module, and the touch screen module is waron MT6103ip touch screen, and above two kinds of modules are modules that can be bought on the market, all adopt serial port mode to connect at STM32 controller, wherein the WIFI module is connected at pin B10 and pin B11 of STM32 controller, and the touch screen module is connected at pin a9 and pin a10 of STM32 controller. Pin A8 and pin B15 are connected to the communication module and communicate with the DSP controller. The STM32 controller module adopts the 5V of power module output to supply power.

Claims (8)

1. An intelligent universal direct current motor controller based on a DSP is characterized by comprising a sampling circuit, a communication module, a driving module, a power module, a wifi module, a touch screen module, a DSP controller and an STM32 controller, wherein the sampling circuit is used for collecting direct current signals and transmitting the direct current signals to the DSP controller so as to detect abnormal working states of the direct current motor, such as overvoltage, overcurrent and the like; the communication module is connected with the DSP controller and the STM32 controller; the driving module is used for amplifying a signal sent by the DSP controller to generate a voltage capable of driving the MOSFET power tube; the power module combines 6 MOSFETs into an H-bridge circuit or a three-phase full-bridge circuit; the power supply module is used for supplying power to the DSP controller, the STM32 controller and the power module; the WIFI module uploads the motor running state parameters to the Internet of things platform, and the touch screen module issues a click running instruction; the DSP controller adopts a TSM320F28335 chip of TI company; the STM32 controller uses the STM32f103c8t6 chip.
2. The DSP-based intelligent universal direct current motor controller according to claim 1, wherein the sampling circuit is composed of a resistance voltage dividing circuit and an amplifying circuit, and the voltage at the output end of the motor is divided by a resistance and is changed into a voltage below 3.3V by an LM358 chip to be transmitted into the DSP controller.
3. The DSP-based intelligent universal DC motor controller according to claim 1, wherein the communication module comprises a CAN communication circuit formed by TJA1040 chips.
4. The DSP-based intelligent universal DC motor controller according to claim 1, wherein the driving module employs IR2130 chips capable of generating 6 driving signals for driving a total of 6 MOSFET power transistors.
5. The DSP-based intelligent universal DC motor controller according to claim 1, wherein the power module is composed of 6 mosfet power transistors and 6 switches.
6. The DSP-based intelligent universal direct current motor controller according to claim 1, wherein the power module input is 220V mains power output and has a 24V supply power module and a drive module, and the output is 5V supply power to the DSP controller and the STM32 controller.
7. The DSP-based intelligent universal DC motor controller according to claim 1, wherein the WIFI module employs an ESP88266 chip.
8. The DSP-based intelligent universal DC motor controller according to claim 1, wherein the touch screen module employs a Wien TM 6103ip touch screen.
CN201911242241.6A 2019-12-06 2019-12-06 Intelligent universal direct current motor controller based on DSP Pending CN111769765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911242241.6A CN111769765A (en) 2019-12-06 2019-12-06 Intelligent universal direct current motor controller based on DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911242241.6A CN111769765A (en) 2019-12-06 2019-12-06 Intelligent universal direct current motor controller based on DSP

Publications (1)

Publication Number Publication Date
CN111769765A true CN111769765A (en) 2020-10-13

Family

ID=72719041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911242241.6A Pending CN111769765A (en) 2019-12-06 2019-12-06 Intelligent universal direct current motor controller based on DSP

Country Status (1)

Country Link
CN (1) CN111769765A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203896234U (en) * 2014-05-14 2014-10-22 南京理工大学 Multi-motor synchronization controlling apparatus based on embedded system
CN105099336A (en) * 2014-05-23 2015-11-25 株洲南车时代电气股份有限公司 Shield door system motor control device, system and method
CN109981010A (en) * 2017-12-28 2019-07-05 沈阳新松机器人自动化股份有限公司 A kind of motor driven systems and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203896234U (en) * 2014-05-14 2014-10-22 南京理工大学 Multi-motor synchronization controlling apparatus based on embedded system
CN105099336A (en) * 2014-05-23 2015-11-25 株洲南车时代电气股份有限公司 Shield door system motor control device, system and method
CN109981010A (en) * 2017-12-28 2019-07-05 沈阳新松机器人自动化股份有限公司 A kind of motor driven systems and method

Similar Documents

Publication Publication Date Title
CN103053265B (en) Dual-wrapped lithium battery grass cutter
CN101359841B (en) Charging machine
CN104682394B (en) Electric-dazzling prevention device and method of bidirectional zero-clearance conversion current based on self-adaption
CN208270647U (en) Power-sensing circuit for alternating-current charging pile control guiding
CN202261133U (en) Direct-current brushless motor controller for range hood
CN201081843Y (en) Intelligent charging machine
CN108206517A (en) A kind of low cost inputs anti-overvoltage crowbar
CN104267340B (en) Information detection device and method for DC feeder line circuit breaker
CN203120457U (en) Two-pack lithium battery mower
CN201160259Y (en) Digitized inverter
CN102769336B (en) Single-phase inverter for emergency power supply
CN111769765A (en) Intelligent universal direct current motor controller based on DSP
CN104967101A (en) IGBT cycle-by-cycle current-limiting protection circuit
CN103187710B (en) Current-limit and over-current double current loop protection circuit
CN203608156U (en) Over-current protection and starting restoring circuit used for solar photovoltaic controller
CN2930090Y (en) High precision Dc brushless motor controller
CN206481043U (en) One kind carries multiple-channel output single channel short circuit over-current protection circuit
CN202871720U (en) Automatic actuation double-coil under-voltage electrical apparatus release circuit
CN205800724U (en) A kind of PTC heat driven system used for electric vehicle
CN115133815A (en) Constant-voltage water pump control system under drive of high-voltage brushless motor
CN103779831B (en) SCM Based three-phase self-resetting type over voltage protector
CN208707544U (en) It is a kind of for rotating the power supply adaptor of reel storage device automatically
CN204809977U (en) Digital double power shift system of intelligence
CN105978355A (en) Electric automobile vehicle-mounted DC/DC apparatus
CN2539274Y (en) Integrated digital relay

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201013