CN109164793A - A kind of method that real-time reading becomes decoding chip data with monitoring rotation - Google Patents
A kind of method that real-time reading becomes decoding chip data with monitoring rotation Download PDFInfo
- Publication number
- CN109164793A CN109164793A CN201811374789.1A CN201811374789A CN109164793A CN 109164793 A CN109164793 A CN 109164793A CN 201811374789 A CN201811374789 A CN 201811374789A CN 109164793 A CN109164793 A CN 109164793A
- Authority
- CN
- China
- Prior art keywords
- rotation
- decoding chip
- data
- communication module
- cpld
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric 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/0213—Modular 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Control Of Electric Motors In General (AREA)
- Control Of Position Or Direction (AREA)
Abstract
The present invention provides a kind of methods for reading and monitoring in real time rotation and become decoding chip data, it continuously reads the data revolved in change decoding chip using the ability of CPLD parallel data processing, monitoring rotation becomes decoding chip failure, and MCU is uploaded to by the data that decoding chip is read are become from rotation, it obtains location information in real time, the motor control algorithms occupied time is reduced, the dynamic property of motor control is improved.It includes MCU, CPLD, rotation change decoding chip, communication module 1, data memory module, communication module 2 and control module are provided in the CPLD, it includes data transmission terminal, fault pin that the rotation, which becomes decoding chip, the communication module 1 is connected to the MCU, the communication module 1 is used for the communication of CPLD and MCU, the communication module 2 connects the data transmission terminal that the rotation becomes decoding chip, the communication module 2 becomes the communication of decoding chip for CPLD and rotation, and the data memory module difference transmitted in both directions connects the communication module 1, communication module 2.
Description
Technical field
The present invention relates to the technical field that rotation becomes decoding chip data processing, a kind of specially read in real time becomes with monitoring rotation
The method of decoding chip data.
Background technique
Rotor-position is the key input parameter of motor control.Used in new energy vehicles motor generally use rotary transformer (with
Call " rotation becomes " in the following text) obtain rotor-position.Rotary transformer needs that decoding chip is cooperated to use.What decoding chip became to generate rotation
Pumping signal, the feedback signal that parsing rotation becomes calculate angle and speed that rotation becomes, and communicate with main control chip and upload data,
However to become decoding chip data transmission longer to the MCU time for existing rotation, and then the motor control algorithms occupied time is longer,
So that the bad dynamic performance of motor control.
Summary of the invention
In view of the above-mentioned problems, the present invention provides a kind of method for reading and monitoring in real time rotation and become decoding chip data,
Data, the monitoring rotation change decoding chip failure that rotation becomes in decoding chip are continuously read using the ability of CPLD parallel data processing,
And it is uploaded to MCU by the data that decoding chip is read are become from rotation, location information is obtained in real time, is reduced shared by motor control algorithms
Time improves the dynamic property of motor control.
A kind of method that real-time reading becomes decoding chip data with monitoring rotation, it is characterised in that: it includes MCU, CPLD, rotation
Become decoding chip, is provided with communication module 1, data memory module, communication module 2 and control module, the rotation in the CPLD
Becoming decoding chip includes data transmission terminal, fault pin, and the communication module 1 is connected to the MCU, and the communication module 1 is used
In the communication of CPLD and MCU, the communication module 2 connects the data transmission terminal that the rotation becomes decoding chip, the communication module 2
Become the communication of decoding chip with rotation for CPLD, the data memory module difference transmitted in both directions connects the communication module 1, leads to
Believe module 2, the Data Concurrent of the data memory module caching communication module 2 is sent to communication module 1, the data memory module
The data of caching include angle, speed and the fault code indications that rotation becomes, and the control module is responsible for the data-flow-control inside CPLD
System and scheduling, the fault pin that the rotation becomes decoding chip send Reflector to the control module.
It is further characterized by:
When normal work, the communication module 2 periodically becomes decoding chip with rotation and is communicated, and reads rotation varied angle, speed
Degree, and by data buffer storage to data memory module;When breaking down, rotation becomes decoding chip and sends Reflector by fault pin
To CPLD, communication module 2 reads rotation and becomes decoding chip error code, and by data buffer storage to data memory module;
The communication of the communication module 1 and MCU uses acknowledgement mechanism, the request of data of the CPLD response MCU.
After applying the present invention, rotation is continuously read by CPLD and becomes position and speed data in decoding chip, and according to need
It asks and is uploaded to MCU, improve the rapidity that data update;CPLD real-time monitoring rotation simultaneously becomes the fault-signal of decoding chip to guarantee
The precision and accuracy of position and speed data, this method shortens the time that location information obtains, and (i.e. acquisition position is believed in real time
Breath), it is possible to reduce the motor control algorithms occupied time, improve the dynamic property of motor control.
Detailed description of the invention
Fig. 1 is block architecture diagram of the present invention.
Specific embodiment
A kind of method of real-time reading and monitoring rotation change decoding chip data, is shown in Fig. 1: it includes MCU, CPLD, rotation change solution
Code chip, communication module 1, data memory module, communication module 2 and control module are provided in CPLD, and rotation becomes decoding chip packet
Data transmission terminal, fault pin are included, communication module 1 is connected to MCU, and communication module 1 is used for the communication of CPLD and MCU, communicates mould
The connection rotation of block 2 becomes the data transmission terminal of decoding chip, and communication module 2 becomes the communication of decoding chip for CPLD and rotation, and data are deposited
It stores up module and distinguishes transmitted in both directions connection communication module 1, communication module 2, data memory module caches the Data Concurrent of communication module 2
It send to communication module 1, the data of data memory module caching include angle, speed and the fault code indications that rotation becomes, control module
The data flow control and scheduling being responsible for inside CPLD, the fault pin that rotation becomes decoding chip send Reflector to control module.
When normal work, communication module 2 periodically becomes decoding chip with rotation and is communicated, and reads rotation varied angle, speed, and
By data buffer storage to data memory module;When breaking down, rotation becomes decoding chip and sends Reflector extremely by fault pin
CPLD, communication module 2 read rotation and become decoding chip error code, and by data buffer storage to data memory module;
The communication of communication module 1 and MCU use acknowledgement mechanism, and CPLD responds the request of data of MCU.
The Chinese of CPLD is Complex Programmable Logic Devices in text.
The Chinese of MCU is one chip microcomputer or single-chip microcontroller in text.
Its working principles are as follows: continuously reading rotation by CPLD becomes position and speed data in decoding chip, and according to need
It asks and is uploaded to MCU, improve the rapidity that data update;CPLD real-time monitoring rotation simultaneously becomes the fault-signal of decoding chip to guarantee
The precision and accuracy of position and speed data, this method shortens the time that location information obtains, and (i.e. acquisition position is believed in real time
Breath), it is possible to reduce the motor control algorithms occupied time, improve the dynamic property of motor control.
Specific embodiments of the present invention are described in detail above, but content is only the preferable implementation of the invention
Example, should not be considered as limiting the invention the practical range of creation.It is all to become according to equalization made by the invention application range
Change and improve etc., it shall still fall within the scope of this patent.
Claims (3)
1. a kind of method for reading and monitoring in real time rotation and become decoding chip data, it is characterised in that: it includes MCU, CPLD, rotation change
Decoding chip, communication module 1, data memory module, communication module 2 and control module are provided in the CPLD, and the rotation becomes
Decoding chip includes data transmission terminal, fault pin, and the communication module 1 is connected to the MCU, and the communication module 1 is used for
The communication of CPLD and MCU, the communication module 2 connect the data transmission terminal that the rotation becomes decoding chip, and the communication module 2 is used
Become the communication of decoding chip in CPLD and rotation, the data memory module difference transmitted in both directions connects the communication module 1, communication
Module 2, the Data Concurrent of the data memory module caching communication module 2 are sent to communication module 1, and the data memory module is slow
The data deposited include angle, speed and the fault code indications that rotation becomes, and the control module is responsible for the data flow control inside CPLD
And scheduling, the fault pin that the rotation becomes decoding chip send Reflector to the control module.
2. the method that a kind of reading in real time as described in claim 1 becomes decoding chip data with monitoring rotation, it is characterised in that: just
Often when work, the communication module 2 periodically becomes decoding chip with rotation and is communicated, and reads and revolves varied angle, speed, and by data
It caches to data memory module;When breaking down, rotation becomes decoding chip and sends Reflector to CPLD, communication by fault pin
Module 2 reads rotation and becomes decoding chip error code, and by data buffer storage to data memory module.
3. the method that a kind of reading in real time as claimed in claim 1 or 2 becomes decoding chip data with monitoring rotation, feature exist
In: the communication of the communication module 1 and MCU uses acknowledgement mechanism, the request of data of the CPLD response MCU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811374789.1A CN109164793A (en) | 2018-11-19 | 2018-11-19 | A kind of method that real-time reading becomes decoding chip data with monitoring rotation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811374789.1A CN109164793A (en) | 2018-11-19 | 2018-11-19 | A kind of method that real-time reading becomes decoding chip data with monitoring rotation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109164793A true CN109164793A (en) | 2019-01-08 |
Family
ID=64874968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811374789.1A Pending CN109164793A (en) | 2018-11-19 | 2018-11-19 | A kind of method that real-time reading becomes decoding chip data with monitoring rotation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109164793A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110726934A (en) * | 2019-11-07 | 2020-01-24 | 陕西航空电气有限责任公司 | Method for detecting fault of rotary circuit of aviation starting motor by adopting AD2S1210 rotary transformer decoding chip |
CN112751521A (en) * | 2020-12-31 | 2021-05-04 | 安徽工程大学 | Controller system applied to motor |
CN113867250A (en) * | 2021-09-29 | 2021-12-31 | 上海地铁电子科技有限公司 | OTP type CPLD decoding circuit and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103863386A (en) * | 2012-12-17 | 2014-06-18 | 联创汽车电子有限公司 | Motor position detection circuit of electric power steering system |
CN204290987U (en) * | 2014-12-27 | 2015-04-22 | 中国西电电气股份有限公司 | A kind of high-speed electric expreess locomotive test circuit |
CN104819732A (en) * | 2015-05-08 | 2015-08-05 | 深圳市英威腾电动汽车驱动技术有限公司 | Rotary transformer decoding circuit and control method thereof |
US20160197681A1 (en) * | 2015-01-06 | 2016-07-07 | Infinera Corporation | Efficient processing of high data rate signals with a configurable frequency domain equalizer |
CN106841988A (en) * | 2017-01-26 | 2017-06-13 | 西安应用光学研究所 | One kind rotation becomes decoding chip fault locator and detection method |
CN107612360A (en) * | 2017-10-20 | 2018-01-19 | 陕西航空电气有限责任公司 | A kind of multifunctional converter based on two CSTR |
-
2018
- 2018-11-19 CN CN201811374789.1A patent/CN109164793A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103863386A (en) * | 2012-12-17 | 2014-06-18 | 联创汽车电子有限公司 | Motor position detection circuit of electric power steering system |
CN204290987U (en) * | 2014-12-27 | 2015-04-22 | 中国西电电气股份有限公司 | A kind of high-speed electric expreess locomotive test circuit |
US20160197681A1 (en) * | 2015-01-06 | 2016-07-07 | Infinera Corporation | Efficient processing of high data rate signals with a configurable frequency domain equalizer |
CN104819732A (en) * | 2015-05-08 | 2015-08-05 | 深圳市英威腾电动汽车驱动技术有限公司 | Rotary transformer decoding circuit and control method thereof |
CN106841988A (en) * | 2017-01-26 | 2017-06-13 | 西安应用光学研究所 | One kind rotation becomes decoding chip fault locator and detection method |
CN107612360A (en) * | 2017-10-20 | 2018-01-19 | 陕西航空电气有限责任公司 | A kind of multifunctional converter based on two CSTR |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110726934A (en) * | 2019-11-07 | 2020-01-24 | 陕西航空电气有限责任公司 | Method for detecting fault of rotary circuit of aviation starting motor by adopting AD2S1210 rotary transformer decoding chip |
CN110726934B (en) * | 2019-11-07 | 2021-12-28 | 陕西航空电气有限责任公司 | Method for detecting fault of rotary circuit of aviation starting motor by adopting AD2S1210 rotary transformer decoding chip |
CN112751521A (en) * | 2020-12-31 | 2021-05-04 | 安徽工程大学 | Controller system applied to motor |
CN113867250A (en) * | 2021-09-29 | 2021-12-31 | 上海地铁电子科技有限公司 | OTP type CPLD decoding circuit and method |
CN113867250B (en) * | 2021-09-29 | 2024-03-12 | 上海地铁电子科技有限公司 | OTP CPLD decoding circuit and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109164793A (en) | A kind of method that real-time reading becomes decoding chip data with monitoring rotation | |
CN105721295B (en) | A kind of gateway that cloud server is communicated with PLC PPI | |
CN103714029B (en) | Novel two-line synchronous communication protocol and application | |
CN108228513B (en) | Intelligent serial port communication device based on FPGA framework | |
US9565270B2 (en) | LPC2468-based MVB-WTB gateway and working method thereof | |
US20230017643A1 (en) | Composable infrastructure enabled by heterogeneous architecture, delivered by cxl based cached switch soc | |
CN107579894B (en) | FPGA-based EBR1553 bus protocol implementation device | |
CN201626437U (en) | Multifunction vehicle bus controller and multifunction vehicle bus network card | |
CN108199941B (en) | CAN bus communication method based on CAN2.0B | |
EP3195574A1 (en) | Techniques for coordinating parallel performance and cancellation of commands in a storage cluster system | |
CN103546467A (en) | Method for transmitting Modbus RTU protocol on TCP/IP network | |
KR101499097B1 (en) | Data Gateway System with Compatibility MDWS-600S Only Network | |
CN106292518B (en) | Remote PLC monitoring and debugging system and method | |
CN102955474A (en) | Measurement control method and system of automobile ECU (electronic control unit) | |
CN115866081B (en) | SOC-based industrial Ethernet protocol conversion method | |
CN103067238B (en) | A kind of collecting method being compatible with MODBUS bus | |
CN104238517B (en) | Communication method of PROFIBUS-DPV1 communication master station | |
CN109450761B (en) | Multifunctional 1553B communication module | |
CN202395811U (en) | Protocol conversion device used for intelligent BMS | |
CN112822290A (en) | Train network communication device, system and method | |
CN107643997A (en) | A kind of method of expansion module automatic addressing | |
CN203251321U (en) | Communication conversion device between CAN bus and 1553B bus | |
CN216623029U (en) | Auxiliary data processing device and system for programmable logic controller | |
JP2004221852A (en) | Opc communication station and opc communication system | |
CN214014269U (en) | Train network communication device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190108 |