CN108170115A - Electric machine controller fault data recorder and access method and system - Google Patents

Electric machine controller fault data recorder and access method and system Download PDF

Info

Publication number
CN108170115A
CN108170115A CN201711180599.1A CN201711180599A CN108170115A CN 108170115 A CN108170115 A CN 108170115A CN 201711180599 A CN201711180599 A CN 201711180599A CN 108170115 A CN108170115 A CN 108170115A
Authority
CN
China
Prior art keywords
electric machine
machine controller
failure
data
stored
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
CN201711180599.1A
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.)
Wisdri Wuhan Automation Co Ltd
Original Assignee
Wisdri Wuhan Automation 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 Wisdri Wuhan Automation Co Ltd filed Critical Wisdri Wuhan Automation Co Ltd
Priority to CN201711180599.1A priority Critical patent/CN108170115A/en
Publication of CN108170115A publication Critical patent/CN108170115A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention discloses a kind of electric machine controller fault data recorder and access method and system, multiple multi-group datas that relevant environmental variance is run with electric machine controller before it is occurred by recording failure, the multi-group data of identical environmental variance after occurring with record failure, multi-group data according to electric machine controller failure occurring front and rear every variable analyzes failure cause, failure problems are obtained so as to more accurately analysis, and then failure is made reasonably to be solved, simultaneously, all data are all written and are stored in electric machine controller read-only memory EEPROM, it is further able to prevent fault data from losing and at any time can read fault data, carry out accident analysis.

Description

Electric machine controller fault data recorder and access method and system
Technical field
The invention belongs to electric vehicle automation control areas, and in particular to a kind of electric machine controller fault data recorder and Access method.
Background technology
In electric machine controller operational process, various failures can be encountered often and are occurred, such as over-voltage fault, under-voltage fault, mistake Flow failure etc..After the generation of electric machine controller failure, how to analyze determining fault occurrence reason is the method fixed a breakdown.Usually Way be the controller Operational Data Analysis fault occurrence reason recorded when being occurred according to failure.Failure logging is commonly used at present There are two types of methods:When the 1st, detecting that failure occurs, the current type that breaks down of record;When the 2nd, detecting that failure occurs, record is worked as The necessary environmental data at moment, such as voltage, electric current, angle, rotating speed occur for prior fault.First method only just knows that failure is sent out The fault type at raw moment, in this case it is not apparent that be why failure caused by reason occurs.Second method knows that the moment occurs for failure Fault type and necessary environmental variance, the environmental data of similary fault moment can not failure judgement the reason of occurring.The two All there are problems that can not accurate judgement fault occurrence reason.
Invention content
In view of this, it is necessary to which providing one kind can precisely analyze to obtain failure problems, and then failure is made to obtain reasonably The electric machine controller fault data recorder and access method and system of solution.
The present invention provides a kind of electric machine controller fault data recorder and access method, the electric machine controller fault data Record and access method include the following steps:
S1, record failure are multiple before occurring to run the multi-group data of relevant environmental variance with electric machine controller, and store Into the array of random storage RAM;
The multi-group data of identical environmental variance after S2, record failure occur, and be stored in the array of random storage RAM;
S3, the failure stored in random storage RAM to that the data recorded before the moment occur, the postscript at moment occurs for failure The data write-in of record is stored in electric machine controller read-only memory EEPROM.
A kind of electric machine controller fault data recorder and access system, the electric machine controller fault data recorder and access System includes following function module:
Data acquisition module before failure runs relevant environment change for recording multiple and electric machine controller before failure occurs The multi-group data of amount, and be stored in the array of random storage RAM;
Data acquisition module after failure for recording the multi-group data of identical environmental variance after failure occurs, and is stored in In the array of random storage RAM;
The data recorded before moment, failure occur for data memory module, the failure for will be stored in random storage RAM The data write-in for occurring to record after the moment is stored in electric machine controller read-only memory EEPROM.
Electric machine controller fault data recorder of the present invention and access method and system, before recording failure generation Identical environmental variance is more after multiple multi-group datas and record failure with the relevant environmental variance of electric machine controller operation occurs Group data analyze failure cause according to the multi-group data for electric machine controller failure occurring front and rear every variable, from And can more accurately analyze to obtain failure problems, and then failure is made reasonably to be solved, meanwhile, all data are all write Enter to be stored in electric machine controller read-only memory EEPROM, be further able to prevent fault data lose and at any time can will therefore Hinder data to read, carry out accident analysis.
Description of the drawings
Fig. 1 is electric machine controller fault data recorder of the present invention and the flow diagram of access method.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated, it should be understood that and the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The present invention provides a kind of electric machine controller fault data recorder and access method, as shown in Figure 1, the motor controls Device fault data recorder and access method include the following steps:
S1, record failure are multiple before occurring to run the multi-group data of relevant environmental variance with electric machine controller, and store Into the array of random storage RAM;
The multi-group data of identical environmental variance after S2, record failure occur, and be stored in the array of random storage RAM;
S3, the failure stored in random storage RAM to that the data recorded before the moment occur, the postscript at moment occurs for failure The data write-in of record is stored in electric machine controller read-only memory EEPROM.
Specifically, the following 4 function marks of setting:Fault data storage complement mark Flag1, fault data recorder enable Sign of flag 2, fault data recorder function sign of flag 3, fault data read sign of flag 4;Wherein, as Flag1=0, The data of the environmental variance after any failure are not stored after expression failure in the storage list of record data;As Flag1=1, Represent failure after record data storage list in store it is faulty after environmental variance data;As Flag2=0, represent after The continuous data update for carrying out environmental variance;As Flag2=1, represent no longer to carry out the data update of environmental variance;Work as Flag3 When=0, triggering terminates the environmental variance data command after record failure;As Flag3=1, after triggering records failure again Environmental variance data command;As Flag4=0, not to host computer send failure after environmental variance data;Work as Flag4=1 When, the environmental variance data after host computer transmission failure.
When failure strategy judgment module judges that electric machine controller does not have failure, then S environmental variance is recorded, including Voltage, electric current, angle, rotating speed etc. run relevant variable with electric machine controller, and each environmental variance is cyclically updated the n times of record Data are stored in the array of random storage RAM, at this point, fault data stores complement mark Flag1=0, fault data recorder Enabler flags Flag2=0, fault data recorder function sign of flag 3=1, fault data read sign of flag 4=0.Specifically , the relevant environmental variance of multiple and electric machine controller operation is cyclically updated the periods as the change of multiple environment before the failure generation Current newest one group of data of amount, i.e. S environmental variance update the data.
When failure strategy judgment module judges the faulty generation of electric machine controller, then S environmental variance is recorded, including electricity Pressure, electric current, angle, rotating speed etc. run relevant variable with electric machine controller, and M data of each environmental variance are stored at random In the array for storing RAM, as fault data recorder counter Counter1>During M, failure judgement data record is completed, number of faults According to storage complement mark Flag1=1, fault data recorder enabler flags Flag2=1, fault data recorder function sign of flag 3 =0, fault data reads sign of flag 4=0.Failure was both stored in random storage RAM at this time, S*N number before the moment occurs According to, and S*M data after the moment occur for failure.
Fault data in random storage RAM is written in the corresponding distribution address space of read-only memory EEPROM, Prevent fault data lose and at any time can be by fault data sense analysis fault occurrence reason.Even if electric machine controller is because of failure Damage occur can not power on, and user can also individually read the fault data in read-only memory EEPROM, to know event The state trajectory of electric machine controller operation variable before and after barrier occurs.At this point, fault data stores complement mark Flag1=0, failure Data record enabler flags Flag2=1, fault data recorder function sign of flag 3=0;Fault data reads sign of flag 4= 0。
When host computer is sent to electric machine controller reads instruction, the electric machine controller will be in read-only memory EEPROM The data of storage are sent to host computer, carry out accident analysis, at this point, fault data stores complement mark Flag1=0, number of faults According to record enabler flags Flag2=1, fault data recorder function sign of flag 3=0;Fault data reads sign of flag 4=1; After the data stored in read-only memory EEPROM are all sent to host computer by electric machine controller, the fault data is deposited Discharge into sign of flag 1=0, fault data recorder enabler flags Flag2=0, fault data recorder function sign of flag 3=1, Fault data reads sign of flag 4=0.
Based on above-mentioned electric machine controller fault data recorder and access method, correspondingly, the present invention also provides a kind of motors Controller failure data record and access system, the electric machine controller fault data recorder and access system include following function Module:
Data acquisition module before failure runs relevant environment change for recording multiple and electric machine controller before failure occurs The multi-group data of amount, and be stored in the array of random storage RAM;
Data acquisition module after failure for recording the multi-group data of identical environmental variance after failure occurs, and is stored in In the array of random storage RAM;
The data recorded before moment, failure occur for data memory module, the failure for will be stored in random storage RAM The data write-in for occurring to record after the moment is stored in electric machine controller read-only memory EEPROM.
Judged specifically, whether the electric machine controller breaks down by failure strategy judgment module, number before the failure According to acquisition module, for before failure occurs it is multiple with electric machine controller run relevant environmental variance and carry out multi-group data follow Ring more new record, and be stored in the array of random storage RAM;And the datacycle of data acquisition module updates before the failure Period is current newest one group of data of multiple environmental variances.
Electric machine controller fault data recorder of the present invention and access method and system, before recording failure generation Identical environmental variance is more after multiple multi-group datas and record failure with the relevant environmental variance of electric machine controller operation occurs Group data analyze failure cause according to the multi-group data for electric machine controller failure occurring front and rear every variable, from And can more accurately analyze to obtain failure problems, and then failure is made reasonably to be solved, meanwhile, all data are all write Enter to be stored in electric machine controller read-only memory EEPROM, be further able to prevent fault data lose and at any time can will therefore Hinder data to read, carry out accident analysis.
Apparatus above embodiment is one-to-one, the simple part of device embodiment with embodiment of the method, referring to method reality Apply example.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
Professional further appreciates that, with reference to each exemplary unit of the embodiments described herein description And algorithm steps, can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to functionality in the above description.This A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It should be more than the scope of the present invention.
It can directly be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory, memory, read-only memory, Institute is public in electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In the storage medium of arbitrary other forms known.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (8)

1. a kind of electric machine controller fault data recorder and access method, which is characterized in that the electric machine controller fault data Record and access method include the following steps:
S1, record failure are multiple before occurring to run the multi-group data of relevant environmental variance with electric machine controller, and be stored in In the array of machine storage RAM;
The multi-group data of identical environmental variance after S2, record failure occur, and be stored in the array of random storage RAM;
S3, the failure stored in random storage RAM to that the data recorded before the moment occur, failure occurs what the moment recorded later Data write-in is stored in electric machine controller read-only memory EEPROM.
2. electric machine controller fault data recorder and access method according to claim 1, which is characterized in that failure occurs The relevant environmental variance progress multi-group data of preceding multiple and electric machine controller operation is cyclically updated record, and be stored in and deposit at random In the array for storing up RAM.
3. electric machine controller fault data recorder and access method according to claim 2, which is characterized in that the failure hair The periods that are cyclically updated that relevant environmental variance is run with electric machine controller multiple before death are the current newest of multiple environmental variances One group of data.
4. electric machine controller fault data recorder and access method according to claim 1, which is characterized in that the motor control Whether device processed breaks down is judged by failure strategy judgment module.
5. a kind of electric machine controller fault data recorder and access system, which is characterized in that the electric machine controller fault data Record and access system include following function module:
Data acquisition module before failure runs relevant environmental variance for recording multiple and electric machine controller before failure occurs Multi-group data, and be stored in the array of random storage RAM;
Data acquisition module after failure for recording the multi-group data of identical environmental variance after failure occurs, and is stored in random In the array for storing RAM;
The data recorded before moment occur for data memory module, the failure for will be stored in random storage RAM, and failure occurs The data write-in recorded after moment is stored in electric machine controller read-only memory EEPROM.
6. electric machine controller fault data recorder and access method according to claim 5, which is characterized in that specifically, institute State data acquisition module before failure, for before failure occurs it is multiple run with electric machine controller relevant environmental variance carry out it is more Group data are cyclically updated record, and be stored in the array of random storage RAM.
7. electric machine controller fault data recorder and access method according to claim 6, which is characterized in that before the failure The datacycle update cycle of data acquisition module is current newest one group of data of multiple environmental variances.
8. electric machine controller fault data recorder and access method according to claim 5, which is characterized in that the motor control Whether device processed breaks down is judged by failure strategy judgment module.
CN201711180599.1A 2017-11-23 2017-11-23 Electric machine controller fault data recorder and access method and system Pending CN108170115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711180599.1A CN108170115A (en) 2017-11-23 2017-11-23 Electric machine controller fault data recorder and access method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711180599.1A CN108170115A (en) 2017-11-23 2017-11-23 Electric machine controller fault data recorder and access method and system

Publications (1)

Publication Number Publication Date
CN108170115A true CN108170115A (en) 2018-06-15

Family

ID=62527590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711180599.1A Pending CN108170115A (en) 2017-11-23 2017-11-23 Electric machine controller fault data recorder and access method and system

Country Status (1)

Country Link
CN (1) CN108170115A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885036A (en) * 2019-03-26 2019-06-14 重庆长安新能源汽车科技有限公司 It a kind of vehicle and its closes weight signal and shows and the device and method of fault diagnosis
CN110047527A (en) * 2019-04-22 2019-07-23 中国科学院电工研究所 A kind of motor driven systems running state data storage circuit
CN111190760A (en) * 2019-12-27 2020-05-22 郑州众智科技股份有限公司 Method for recording fault event in grid-connected and off-grid switching process of micro-grid and public grid
CN113778946A (en) * 2021-09-15 2021-12-10 上海威迈斯新能源有限公司 Fault snapshot system
CN113832663A (en) * 2021-09-18 2021-12-24 珠海格力电器股份有限公司 Control chip fault recording method and device and control chip fault reading method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103293399A (en) * 2012-02-22 2013-09-11 海尔集团公司 Method and system for fault analysis of electric equipment
CN104898640A (en) * 2015-04-08 2015-09-09 南车株洲电力机车有限公司 Levitation controller fault diagnosis method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103293399A (en) * 2012-02-22 2013-09-11 海尔集团公司 Method and system for fault analysis of electric equipment
CN104898640A (en) * 2015-04-08 2015-09-09 南车株洲电力机车有限公司 Levitation controller fault diagnosis method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885036A (en) * 2019-03-26 2019-06-14 重庆长安新能源汽车科技有限公司 It a kind of vehicle and its closes weight signal and shows and the device and method of fault diagnosis
CN110047527A (en) * 2019-04-22 2019-07-23 中国科学院电工研究所 A kind of motor driven systems running state data storage circuit
CN111190760A (en) * 2019-12-27 2020-05-22 郑州众智科技股份有限公司 Method for recording fault event in grid-connected and off-grid switching process of micro-grid and public grid
CN113778946A (en) * 2021-09-15 2021-12-10 上海威迈斯新能源有限公司 Fault snapshot system
CN113832663A (en) * 2021-09-18 2021-12-24 珠海格力电器股份有限公司 Control chip fault recording method and device and control chip fault reading method
CN113832663B (en) * 2021-09-18 2022-08-16 珠海格力电器股份有限公司 Control chip fault recording method and device and control chip fault reading method

Similar Documents

Publication Publication Date Title
CN108170115A (en) Electric machine controller fault data recorder and access method and system
CN105446834B (en) The generation method and device of virtual machine snapshot
CN102568522B (en) The method of testing of hard disk performance and device
CN105893184B (en) A kind of incremental backup method and device
CN106776362A (en) The control method and device of memory
EP2500791A1 (en) System and method of simulating input/output modules in a control system
CN111356964A (en) Fault diagnosis method and device for numerical control machine tool
CN109542708A (en) A method of record backboard physics slot position and system drive corresponding relationship
CN103701655A (en) Fault self-diagnosis and self-recovery method and system for interchanger
CN108955951A (en) A kind of temperature sensor fault judgment method and device
JP2023164999A (en) Program creation assistance device for programmable logic controller
US20180150042A1 (en) Fill level measurement device
CN109117297A (en) A kind of Fault Locating Method and device of solid state hard disk
CN100498961C (en) Hard disc detecting device and method
CN107992268A (en) A kind of method and relevant apparatus of bad block mark
CN109905261A (en) Method for diagnosing faults and device
US20120016507A1 (en) Processing simulation method and apparatus, and program making computer execute the method
CN106816175A (en) The control method and device of memory
CN116737515B (en) Flash memory parameter visualization method, system and storage medium
CN108958665A (en) A kind of storage method and device of history information
CN106201346A (en) A kind of data processing method and storage device
CN110825542B (en) Method, device and system for detecting fault disc in distributed system
CN110908947A (en) Hot plug method and device for frame type equipment line card, main control board and frame type equipment
JP2008052738A (en) Automation system and method for clock time, process and/or machine optimization
CN106708445A (en) Link selection method and device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180615