CN108170132B - Modular EPS bus processing method based on serial bus - Google Patents

Modular EPS bus processing method based on serial bus Download PDF

Info

Publication number
CN108170132B
CN108170132B CN201810018688.4A CN201810018688A CN108170132B CN 108170132 B CN108170132 B CN 108170132B CN 201810018688 A CN201810018688 A CN 201810018688A CN 108170132 B CN108170132 B CN 108170132B
Authority
CN
China
Prior art keywords
bus
token
module
eps
bit
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.)
Active
Application number
CN201810018688.4A
Other languages
Chinese (zh)
Other versions
CN108170132A (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.)
Chengdu College of University of Electronic Science and Technology of China
Original Assignee
Chengdu College of University of Electronic Science and Technology of China
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 Chengdu College of University of Electronic Science and Technology of China filed Critical Chengdu College of University of Electronic Science and Technology of China
Priority to CN201810018688.4A priority Critical patent/CN108170132B/en
Publication of CN108170132A publication Critical patent/CN108170132A/en
Application granted granted Critical
Publication of CN108170132B publication Critical patent/CN108170132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

The invention aims to provide a modular EPS bus processing method based on a serial bus, which comprises an upper computer, the upper computer is connected with an EPS device through an RS485 bus 2, the EPS device is formed by mutually independent modular combination, the EPS device comprises a system control panel, a display module, an inversion module and a charging module, the external input/output end of the system control panel is connected with the input/output end of the upper computer through the RS485 bus 2, the internal input/output end of the system control panel is respectively connected with the input/output end of the display module, the inversion module and the charging module through the RS485 bus 1 to form the system control panel, the system control panel can effectively facilitate the searching and maintenance of the device during fault, only needs corresponding combination among modules for different power levels, does not need redesign, improves the work efficiency of a team, effectively realizes the quick propelling product development, and effectively reduces the development cost.

Description

Modular EPS bus processing method based on serial bus
Technical Field
The invention relates to the field of data processing, mainly relates to improvement and design of EPS data collection and processing, and particularly relates to a modular EPS bus processing method based on a serial bus.
Background
In data processing, particularly in data processing of an EPS device, various existing EPS devices are generally perfect in power level, function and application fields, but the system structure is integrally designed, a charging part, an inversion part and a display part are all connected to a master control board through a plurality of connecting wires, information acquisition control is completed through one control board, but the device cannot be quickly searched and maintained when in fault; the EPS of each power level must be completely redesigned, and is not beneficial to team work division cooperation, rapid promotion of product development and reduction of development cost when updating and updating are carried out.
Therefore, the modular EPS bus processing method based on the serial bus is provided, each module in the EPS device is independently connected, the device can be effectively and conveniently searched and maintained when in fault, only corresponding combination among the modules is needed for different power levels, redesign is not needed, the work efficiency of a team is improved, rapid product development is effectively realized, and the development cost is effectively reduced.
Disclosure of Invention
The invention aims to provide a serial bus-based modular EPS bus processing method, which can effectively facilitate the searching and maintenance of a device in the event of failure by independently connecting each module in an EPS device, only needs corresponding combination among the modules for different power levels, does not need redesign, improves the working efficiency of a team, effectively realizes the rapid promotion of product development, and effectively reduces the development cost.
In order to solve the technical problems in the background technology, the invention adopts the following technical scheme:
the utility model provides a modularization EPS bus processing method based on serial bus, includes the host computer, the host computer pass through RS485 bus 2 and be connected with the EPS device, the EPS device constitute by mutually independent modular combination, the EPS device include system control board, display module, contravariant module and the module of charging, the external input/output end of system control board pass through RS485 bus 2 and be connected with the input/output end of host computer, the inside input/output end of system control board passes through RS485 bus 1 and is connected with the input/output end of display module, contravariant module and the module of charging respectively and constitute.
Preferably, the RS485 bus 1 realizes information exchange between the system control panel and the display module, and between the system control panel and the inversion module and between the system control panel and the charging module.
Preferably, the upper computer controls the EPS device through the RS485 bus 2 so as to timely collect information in the EPS device.
Preferably, the RS485 bus 1 and the RS485 bus 1 are formed by a complete data packet formed by every 4 frames, and each frame includes 11 binary bits.
Preferably, the EPS device uses a token type bus in a system in which communication flows.
A modularized EPS bus processing method based on a serial bus comprises the following steps:
when the device is started to use, a data packet is read firstly, whether the data type value is 0 or not is judged, if not, the data is processed according to general data, if so, whether the previous position of the token position where the data packet is located is 1 or not is judged, if not, the module does not act, if so, the data packet corresponds to the token position 1, if the system module needs to set all the rest positions to be 0, then the information is sent after the token holding flag bit 1 is set, if not, the information is continuously sent, if so, the token information is sent to a bus, and finally, the token holding flag bit 0 is reset, so that a period is completed.
Preferably, the information of the token-type bus is transmitted from the bus in a broadcast manner.
Preferably, the token bus information is configured to: token bus height 8 position is all set zero, in token bus low eight bits, token bus 1 st bit is connected with system control module, token bus 2 nd bit is connected with the module of charging, token bus 3 rd bit is connected with the contravariant module, token bus 4 th is for being connected with the display module, token bus's 5 th bit, 6 th bit, 7 th bit and 8 th bit are all empty to be reserved, through the empty reservation to high four-digit, in order to be used for the expansion of EPS function module, effectual improvement EPS function module's regulation adaptability.
The invention has the beneficial effects that:
1) the device can effectively facilitate finding and maintaining when the device breaks down, only needs corresponding combination between modules aiming at different power levels, does not need redesign, improves the working efficiency of a team, effectively realizes quick propulsion product development and effectively reduces the development cost.
2) The EPS device is a device for providing backup power for various equipment during power failure, and mainly comprises a system control part, a display part, an inversion part and a charging part, wherein the system control part, the display part, the inversion part and the charging part are connected by adopting a plurality of single wires or flat cables and are used for transmitting analog quantity signals and digital quantity signals.
3) Meanwhile, the token bus based on the serial bus, which is developed in the application, can effectively reduce the cost, and is stable in operation and high in reliability.
Drawings
In order to more clearly illustrate the embodiments of the present application or technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a block diagram of a specific embodiment of a serial bus-based modular EPS bus processing method according to the present invention;
fig. 2 is a system flowchart of a specific embodiment of a serial bus-based modular EPS bus processing method according to the present invention.
Detailed Description
The present invention will be described in further detail below in order to enable those skilled in the art to better understand the technical solution of the present invention.
Referring to fig. 1 and 2, a modular EPS bus processing method based on a serial bus includes an upper computer connected to an EPS device through an RS485 bus 2, the EPS device being formed by modular combinations that are independent of each other, the EPS device including a system control board, a display module, an inverter module, and a charging module, an external input/output end of the system control board being connected to an input/output end of the upper computer through the RS485 bus 2, and an internal input/output end of the system control board being connected to input/output ends of the display module, the inverter module, and the charging module through the RS485 bus 1.
Further, the RS485 bus 1 realizes information exchange with the system control panel, the display module, the inversion module and the charging module.
Further, the upper computer controls the EPS device through the RS485 bus 2 so as to timely collect information in the EPS device.
Further, the RS485 bus 1 and the RS485 bus 1 are formed by a complete data packet formed by every 4 frames, and each frame includes 11 binary bits.
Further, the EPS device uses a token type bus in a system in which communication flows.
The bus processing method comprises the following steps:
when the device is started to use, a data packet is read firstly, whether the data type value is 0 or not is judged, if not, the data is processed according to general data, if so, whether the previous position of the token position where the data packet is located is 1 or not is judged, if not, the module does not act, if so, the data packet corresponds to the token position 1, if the system module needs to set all the rest positions to be 0, then the information is sent after the token holding flag bit 1 is set, if not, the information is continuously sent, if so, the token information is sent to a bus, and finally, the token holding flag bit 0 is reset, so that a period is completed.
Further, the information of the token type bus is sent from the bus in a broadcast mode.
Further, the token bus information is configured to: token bus height 8 position is all set zero, in token bus low eight bits, token bus 1 st bit is connected with system control module, token bus 2 nd bit is connected with the module of charging, token bus 3 rd bit is connected with the contravariant module, token bus 4 th is for being connected with the display module, token bus's 5 th bit, 6 th bit, 7 th bit and 8 th bit are all empty to be reserved, through the empty reservation to high four-digit, in order to be used for the expansion of EPS function module, effectual improvement EPS function module's regulation adaptability.
While certain exemplary embodiments of the present invention have been described above by way of illustration only, it will be apparent to those of ordinary skill in the art that the described embodiments may be modified in various different ways without departing from the spirit and scope of the invention. Accordingly, the foregoing description is illustrative in nature and is not to be construed as limiting the scope of the invention as claimed.

Claims (3)

1. A modularized EPS bus processing method based on a serial bus comprises an upper computer and is characterized in that: the EPS device comprises a system control panel, a display module, an inversion module and a charging module, wherein the external input and output ends of the system control panel are connected with the input and output ends of the upper computer through the RS485 bus 2, and the internal input and output ends of the system control panel are respectively connected with the input and output ends of the display module, the inversion module and the charging module through the RS485 bus 1; the RS485 bus 1 realizes information exchange between a system control panel and a display module, and between an inversion module and a charging module; the upper computer controls the EPS device through the RS485 bus 2 so as to collect information in the EPS device in time; the RS485 bus 1 and the RS485 bus 1 are formed by complete data packets formed by every 4 frames, and each frame comprises 11 binary bits; the EPS device uses a token type bus in a communication flowing system;
the bus processing method comprises the following steps:
when the device is started to use, a data packet is read firstly, whether the data type value is 0 or not is judged, if not, the data is processed according to general data, if so, whether the previous position of the token position where the data packet is located is 1 or not is judged, if not, the module does not act, if so, the data packet corresponds to the token position 1, if the system module needs to set all the rest positions to be 0, then the information is sent after the token holding flag bit 1 is set, if not, the information is continuously sent, if so, the token information is sent to a bus, and finally, the token holding flag bit 0 is reset, so that a period is completed.
2. The serial bus based modular EPS bus processing method according to claim 1, wherein the information of the token type bus is transmitted from the bus in a broadcast form.
3. The serial bus based modular EPS bus processing method according to claim 2, wherein the token bus information is configured as follows: the high 8 bits of the token bus are all set to zero, in the low eight bits of the token bus, the 1 st bit of the token bus is connected with the system control module, the 2 nd bit of the token bus is connected with the charging module, the 3 rd bit of the token bus is connected with the inversion module, the 4 th bit of the token bus is connected with the display module, and the 5 th bit, the 6 th bit, the 7 th bit and the 8 th bit of the token bus are all set to be reserved.
CN201810018688.4A 2018-01-09 2018-01-09 Modular EPS bus processing method based on serial bus Active CN108170132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810018688.4A CN108170132B (en) 2018-01-09 2018-01-09 Modular EPS bus processing method based on serial bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810018688.4A CN108170132B (en) 2018-01-09 2018-01-09 Modular EPS bus processing method based on serial bus

Publications (2)

Publication Number Publication Date
CN108170132A CN108170132A (en) 2018-06-15
CN108170132B true CN108170132B (en) 2022-04-01

Family

ID=62517639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810018688.4A Active CN108170132B (en) 2018-01-09 2018-01-09 Modular EPS bus processing method based on serial bus

Country Status (1)

Country Link
CN (1) CN108170132B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127867A (en) * 2019-10-21 2020-05-08 国网浙江临海市供电有限公司 RS485 communication adapter for electricity consumption information acquisition system and control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805087A (en) * 1993-06-11 1998-09-08 Stmicroelectronics, Ltd. Encoding scheme
CN1546993A (en) * 2003-12-04 2004-11-17 上海交通大学 Infrared target detecting, tracking and identifying system
CN104424129A (en) * 2013-08-19 2015-03-18 上海芯豪微电子有限公司 Cache system and method based on read buffer of instructions

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201436761U (en) * 2008-12-29 2010-04-07 北京中创瑞普科技有限公司 UPS with automatic cell detection function
CN201956739U (en) * 2010-12-30 2011-08-31 武汉帕沃电源设备制造有限公司 Control module for emergency power supply equipment
CN103730960B (en) * 2014-01-10 2016-04-13 四川阿海珐电气有限公司 A kind of communication system of electric supply system and communication means
US10097034B2 (en) * 2014-12-16 2018-10-09 Cyberpower Systems, Inc. UPS system with network monitoring and attached battery pack information sensing functions
CN107070695B (en) * 2017-01-18 2020-03-31 东南大学 Bus type network load self-adaptive communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805087A (en) * 1993-06-11 1998-09-08 Stmicroelectronics, Ltd. Encoding scheme
CN1546993A (en) * 2003-12-04 2004-11-17 上海交通大学 Infrared target detecting, tracking and identifying system
CN104424129A (en) * 2013-08-19 2015-03-18 上海芯豪微电子有限公司 Cache system and method based on read buffer of instructions

Also Published As

Publication number Publication date
CN108170132A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN109808544A (en) Cell management system of electric automobile is with mostly from the address code system of control and method
CN103869781A (en) Non-similar three-redundancy onboard electric load management center
CN205353751U (en) Train network system
CN104408014A (en) System and method for interconnecting processing units of calculation systems
CN104833924A (en) Serial automatic addressing method and system of lead storage battery internal resistance detection modules
CN108170132B (en) Modular EPS bus processing method based on serial bus
CN109525844B (en) Acceleration system and method for multi-channel video coding and decoding
CN108121429A (en) A kind of storage biplane electric power system
CN211149445U (en) High-speed data processing platform
EP2827205A2 (en) Remote terminal device and method of operating the same
CN112140891A (en) Ternary lithium battery work monitoring system for new energy automobile based on Internet of things
CN103888189B (en) It is applicable to the single fiber looped network means of communication of extensive power electronic system
CN201060394Y (en) Controller device for high voltage frequency converter
CN205210574U (en) Two obs core control modules based on microcontroller realizes FPGA data configuration
CN201215666Y (en) Gate inhibition controller
CN201378316Y (en) Universal input/output interface extension circuit and mobile terminal with same
CN206982662U (en) Multiaxis driver, numerical control system and multi-axis robot
CN107123372A (en) The LED lamp panel of battery management system shows system and method
CN105468104A (en) Converged server and backboard
CN103838191A (en) Distributed control system access method and distributed control system access device
CN209634314U (en) Battery for electric automobile management system platform from control module
CN202421861U (en) Communication device of wind turbine generator unit
CN220501064U (en) Multi-battery power supply management circuit and unmanned aerial vehicle
CN109344184A (en) Automatic processing method and device for data conversion
CN203786545U (en) Vehicle network power source management topology structure based on MOST bus

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