CN108321769A - A kind of electric machine control system failure protecting device and method based on CPLD and DSP - Google Patents

A kind of electric machine control system failure protecting device and method based on CPLD and DSP Download PDF

Info

Publication number
CN108321769A
CN108321769A CN201810123089.9A CN201810123089A CN108321769A CN 108321769 A CN108321769 A CN 108321769A CN 201810123089 A CN201810123089 A CN 201810123089A CN 108321769 A CN108321769 A CN 108321769A
Authority
CN
China
Prior art keywords
module
dsp
cpld
software
signal
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
CN201810123089.9A
Other languages
Chinese (zh)
Other versions
CN108321769B (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.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Geely Automobile Research Institute Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Geely Automobile Research Institute 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 Zhejiang Geely Holding Group Co Ltd, Zhejiang Geely Automobile Research Institute Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN201810123089.9A priority Critical patent/CN108321769B/en
Publication of CN108321769A publication Critical patent/CN108321769A/en
Application granted granted Critical
Publication of CN108321769B publication Critical patent/CN108321769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
    • H02H7/0822Integrated protection, motor control centres
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H1/00Details of emergency protective circuit arrangements
    • H02H1/0092Details of emergency protective circuit arrangements concerning the data processing means, e.g. expert systems, neural networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
    • H02H7/0833Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors for electric motors with control arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

The present invention provides a kind of electric machine control system failure protecting devices and method based on CPLD and DSP, belong to automobile technical field.It solves the problems, such as how to increase electric machine control system error protection processing reliability.The present apparatus includes data acquisition module, power module, CPLD modules, DSP module and the level switch module for connecting CPLD modules, data acquisition module is electrically connected level switch module, power module data line is bi-directionally connected level switch module, and data acquisition module is also electrically coupled to DSP module.Method includes when fault-signal value is more than hardware threshold, and CPLD modules carry out hardware lockout pwm pulse, and triggers DSP module and enter error protection interruption;DSP module receives detected signal value and is compared respectively with software threshold value one and software threshold value two, drop Power Processing is carried out when detected signal value is more than when software threshold value one is less than software threshold value two, when second detected signal value carries out software blocked pwm pulse more than software threshold value.The present apparatus and method enhancing error protection processing are reliable and stable.

Description

A kind of electric machine control system failure protecting device and method based on CPLD and DSP
Technical field
The invention belongs to automobile technical fields, are related to a kind of electric machine control system error protection dress based on CPLD and DSP It sets and method.
Background technology
New-energy automobile is quickly grown at present, and wherein electric machine control system is the key components and parts in new-energy automobile.By Complicated in electric machine control system operating condition, the security reliability in automobilism requires height, therefore improves related automatically controlled system The troubleshooting of system and defencive function are of great significance to the safety of new-energy automobile.In the prior art to electric machine control system The method for carrying out error protection processing mainly has software protection, logic gate protection and CPLD module protections.
Chinese patent literature discloses a kind of electric vehicle electricity based on CPLD modules application No. is 201020638915 Machine system failure processing unit.Including CPLD modules, DSP module, motor temperature sensor, temperature of power module sensor, mother Line direct current voltage sensor, multiple motor current sensors, multiple input modulate circuit and multiple comparators.The event of CPLD modules Barrier feedback register saves all fault-signals currently generated, and the DSP module of motor master control borad can be passed through using software Data line reads the information in the failure feedback register, once read a certain or certain several letter in these fault-signals Number, error protection event will be triggered, hardware circuit will quickly block PWM, while it is low level to export error protection signal, and And DSP module exports control instruction to control register, low level pulse is sent out by the control logic of CPLD modules, to master control The control bit of circuit intermediate relay is operated, to open main relay.The device is using CPLD modules to electric vehicle electricity The fault-signal of machine system carries out virtual protection and control, to realize the reliably protecting to electric automobile motor system.The failure Processing unit has the following deficiencies:1, faulty for institute, no matter whether failure is serious, all carry out this flow operations;2, from event Barrier occurs to final DSP module to execute the overlong time of error protection event, that is, executes overlong time.3, when CPLD module chips It breaks down, then failure protection function is then entirely ineffective.It can be seen that the electric machine control system troubleshooting and protection of the device Reliability it is also to be strengthened.
Invention content
The present invention is in view of the above-mentioned problems existing in the prior art, it is proposed that a kind of motor control system based on CPLD and DSP System failure protecting device and method.How the devices and methods therefor realizes that improving electric machine control system error protection is handled if solving The problem of reliability.
The present invention is realized by following technical proposal:A kind of electric machine control system error protection based on CPLD and DSP Device, including data acquisition module, power module, CPLD modules and DSP module, the CPLD modules and DSP module data line Connection, which is characterized in that the device further includes the level switch module that data line is bi-directionally connected CPLD modules, the data acquisition Module is electrically connected level switch module, and the power module data line is bi-directionally connected level switch module, the data acquisition module Block is also electrically coupled to DSP module, and the CPLD modules are judged according to the fault data that data acquisition module detects, and work as reception Fault data be more than hardware threshold, CPLD modules carry out hardware lockout pwm pulse, are equipped in the DSP module and are less than hardware The software threshold value one of threshold value, DSP module are compared judgement according to the real time data that data acquisition module detects, when the reality of detection When data be more than software threshold value one be less than hardware threshold when carry out drop Power Processing.
CPLD modules are handled using hardware fault and software fault handles DSP module jointly to motor and electric machine control system All kinds of fault-signals carry out classification processing, are more than software threshold values one to noncritical failure, that is, fault-signal value and are less than hardware threshold Drop Power Processing is carried out by DSP module, only belong to catastrophe failure when fault-signal value is more than hardware threshold and just carry out Pwm pulse operation is blocked, avoids frequently carrying out block pwm pulse operation, while CPLD modules and DSP module coordinated management are hard Part troubleshooting and software fault processing increase the stabilization of electrical fault protection processing and reliable with multichannel Preservation tactics Property.
In the above-mentioned electric machine control system failure protecting device based on CPLD and DSP, it is additionally provided in the DSP module Software threshold value two, above-mentioned software threshold value two are more than hardware threshold, when the real time fail data of detection are more than software threshold value two, DSP module carries out software blocked pwm pulse.Setting is more than the software threshold values two of hardware threshold values in DSP module, according to number of faults It is judged that blocking pwm pulse processing when failure especially severe on hardware and software simultaneously, improve in especially severe failure problems Troubleshooting capability, while while also avoiding CPLD module hardware fault logic circuits failures also there is software fault to handle energy Power.Multichannel process strategy makes electrical fault protection processing more reliable and more stable.
In the above-mentioned electric machine control system failure protecting device based on CPLD and DSP, during the CPLD modules pass through Break signal line connects DSP module interrupt pin, and CPLD modules connect DSP module by malfunction coding signal wire and read and write pin, DSP Module is separately connected CPLD module input control pins by pwm signal line and control signal wire, when CPLD modules carry out hardware It when blocking pwm pulse, while triggering DSP module and entering error protection interruption, DSP module reads the malfunction coding in CPLD modules Signal handles the relevant software protection of the failure.CPLD modules are attached with DSP module by multiple signals line respectively, CPLD modules trigger DSP module interruption and DSP module read failure encoded signal, at pwm signal line and control signal wire The relevant software protection of the failure is managed, multiple signals line ensure that the hardware and software failure processing of CPLD modules and DSP module is protected Stablize cooperation and while occurring unreasonable and can independently realize the function that troubleshooting is protected again.
In the above-mentioned electric machine control system failure protecting device based on CPLD and DSP, the data acquisition module packet Current sensor, comparator one and signal conditioning circuit one are included, current sensor connects level switch module by comparing device one, The current sensor connects DSP module by signal conditioning circuit one.It is detected on current sensor acquisition motor three-phase windings Current signal, current signal is input to DSP module by signal conditioning circuit one, is handled for software failure signal, comparator One, by after current signal value and hardware overcurrent threshold value comparison, carries out level conversion by level switch module, is connected to CPLD moulds Block carries out the processing of hardware over current fault.Ensure that DSP module and CPLD modules can independently and timely obtain overcurrent event Hinder signal.
In the above-mentioned electric machine control system failure protecting device based on CPLD and DSP, the data acquisition module is also Including DC bus-bar voltage sensor, comparator two and signal conditioning circuit two, the DC bus-bar voltage sensor passes through ratio Level switch module is connected compared with device two, the current sensor connects DSP module by signal conditioning circuit two.DC bus electricity Pressure sensor acquires the voltage signal in DC bus circuit, and voltage signal is input to DSP module, is used for by signal conditioning circuit two Software failure signal processing, comparator two by after voltage signal values and hardware overcurrent threshold value comparison, by level switch module into Line level is converted, and the processing that CPLD modules carry out hardware over current fault is connected to.Ensure that DSP module and CPLD modules can be independent And timely obtain busbar voltage over-voltage fault signal.
In the above-mentioned electric machine control system failure protecting device based on CPLD and DSP, the data acquisition module is also Including motor temperature sensor, comparator three and signal conditioning circuit three, the motor temperature sensor connects by comparing device three Level switch module is connect, the motor temperature sensor connects DSP module by signal conditioning circuit three.Motor temperature sensor For acquiring motor temperature signal, voltage signal is input to DSP module by signal conditioning circuit three, at software failure signal Reason, comparator three carry out level conversion, connection by after temperature signal value and motor excess temperature threshold value comparison by level switch module The processing of motor excess temperature failure is carried out to CPLD modules.Ensure that DSP module and CPLD modules can independently and timely obtain electricity Machine temperature excess temperature fault-signal.
In the above-mentioned electric machine control system failure protecting device based on CPLD and DSP, the data acquisition module is also Including temperature of power module sensor, comparator four and signal conditioning circuit four, the temperature of power module sensor pass through ratio Level switch module is connected compared with device four, the motor temperature sensor connects DSP module by signal conditioning circuit four.Power mould Deblocking temperature sensor acquires collected temperature of power module signal on power module, and signal conditioning circuit four is by power module temperature Degree signal is input to DSP module, is handled for software failure signal, and comparator four is by temperature of power module signal value and hardware work( After rate module excess temperature threshold value comparison, level conversion is carried out by level switch module, CPLD modules is connected to and carries out power module The processing of excess temperature failure.Ensure that DSP module and CPLD modules can independently and timely obtain temperature of power module excess temperature failure Signal.
In the above-mentioned electric machine control system failure protecting device based on CPLD and DSP, the CPLD modules are also connected with There is at least one malfunction indicator lamp, when CPLD modules carry out hardware lockout pwm pulse, lighting circuit corresponding failure indicator light. CPLD modules have fault indication function.
A kind of electric machine control system fault protecting method based on CPLD and DSP, which is characterized in that CPLD modules receive inspection Fault-signal after surveying signal value and hardware threshold relatively, when fault-signal value is more than hardware threshold, CPLD modules carry out hard Part blocks pwm pulse, and triggers DSP module and enter error protection interruption;The software threshold less than hardware threshold is equipped in DSP module Value one and software threshold value two more than hardware threshold, DSP module receive detected signal value and with software threshold value one and software threshold value Two are compared respectively, carry out drop Power Processing when detected signal value is more than when software threshold value one is less than software threshold value two, work as inspection It surveys signal value and second carries out software blocked pwm pulse more than software threshold value.
CPLD modules are handled using hardware fault and software fault handles DSP module jointly to motor and electric machine control system All kinds of fault-signals carry out classification processing, are more than software threshold values one to noncritical failure, that is, fault-signal value and are less than hardware threshold Drop Power Processing is carried out by DSP module, only belong to catastrophe failure when fault-signal value is more than hardware threshold and just carry out Block pwm pulse operation, avoid frequently carrying out block pwm pulse operation, at the same CPLD modules and DSP module coordinated management from Hardware fault processing and software fault processing increase the stabilization of electrical fault protection processing and reliable with multichannel Preservation tactics Property.
In the above-mentioned electric machine control system fault protecting method based on CPLD and DSP, when fault-signal value is more than firmly When part threshold value, CPLD modules carry out fault logic coding and lighting circuit corresponding failure indicator light, and DSP module reads CPLD modules The malfunction coding signal of upload.CPLD modules trigger DSP module interruption and DSP module read failure encoded signal, CPLD modules Communicated with DSP module multiple signals ensure that CPLD modules and DSP module hardware and software failure processing protection stablize cooperation and The function of troubleshooting protection can be independently realized when occurring unreasonable again.
Compared with prior art, based in the electric machine control system failure protecting device and its system of CPLD and DSP.Tool It has the advantage that:
1, fault-signal is carried out classification processing by the present invention, and drop Power Processing is carried out by DSP module to noncritical failure, Only fault-signal value be more than hardware threshold when belong to catastrophe failure just carry out block pwm pulse operate, avoid frequently into Row block pwm pulse operation so that electrical fault protection processing is more reliable and more stable.
2, the present invention has multichannel error protection strategy, if CPLD module hardware locking pulses fail, when DSP module is examined When measuring the threshold value of failure more than software threshold value two, DSP module can then carry out the operation of software blocked pwm pulse at once, ensure The reliability of system.
3, the present invention is when needing CPLD modules progress hardware directly to block the catastrophe failure of pwm pulse, CPLD moulds Block can directly block pwm pulse, at the same the interrupt signal line that is connected with DSP module of CPLD modules can trigger DSP module can not Shielding is interrupted, other failure protection functions are triggered:For example the error code that CPLD modules upload is read, number when storage failure occurs According to etc..Compared to the mode that DSP module inquires CPLD module failures, the speed of DSP module handling failure is accelerated.
Description of the drawings
Fig. 1 is the structural schematic diagram of the present invention.
Fig. 2 is the control flow chart of the present invention.
In figure, 1, DSP module;2, CPLD modules;3, level switch module;4, power module;5, current sensor;51、 Comparator one;6, DC bus-bar voltage sensor;61, comparator two;7, motor temperature sensor;71, comparator three;8, power Module temperature sensor;81, comparator four;9, data acquisition module;91, signal conditioning circuit one;92, signal conditioning circuit Two;93, signal conditioning circuit three;94, signal conditioning circuit four;10, malfunction indicator lamp.
Specific implementation mode
The following is specific embodiments of the present invention, and technical scheme of the present invention will be further described in conjunction with attached drawing, However, the present invention is not limited to these examples.
As shown in Figs. 1-2, include data acquisition module based on the electric machine control system failure protecting device of CPLD and DSP 9, power module 4, CPLD modules 2 and DSP module 1, CPLD modules 2 are connected with 1 data line of DSP module, which further includes number The level switch module 3 of CPLD modules 2 is bi-directionally connected according to line, data acquisition module 9 is electrically connected level switch module 3, power mould 4 data line of block is bi-directionally connected level switch module 3, and power module sends fault-signal to level switch module, level conversion mould Block 3 sends pwm pulse signal to power module according to 2 control instruction of CPLD modules.Data acquisition module 9 is also electrically coupled to DSP Module 1, CPLD modules 2 are judged according to the fault data that data acquisition module 9 detects, when the fault data of reception is more than firmly Part threshold value, CPLD modules 2 carry out hardware lockout pwm pulse, the software threshold value one less than hardware threshold are equipped in DSP module 1, DSP module 1 is compared judgement according to the real time data that data acquisition module 9 detects, when the real time data of detection is more than software Threshold value one carries out drop Power Processing when being less than hardware threshold.CPLD modules 2 are also associated at least one malfunction indicator lamp 95, when When CPLD modules 2 carry out hardware lockout pwm pulse, lighting circuit corresponding failure indicator light 95.It is additionally provided with software in DSP module 1 Threshold value two, above-mentioned software threshold value two are more than hardware threshold, when the real time fail data of detection are more than software threshold value two, DSP moulds Block 1 carries out software blocked pwm pulse.Setting is more than the software threshold values two of hardware threshold values in DSP module 1, according to fault data It blocks pwm pulse processing when failure judgement especially severe on hardware and software simultaneously, improves in especially severe failure problems Troubleshooting capability, while also avoiding also there is software fault to handle energy when 2 hardware fault processing circuit failure of CPLD modules Power.Multichannel process strategy makes electrical fault protection processing more reliable and more stable.
CPLD modules 2 connect 1 interrupt pin of DSP module by interrupt signal line, and CPLD modules 2 pass through malfunction coding signal Line connects DSP module 1 and reads and writes pin, and DSP module 1 is separately connected CPLD modules 2 by pwm signal line and control signal wire and inputs Controlling switch when CPLD modules 2 carry out hardware lockout pwm pulse, while triggering DSP module 1 and entering error protection interruption, DSP module 1 reads the malfunction coding signal in CPLD modules 2, handles the relevant software protection of the failure.CPLD modules 2 and DSP Module 1 is attached respectively by multiple signals line, and CPLD modules 2 trigger the interruption of DSP module 1 and 1 read failure of DSP module is compiled Code signal handles the relevant software protection of the failure by pwm signal line and control signal wire, as pwm signal is DSP in Fig. 1 The pwm pulse that module 1 is sent to CPLD modules 2 through pwm signal line controls signal, and it is DSP module 1 that CPLD modules 2, which control signal, The control signal of CPLD modules 2 is sent to through control signal wire, interrupt signal is that CPLD modules 2 trigger DSP through interrupt signal line Module 1 enters outage protection signal, and malfunction coding signal is DSP module 1 through malfunction coding signal-obtaining CPLD modules 2 Fault-signal.Multiple signals line ensure that the hardware and software failure processing protection of CPLD modules 2 and DSP module 1 stablize cooperation and The function of troubleshooting protection can be independently realized when occurring unreasonable again.
Data acquisition module 9 includes current sensor 5, comparator 1 and signal conditioning circuit 1, current sensor 5 Level switch module 3 is connected by comparing device 1, current sensor 5 connects DSP module 1 by signal conditioning circuit 1. Current sensor 5 acquires the current signal detected on motor three-phase windings, and current signal is input to by signal conditioning circuit 1 DSP module 1 is handled for software failure signal, and comparator 1 passes through after current signal value and hardware overcurrent threshold value comparison Level switch module 3 carries out level conversion, is connected to the processing that CPLD modules 2 carry out hardware over current fault.Data acquisition module 9 Further include DC bus-bar voltage sensor 6, comparator 2 61 and signal conditioning circuit 2 92, DC bus-bar voltage sensor 6 is logical It crosses comparator 2 61 and connects level switch module 3, current sensor 5 connects DSP module 1 by signal conditioning circuit 2 92.Directly The voltage signal that busbar voltage sensor 6 acquires DC bus circuit is flowed, voltage signal is input to by signal conditioning circuit 2 92 DSP module 1 is handled for software failure signal, and comparator 2 61 passes through after voltage signal values and hardware overcurrent threshold value comparison Level switch module 3 carries out level conversion, is connected to the processing that CPLD modules 2 carry out hardware over current fault.
Data acquisition module 9 further includes motor temperature sensor 7, comparator 3 71 and signal conditioning circuit 3 93, motor Temperature sensor 7 connects level switch module 3 by comparing device 3 71, and motor temperature sensor 7 passes through signal conditioning circuit three 93 connection DSP modules 1.For 7 device of motor temperature sensor for acquiring motor temperature signal, signal conditioning circuit 3 93 believes voltage Number it is input to DSP module 1, is handled for software failure signal, comparator 3 71 is by temperature signal value and hardware excess temperature threshold value ratio After relatively, level conversion is carried out by level switch module 3, is connected to the processing that CPLD modules 2 carry out motor excess temperature failure.
Data acquisition module 9 further includes temperature of power module sensor 8, comparator 4 81 and signal conditioning circuit 4 94, Temperature of power module sensor 8 connects level switch module 3 by comparing device 4 81, and motor temperature sensor 7 passes through signal tune It manages circuit 4 94 and connects DSP module 1.Temperature of power module sensor 8 acquires collected temperature of power module on power module 4 Temperature of power module signal is input to DSP module 1 by signal, signal conditioning circuit 4 94, is handled for software failure signal, than Compared with device 4 81 by after temperature of power module signal value and hardware power module excess temperature threshold value comparison, by level switch module 3 into Line level is converted, and the processing that CPLD modules 2 carry out 4 excess temperature failure of power module is connected to.
Electric machine control system fault protecting method based on CPLD and DSP include CPLD modules 2 receive detected signal value with Hardware threshold relatively after fault-signal, when fault-signal value is more than hardware threshold, CPLD modules 2 carry out hardware lockout PWM Pulse, and trigger DSP module 1 and enter error protection interruption;One He of software threshold value less than hardware threshold is equipped in DSP module 1 More than the software threshold value two of hardware threshold, DSP module 1 receives detected signal value and distinguishes with software threshold value one and software threshold value two It is compared, drop Power Processing is carried out when detected signal value is more than when software threshold value one is less than software threshold value two, when detection signal Second value carries out software blocked pwm pulse more than software threshold value.When fault-signal value be more than hardware threshold when, CPLD modules 2 into Row fault logic encodes and the corresponding malfunction indicator lamp 95 of lighting circuit, and DSP module 1 reads the failure that CPLD modules 2 upload and compiles Code signal.CPLD modules 2 trigger the interruption of DSP module 1 and 1 read failure encoded signal of DSP module, CPLD modules 2 and DSP module The communication of 1 multiple signals ensure that the stable cooperation of CPLD modules 2 and the hardware and software failure processing protection of DSP module 1 and occur not The function of troubleshooting protection can be independently realized when rationally again.
It is that the present invention is based on the electric machine control system failure protecting device of CPLD and DSP and the operation principles of method below:
The voltage signal acquired in DC bus circuit is input in electric machine controller by DC bus-bar voltage sensor 6, Signal conditioning circuit 2 92 carries out software after DC bus-bar voltage signal is input to DSP module 1 and software overcurrent threshold value comparison The detection of over-voltage fault, when DC bus-bar voltage signal is between software overvoltage threshold one and software overvoltage threshold two, first Drop Power Processing is carried out, when DC bus-bar voltage signal is more than software overvoltage threshold two, triggers software blocked PWM events;Than Compared with device 2 61 by after DC bus-bar voltage signal value and hardware over-voltage threshold value comparison, turn into line level by level switch module 3 It changes, connection is sent to the processing that CPLD modules 2 carry out hardware over-voltage failure, when DC bus-bar voltage signal value is more than hardware over-voltage When threshold value, CPLD modules 2 directly block the output of pwm pulse, light it is corresponding represents over-pressed malfunction indicator lamp 95, and by with The interrupt pin that DSP module 1 connects, triggering DSP module 1 enter error protection interrupt routine, handle the relevant protection of the failure Strategy, and the malfunction coding signal of the upload of CPLD modules 2 is read simultaneously.
Motor temperature sensor 7 collected motor temperature signal will be input in electric machine controller on motor, signal Motor temperature signal is input to DSP module 1 and carries out software motor after software motor excess temperature threshold value comparison by modulate circuit 3 93 The detection of excess temperature failure, when motor temperature signal value is between software motor excess temperature threshold value one and software motor excess temperature threshold value two When, drop Power Processing is first carried out, when motor temperature signal value is more than software motor temperature threshold value two, triggers software blocked PWM things Part;Comparator 3 71 carries out electricity by after motor temperature signal value and hardware motor excess temperature threshold value comparison by level switch module 3 Flat turn is changed, and the processing that CPLD modules 2 carry out hardware motor excess temperature failure is connected to, when motor temperature signal value is more than hardware motor When excess temperature threshold value, CPLD modules 2 directly block the output of pwm pulse, light the corresponding malfunction indicator lamp 95 for representing motor excess temperature, And the interrupt pin by being connect with DSP module 1, triggering DSP module 1 enter error protection interrupt routine, handle the failure phase The Preservation tactics of pass, and the malfunction coding signal of the upload of CPLD modules 2 is read simultaneously.
Multichannel temperature of power module sensor 8 acquires collected temperature of power module signal on power module 4 and is input to In electric machine controller, temperature of power module signal is input to DSP module 1 and software power module mistake by signal conditioning circuit 4 94 The detection that 4 excess temperature failure of software power module is carried out after warm threshold value comparison, when temperature of power module signal value is in software power When between excess temperature threshold value one and software power excess temperature threshold value two, drop volume processing is first carried out, when temperature of power module signal value is more than When software power excess temperature threshold value two, software blocked PWM events are triggered;Comparator 4 81 is by temperature of power module signal value and hardware After power module excess temperature threshold value comparison, level conversion is carried out by level switch module 3, CPLD modules 2 is connected to and carries out hardware The processing of 4 excess temperature failure of power module, when temperature of power module signal value is more than hardware power module excess temperature threshold value, CPLD moulds Block 2 directly blocks the output of pwm pulse, lights the corresponding malfunction indicator lamp 95 for representing power excess temperature, and by with DSP module 1 The interrupt pin of connection, triggering DSP module 1 enter error protection interrupt routine, handle the relevant Preservation tactics of the failure, and same When read the malfunction coding signal that CPLD modules 2 upload.
CPLD is Complex Programmable Logic Devices, and DSP is digital signal processing chip, and software mistake is provided in DSP module 1 Flow threshold values, software overvoltage threshold values, software motor excess temperature threshold value, software power module excess temperature threshold value.More specific software overcurrent threshold Value is software overcurrent threshold value one and software overcurrent threshold value two, and software overvoltage threshold values is software overvoltage threshold one and software overvoltage threshold Two, software motor excess temperature threshold value is software motor excess temperature threshold value one and software motor excess temperature threshold value two, software power module excess temperature Threshold value is software power excess temperature threshold value one and software power excess temperature threshold value two;
Using hardware fault processing CPLD modules 2 and software fault processing DSP module 1 jointly to motor and motor control system All kinds of fault-signals of uniting carry out classification processing, are more than software threshold values one to noncritical failure, that is, fault-signal value and are less than hardware threshold Value carries out drop Power Processing by DSP module 1, only fault-signal value be more than hardware threshold when belong to catastrophe failure just into Row block pwm pulse operation avoids frequently carrying out block pwm pulse operation, while CPLD modules 2 and the collaboration pipe of DSP module 1 Manage hardware fault processing and software fault processing, with multichannel Preservation tactics increase electrical fault protection processing stabilization and can By property.
Specific embodiment described herein is only an example for the spirit of the invention.Technology belonging to the present invention is led The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.

Claims (10)

1. a kind of electric machine control system failure protecting device based on CPLD and DSP, including data acquisition module (9), power mould Block (4), CPLD modules (2) and DSP module (1), the CPLD modules (2) connect with DSP module (1) data line, and feature exists In the device further includes the level switch module (3) that data line is bi-directionally connected CPLD modules (2), the data acquisition module (9) It is electrically connected level switch module (3), power module (4) data line is bi-directionally connected level switch module (3), and the data are adopted Collection module (9) is also electrically coupled to DSP module (1), the number of faults that the CPLD modules (2) are detected according to data acquisition module (9) According to being judged, when the fault data of reception is more than hardware threshold, CPLD modules (2) carry out hardware lockout pwm pulse, described The software threshold value one less than hardware threshold is equipped in DSP module (1), DSP module (1) is detected according to data acquisition module (9) Real time data is compared judgement, is carried out at drop power when the real time data of detection is more than when software threshold value one is less than hardware threshold Reason.
2. the electric machine control system failure protecting device according to claim 1 based on CPLD and DSP, which is characterized in that Software threshold value two is additionally provided in the DSP module (1), above-mentioned software threshold value two is more than hardware threshold, when the real time fail of detection When data are more than software threshold value two, DSP module (1) carries out software blocked pwm pulse.
3. the electric machine control system failure protecting device according to claim 1 or 2 based on CPLD and DSP, feature exist In the CPLD modules (2) connect DSP module (1) interrupt pin by interrupt signal line, and CPLD modules (2) are compiled by failure Code signal line connects DSP module (1) and reads and writes pin, and DSP module (1) is separately connected by pwm signal line and control signal wire CPLD modules (2) input control pin when CPLD modules (2) carry out hardware lockout pwm pulse, while triggering DSP module (1) It is interrupted into error protection, DSP module (1) reads the malfunction coding signal in CPLD modules (2), and it is relevant soft to handle the failure Part is protected.
4. the electric machine control system failure protecting device according to claim 1 or 2 based on CPLD and DSP, feature exist In the data acquisition module (9) includes current sensor (5), comparator one (51) and signal conditioning circuit one (91), electric current Sensor (5) passes through signal condition electricity by comparing device one (51) connection level switch module (3), the current sensor (5) Road one (91) connects DSP module (1).
5. the electric machine control system failure protecting device according to claim 1 or 2 based on CPLD and DSP, feature exist In the data acquisition module (9) further includes DC bus-bar voltage sensor (6), comparator two (61) and signal conditioning circuit Two (92), the DC bus-bar voltage sensor (6) is by comparing device two (61) connection level switch module (3), the electric current Sensor (5) connects DSP module (1) by signal conditioning circuit two (92).
6. the electric machine control system failure protecting device according to claim 1 or 2 based on CPLD and DSP, feature exist In, the data acquisition module (9) further includes that motor temperature senses (7), comparator three (71) and signal conditioning circuit three (93), For the motor temperature sensing (7) by comparing device three (71) connection level switch module (3), the motor temperature sensing (7) is logical Cross signal conditioning circuit three (93) connection DSP module (1).
7. the electric machine control system failure protecting device according to claim 1 or 2 based on CPLD and DSP, feature exist In the data acquisition module (9) further includes temperature of power module sensor (8), comparator four (81) and signal conditioning circuit Four (94), the temperature of power module sensor (8) is by comparing device four (81) connection level switch module (3), the motor Temperature sensing (7) connects DSP module (1) by signal conditioning circuit four (94).
8. the electric machine control system failure protecting device according to claim 1 or 2 based on CPLD and DSP, feature exist In the CPLD modules (2) are also associated at least one malfunction indicator lamp (10), when CPLD modules (2) carry out hardware lockout PWM When pulse, lighting circuit corresponding failure indicator light (10).
9. a kind of electric machine control system fault protecting method based on CPLD and DSP, which is characterized in that CPLD modules (2) receive Detected signal value and hardware threshold relatively after fault-signal, when fault-signal value is more than hardware threshold, CPLD modules (2) into Row hardware lockout pwm pulse, and trigger DSP module (1) and interrupted into error protection;It is equipped in DSP module (1) and is less than hardware threshold The software threshold value one of value and software threshold value two more than hardware threshold, DSP module (1) receive detected signal value and with software threshold value One and software threshold value two be compared respectively, when detected signal value be more than software threshold value one be less than software threshold value two when carry out drop work( Rate processing, when second detected signal value carries out software blocked pwm pulse more than software threshold value.
10. the electric machine control system fault protecting method according to claim 9 based on CPLD and DSP, which is characterized in that When fault-signal value is more than hardware threshold, CPLD modules (2) carry out fault logic coding and lighting circuit corresponding failure indicates Lamp (10), DSP module (1) read the malfunction coding signal that CPLD modules (2) upload.
CN201810123089.9A 2018-02-07 2018-02-07 A kind of electric machine control system failure protecting device and method based on CPLD and DSP Active CN108321769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810123089.9A CN108321769B (en) 2018-02-07 2018-02-07 A kind of electric machine control system failure protecting device and method based on CPLD and DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810123089.9A CN108321769B (en) 2018-02-07 2018-02-07 A kind of electric machine control system failure protecting device and method based on CPLD and DSP

Publications (2)

Publication Number Publication Date
CN108321769A true CN108321769A (en) 2018-07-24
CN108321769B CN108321769B (en) 2019-07-16

Family

ID=62902993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810123089.9A Active CN108321769B (en) 2018-02-07 2018-02-07 A kind of electric machine control system failure protecting device and method based on CPLD and DSP

Country Status (1)

Country Link
CN (1) CN108321769B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167553A (en) * 2018-09-30 2019-01-08 合肥巨动力系统有限公司 A kind of electric machine control system security mechanism implementation method based on MCU+CPLD framework
CN112310945A (en) * 2019-07-31 2021-02-02 无锡飞翎电子有限公司 Anti-demagnetization protection method and device for motor, computer equipment and storage medium
CN114679102A (en) * 2020-12-24 2022-06-28 南京泉峰科技有限公司 Electric tool and control method thereof
CN116826667A (en) * 2023-06-01 2023-09-29 广州安捷制造有限公司 Overcurrent protection method, system, equipment and storage medium for motor
CN117360239A (en) * 2023-12-06 2024-01-09 小米汽车科技有限公司 Vehicle control method, double-electric drive system and vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201909983U (en) * 2010-11-30 2011-07-27 中国汽车技术研究中心 CPLD-based fault treatment device for motor system of electric automobile
CN102541113A (en) * 2012-02-03 2012-07-04 重庆长安汽车股份有限公司 Method and system for controlling temperature of motor
CN104852637A (en) * 2015-05-27 2015-08-19 中国海洋大学 Two-chip brushless DC motor drive control system and control method thereof
CN105207569A (en) * 2015-10-26 2015-12-30 重庆长安汽车股份有限公司 Over-temperature protection method and device for motor of electric vehicle and electric vehicle
CN107482582A (en) * 2017-10-09 2017-12-15 赵东顺 A kind of guard method of motor circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201909983U (en) * 2010-11-30 2011-07-27 中国汽车技术研究中心 CPLD-based fault treatment device for motor system of electric automobile
CN102541113A (en) * 2012-02-03 2012-07-04 重庆长安汽车股份有限公司 Method and system for controlling temperature of motor
CN104852637A (en) * 2015-05-27 2015-08-19 中国海洋大学 Two-chip brushless DC motor drive control system and control method thereof
CN105207569A (en) * 2015-10-26 2015-12-30 重庆长安汽车股份有限公司 Over-temperature protection method and device for motor of electric vehicle and electric vehicle
CN107482582A (en) * 2017-10-09 2017-12-15 赵东顺 A kind of guard method of motor circuit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167553A (en) * 2018-09-30 2019-01-08 合肥巨动力系统有限公司 A kind of electric machine control system security mechanism implementation method based on MCU+CPLD framework
CN112310945A (en) * 2019-07-31 2021-02-02 无锡飞翎电子有限公司 Anti-demagnetization protection method and device for motor, computer equipment and storage medium
CN112310945B (en) * 2019-07-31 2024-04-09 无锡飞翎电子有限公司 Anti-demagnetization protection method and device for motor, computer equipment and storage medium
CN114679102A (en) * 2020-12-24 2022-06-28 南京泉峰科技有限公司 Electric tool and control method thereof
CN116826667A (en) * 2023-06-01 2023-09-29 广州安捷制造有限公司 Overcurrent protection method, system, equipment and storage medium for motor
CN116826667B (en) * 2023-06-01 2024-05-07 广州安捷制造有限公司 Overcurrent protection method, system, equipment and storage medium for motor
CN117360239A (en) * 2023-12-06 2024-01-09 小米汽车科技有限公司 Vehicle control method, double-electric drive system and vehicle
CN117360239B (en) * 2023-12-06 2024-03-01 小米汽车科技有限公司 Vehicle control method, double-electric drive system and vehicle

Also Published As

Publication number Publication date
CN108321769B (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN108321769B (en) A kind of electric machine control system failure protecting device and method based on CPLD and DSP
CN109541457A (en) Power battery high-voltage relay control circuit and method for diagnosing faults
CN102890870B (en) Self diagnosis method and device for faults of traffic signal control machine
CN102692598B (en) Electric cabinet logic tester device of railway vehicle
CN112631256B (en) Switching value output module with safe function and diagnosis processing method
CN101905700B (en) Computer interlocking system and working method thereof
CN111831507B (en) TCMS-RIOM control unit with safety level design
CN105711423B (en) A kind of electric automobile high-voltage safety control system
CN103454543B (en) A kind of method for diagnosing faults of bi-directional DC-DC converter
CN107356883A (en) A kind of signal lamp failure detection means and method based on current effective value
CN108233347A (en) A kind of brushless motor controller Over Current Protection System and over-current protection method
CN201639280U (en) Microcomputer bus protector automatically identifying running ways of bus
CN212134837U (en) Subway shielded door monitoring system
CN113364120A (en) Method, device and equipment for checking control process of intelligent substation and storage medium
CN107462790A (en) Use the distribution system method for diagnosing faults of solid state distribution device
CN1917329A (en) Direct power feed bus controller for cars, and control method
CN110376931B (en) Functional safety current output module with high diagnosis coverage rate
CN106483472A (en) A kind of power system failure diagnostic method based on airborne power supply management and control device
CN110376932B (en) Functional safety switching value output module with high diagnosis coverage rate
CN108471164B (en) Intelligent detection and alarm method and device for pressing plate of transformer protection device
CN108569625A (en) A kind of safety protection circuit device of erecting equipment brake
CN215108294U (en) Platform door central control system
CN107069670A (en) A kind of H bridges change of current module protection circuit and three-phase H bridge cascade converters
CN201854085U (en) Bus coupler segmented monitoring protection and comprehensive self-automatic input device
CN206479820U (en) A kind of intelligent line controller

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