CN209356888U - A kind of electric machine controller circuit module based on CPLD - Google Patents
A kind of electric machine controller circuit module based on CPLD Download PDFInfo
- Publication number
- CN209356888U CN209356888U CN201920213519.6U CN201920213519U CN209356888U CN 209356888 U CN209356888 U CN 209356888U CN 201920213519 U CN201920213519 U CN 201920213519U CN 209356888 U CN209356888 U CN 209356888U
- Authority
- CN
- China
- Prior art keywords
- signal
- programmable module
- cpld
- chip
- module
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims abstract description 24
- 239000013078 crystal Substances 0.000 claims abstract description 5
- 230000007257 malfunction Effects 0.000 claims description 10
- 238000001914 filtration Methods 0.000 claims description 7
- 238000000034 method Methods 0.000 abstract description 3
- 230000004044 response Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000035484 reaction time Effects 0.000 description 1
Landscapes
- Control Of Ac Motors In General (AREA)
Abstract
The electric machine controller circuit module based on CPLD that the utility model discloses a kind of, including MCU master chip, it further include a CPLD chip, CPLD chip is connect with external active crystal oscillator, and the CPLD chip includes: a clock programmable module, one over-voltage detects programmable module, programmable module is detected in one over-current detection programmable module, a dead zone, and a driver detects programmable module, one one-way bus buffer and or door drive integrated programmable module, an encoder programmable module.The utility model is in such a way that CPLD chip is instead of logic circuit; simplify the layout of complicated hardware circuit; it can simplify the logic circuit (detection and judgement including fault-signal) of electric machine controller; reduce the arrangement space of hardware circuit; the rapidity of hardware circuit protection is improved simultaneously; and the I/O port of MCU master chip can be saved, it is simple and efficient MCU master chip inter-process.And reduces complicated logical device in circuit and improve the intelligence degree of system by hardware program language.
Description
Technical field
The utility model relates to circuit module field, in particular to a kind of motor control system applied in new-energy automobile
In system, electric current, voltage, the fault-signal etc. that control system can be fed back make quick response based on CPLD (complex programmable
Logical device) electric machine controller circuit module.
Background technique
Currently, the electric machine control system of new-energy automobile builds circuit by hardware, voltage, the electricity of electric machine controller are acquired
Stream, driver malfunction signal and PWM (pulse width modulation) signal, the malfunction of decision circuit, and signal is fed back into MCU
(microcontroller) carries out software detection and protection, when MCU detects fault-signal, needs to interrupt current program to fault-signal
It handles it, this needs certain reaction time, cannot turn off the output of PWM in a short time, and this processing mode delays
Subsequent error protection easily causes IGBT (insulated gate bipolar transistor) to burn, and the error protection for reducing system is reliable
Property.And the MCU of this connection structure needs the I/O port of multiple master chips.
Utility model content
In order to improve the capability of fast response of electric machine control system, enhance the reliability of system, the utility model provides one
The control circuit module of quick response is planted based on CPLD hardware detection fault-signal and makes, the circuit module is directly in MCU master
Chip exterior is added CPLD chip and quickly detects motor control by the PLC technology of CPLD chip instead of logic hardware circuit
The malfunction of device processed is realized and is independently quickly protected to system not against MCU chip.
The technical issues of the utility model is solved can be realized using following technical scheme:
A kind of electric machine controller circuit module based on CPLD, including MCU master chip, which is characterized in that further include one
CPLD chip, the CPLD chip are connect with external active crystal oscillator, and the CPLD chip includes:
One clock programmable module, the clocks programmable module input signal are the signal of CLK, will obtain corresponding clock
Signal CLKO is supplied to the work of MCU master chip;
One over-voltage detects programmable module, and the over-voltage detection programmable module is to detect by electric machine controller input
Voltage signal UI, by filtering, determine its whether over-voltage, while exporting UO signal;
One over-current detection programmable module, the over-current detection programmable module is to detect by electric machine controller input
Current signal II, by filtering, determine its whether overcurrent, while exporting I/O signal;
Programmable module is detected in one dead zone, and the pwm signal of the dead zone detection programmable module input is master control output
Pwm signal, the dead zone detection programmable module pass through filter to detect PWM dead time whether within the period of setting
Wave exports PWM malfunction PWMDEAO signal according to judgement result;
One driver detects programmable module, and the IPM signal of the driver detection programmable module input is driver
The output signal of failure determines whether failure in set period of time, while exporting IPMO signal by filtering;
One one-way bus buffer and or door driving integrated programmable module, the one-way bus buffer and or door driving
The UO signal, I/O signal, PWMDEAO signal, IPMO signal to be carried out the letter after integrating to PWM by integrated programmable module
It number is exported;Output driving status signal DRIVESP is connect with the EMGSTOPB interruptive port of MCU master chip simultaneously, is driven
When state is in fault case, MCU master chip can rapidly enter software interrupt, interrupt PWM output, while CPLD chip itself can not
PWM output is rapidly switched off by MCU master chip;
One encoder programmable module, the encoder programmable module to the UO signal, I/O signal,
PWMDEAO signal, IPMO signal output signal encoded by binary number, output signal after coding, this signal input
To the master port of MCU master chip.
In a preferred embodiment of the utility model, the model 5M570ZT100C5N of the CPLD chip.
In a preferred embodiment of the utility model, the model TC275 of the MCU master chip.
Due to using technical solution as above, the utility model is in such a way that CPLD chip is instead of logic circuit, letter
The layout for having changed complicated hardware circuit, the logic circuit that can simplify electric machine controller (detection including fault-signal and are sentenced
It is fixed), the arrangement space of hardware circuit is reduced, while improving the rapidity of hardware circuit protection, and MCU master chip can be saved
I/O port is simple and efficient MCU master chip inter-process.And reduce complicated logical device in circuit, it is compiled by hardware
Cheng Yuyan improves the intelligence degree of system.
Detailed description of the invention
In order to illustrate the embodiment of the utility model or the technical proposal in the existing technology more clearly, below will be to embodiment
Or attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
It is some embodiments of the utility model, for those of ordinary skill in the art, in the premise not made the creative labor
Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the simplification circuit structure diagram of the utility model.
Fig. 2 is the hardware structure diagram of CPLD chip.
Specific embodiment
In order to be easy to understand the technical means, creative features, achievement of purpose, and effectiveness of the utility model, under
The utility model is further described in face.
A kind of electric machine controller circuit module based on CPLD referring to figure 1 and figure 2, including MCU master chip and
CPLD chip, the signal of the MCU master chip in the present embodiment are TC275, the model 5M570ZT100C5N of CPLD chip,
It is the chip that can directly buy on the market.
A kind of mainly acquisition to motor driver items signal of the electric machine controller circuit module based on CPLD, acquisition
Signal includes voltage signal, current signal, IPM (intelligent power module) fault-signal, pwm signal etc..Every signal is mainly
Signal output is carried out by circuits such as the acquisition of specific hardware circuit, conversions, and is supplied to CPLD chip and is detected.
CPLD chip controls corresponding signal by programming language using external active crystal oscillator ASEAIG-20MHz-T, CPLD,
Output signal includes clock signal, the malfunction of electric machine controller, Drive Status and the output state for controlling PWM.CPLD
The corresponding clock of frequency dividing is connected to the port EXTCLK0 of MCU master chip, and is supplied to the work of MCU master chip, saves outside master control
Enclose crystal oscillating circuit.CPLD chip exports every malfunction of fault detection, and status signal is the binary number of 4bit (byte),
The GPIO mouth for accessing MCU master chip, the state of fault-signal is monitored convenient for master control in time.MCU master chip can receive in time simultaneously
The driving condition of CPLD chip, driving condition signal connect the EMGSTOPB interruptive port of MCU master chip, and driving condition is in event
When hindering state, MCU master chip can rapidly enter software interrupt, interrupt PWM output, while CPLD chip itself can not pass through master control core
Piece rapidly switches off PWM output, and hardware protection is more rapidly than software protection, this to be protected jointly by way of hardware and software
Bring controller damages when electrical fault.
CPLD chip includes clocks programmable module inst0, over-voltage detects programmable module inst1, over-current detection can be compiled
Journey module inst2, dead zone detection programmable module inst3, driver detect programmable module inst4, one-way bus buffer
And or door driving integrated programmable module inst5, encoder programmable module inst6.Clocks programmable module input signal is
The signal of CLK divides to obtain corresponding clock signal clk O by Verilog HDL Programming with Pascal Language and is supplied to the work of MCU master chip.
Over-voltage detects programmable module to detect the voltage signal UI inputted by electric machine controller, is filtered by programming, in setting
The T1 period, determine its whether over-voltage, while exporting UO signal, the T1 in the present embodiment is 100us.Over-current detection may be programmed mould
Block is filtered by programming to detect the current signal II inputted by electric machine controller, in the T2 period of setting, determines that it is
No overcurrent, while I/O signal is exported, the T2 in the present embodiment is 50us.Detect the pwm signal that programmable module inputs in dead zone
Master control output pwm signal, pwm signal be three groups of corresponding signals, by programming filter, dead zone detect programmable module to
PWM dead time is detected whether within the T3-T4 period of setting, according to judgement result output PWM malfunction PWMDEAO letter
Number, the T3=2.5us in the present embodiment, T4=3.2us.The IPM signal that driver detects programmable module input is driver
The output signal of failure is filtered by programming, determines whether failure in the setting T5 period, while exporting IPMO signal, this reality
Apply the T5=50us in example.One-way bus buffer and or door driving integrated programmable module to by UO signal, I/O signal,
PWMDEAO signal, IPMO signal export after integrating to the signal of PWM;Output driving status signal DRIVESP simultaneously
It is connect with the EMGSTOPB interruptive port of MCU master chip, when driving condition is in fault case, MCU master chip can rapidly enter soft
Part interrupts, and interrupts PWM output, while CPLD chip itself can not rapidly switch off PWM output by MCU master chip.Meanwhile it encoding
Device programmable module to the output signal (15bit) to UO signal, I/O signal, PWMDEAO signal, IPMO signal by two into
Number processed is encoded, and output is ERRSTATE [3..0] signal of 4bit after coding, this signal is input to the master control of MCU master chip
Port, the malfunction that the detection of CPLD chip determines is 15bit binary number, by CPLD encoder functionality, exports 4bit event
Barrier status signal gives MCU master chip, and 4 GPIO ports are used only in MCU master chip signal input part, has saved the IO monitoring of master control
Port.
Clocks programmable module inst0, over-voltage detection programmable module inst1, over-current detection programmable module inst2,
Detect programmable module inst3, driver detection programmable module inst4, one-way bus buffer and or door driving collection in dead zone
It is the state of the art, this field at six modules such as programmable module inst5, encoder programmable module inst6
Technical staff corresponding module, the utility model directly directly can be formed on CPLD chip by existing program means
The independence of above-mentioned each module is not improved, the connection structure of the module of above-mentioned each prior art is improved,
Exactly the connection structure of the internal logic circuit of CPLD chip is improved.
The advantages of above display describes the basic principles and main features and the utility model of the utility model.The industry
Technical staff it should be appreciated that the present utility model is not limited to the above embodiments, it is described in the above embodiment and specification
Only illustrate the principles of the present invention, on the premise of not departing from the spirit and scope of the utility model, the utility model can also
There are various changes and modifications, these various changes and improvements fall within the scope of the claimed invention.The utility model is wanted
Protection scope is asked to be defined by the appending claims and its equivalent thereof.
Claims (3)
1. a kind of electric machine controller circuit module based on CPLD, including MCU master chip, which is characterized in that further include a CPLD
Chip, the CPLD chip are connect with external active crystal oscillator, and the CPLD chip includes:
One clock programmable module, the clocks programmable module input signal are the signal of CLK, will obtain corresponding clock signal
CLKO is supplied to the work of MCU master chip;
One over-voltage detects programmable module, and the over-voltage detection programmable module is to detect the voltage inputted by electric machine controller
Signal UI, by filtering, determine its whether over-voltage, while exporting UO signal;
One over-current detection programmable module, the over-current detection programmable module is to detect the electric current inputted by electric machine controller
Signal II, by filtering, determine its whether overcurrent, while exporting I/O signal;
Programmable module is detected in one dead zone, and the pwm signal of the dead zone detection programmable module input is the PWM letter of master control output
Number, the dead zone detection programmable module passes through filtering, root to detect PWM dead time whether within the period of setting
PWM malfunction PWMDEAO signal is exported according to judgement result;
One driver detects programmable module, and the IPM signal of the driver detection programmable module input is driver malfunction
Output signal, by filtering, determine whether failure in set period of time, while exporting IPMO signal;
One one-way bus buffer and or door drive integrated programmable module, the one-way bus buffer and or door driving it is integrated
Programmable module to by the UO signal, I/O signal, PWMDEAO signal, IPMO signal carry out it is integrated after to the signal of PWM into
Row output;Output driving status signal DRIVESP is connect with the EMGSTOPB interruptive port of MCU master chip simultaneously, driving condition
When in fault case, MCU master chip can rapidly enter software interrupt, interrupt PWM output, while CPLD chip itself can not pass through
MCU master chip rapidly switches off PWM output;
One encoder programmable module, the encoder programmable module is to believe the UO signal, I/O signal, PWMDEAO
Number, the output signal of IPMO signal encoded by binary number, output signal after coding, this signal is input to MCU main core
The master port of piece.
2. a kind of electric machine controller circuit module based on CPLD as described in claim 1, which is characterized in that the CPLD core
The model 5M570ZT100C5N of piece.
3. a kind of electric machine controller circuit module based on CPLD as described in claim 1, which is characterized in that the MCU master
The model TC275 of chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920213519.6U CN209356888U (en) | 2019-02-18 | 2019-02-18 | A kind of electric machine controller circuit module based on CPLD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920213519.6U CN209356888U (en) | 2019-02-18 | 2019-02-18 | A kind of electric machine controller circuit module based on CPLD |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209356888U true CN209356888U (en) | 2019-09-06 |
Family
ID=67803664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201920213519.6U Expired - Fee Related CN209356888U (en) | 2019-02-18 | 2019-02-18 | A kind of electric machine controller circuit module based on CPLD |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209356888U (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112115671A (en) * | 2020-09-14 | 2020-12-22 | 纳瓦电子(上海)有限公司 | Circuit structure for improving electromagnetic radiation of clock signal end of processor and forming method thereof |
CN112683115A (en) * | 2020-12-16 | 2021-04-20 | 陕西航天时代导航设备有限公司 | Torpedo steering engine driving system based on CPLD control |
CN112925288A (en) * | 2021-01-20 | 2021-06-08 | 金华职业技术学院 | Integrated electric control device of electric automobile |
CN113014152A (en) * | 2021-04-08 | 2021-06-22 | 中国第一汽车股份有限公司 | Dual-motor control system and method |
CN115503485A (en) * | 2022-10-26 | 2022-12-23 | 重庆金康动力新能源有限公司 | Vehicle motor safety monitoring system and method |
US11810835B2 (en) * | 2020-08-28 | 2023-11-07 | Actron Technology Corporation | Intelligent power module packaging structure |
-
2019
- 2019-02-18 CN CN201920213519.6U patent/CN209356888U/en not_active Expired - Fee Related
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11810835B2 (en) * | 2020-08-28 | 2023-11-07 | Actron Technology Corporation | Intelligent power module packaging structure |
CN112115671A (en) * | 2020-09-14 | 2020-12-22 | 纳瓦电子(上海)有限公司 | Circuit structure for improving electromagnetic radiation of clock signal end of processor and forming method thereof |
CN112683115A (en) * | 2020-12-16 | 2021-04-20 | 陕西航天时代导航设备有限公司 | Torpedo steering engine driving system based on CPLD control |
CN112683115B (en) * | 2020-12-16 | 2024-01-30 | 陕西航天时代导航设备有限公司 | Torpedo steering engine driving system based on CPLD control |
CN112925288A (en) * | 2021-01-20 | 2021-06-08 | 金华职业技术学院 | Integrated electric control device of electric automobile |
CN112925288B (en) * | 2021-01-20 | 2021-11-02 | 金华职业技术学院 | Integrated electric control device of electric automobile |
CN113014152A (en) * | 2021-04-08 | 2021-06-22 | 中国第一汽车股份有限公司 | Dual-motor control system and method |
CN115503485A (en) * | 2022-10-26 | 2022-12-23 | 重庆金康动力新能源有限公司 | Vehicle motor safety monitoring system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN209356888U (en) | A kind of electric machine controller circuit module based on CPLD | |
CN202923416U (en) | Traction control unit for electric locomotive | |
CN101916984A (en) | IGBT intelligent driving module for new energy automobile and control method thereof | |
CN209342803U (en) | A kind of High-accuracy direct current electric energy meter | |
CN103457478A (en) | Cascading type multi-level frequency converter control system based on DSP and FPGA | |
CN206004569U (en) | A kind of torque security turning off system for servo-driver | |
CN106649177A (en) | Device for automatic identification and switching of port of universal serial interface and working method thereof | |
CN103802841B (en) | Electric locomotive traction control unit and control method | |
CN201464879U (en) | Programmable controller with multi-circuit high-speed pulse output and high-speed counting functions | |
CN101741304B (en) | CPLD-based multi-subdivision high-speed constant-torque controller of two-phase hybrid stepping motor | |
CN206077347U (en) | Numeric type IGBT is controlled and driving means | |
CN204578505U (en) | A kind of drive singal digital processing circuit cascade system for IGBT | |
CN202975764U (en) | Mobile mechanical intelligent controller based on CANopen | |
CN202798578U (en) | Multi-functional motor driver | |
CN208539815U (en) | Ultrahigh speed spindle controller based on GaN power device | |
CN110932392A (en) | Intelligent control system and control method for contactor | |
CN215871242U (en) | Direct-current brushless driver of doubling winder | |
CN114884493A (en) | PWM signal decoder and single-input high-voltage integrated circuit using same | |
CN210167795U (en) | PWM signal locking circuit of servo driver | |
CN201211453Y (en) | Novel pulse control tool based on matrix output | |
CN209709672U (en) | A kind of three-phase motor driver overcurrent protective device | |
CN204103751U (en) | A kind of Drive Structure adding the three-level current transformer of CPLD based on many DSP | |
CN207530698U (en) | A kind of multi-channel PWM controller parallel connection synchronization control circuit | |
CN210608908U (en) | Subway train traction inversion module driving board | |
CN215818090U (en) | Multifunctional safety IO interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190906 |