CN104780086A - CAN bus communication method and system for environment monitoring - Google Patents

CAN bus communication method and system for environment monitoring Download PDF

Info

Publication number
CN104780086A
CN104780086A CN201510233272.0A CN201510233272A CN104780086A CN 104780086 A CN104780086 A CN 104780086A CN 201510233272 A CN201510233272 A CN 201510233272A CN 104780086 A CN104780086 A CN 104780086A
Authority
CN
China
Prior art keywords
frame
data
machine
priority
host computer
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
CN201510233272.0A
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.)
CETC 4 Research Institute
Original Assignee
CETC 4 Research Institute
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 CETC 4 Research Institute filed Critical CETC 4 Research Institute
Priority to CN201510233272.0A priority Critical patent/CN104780086A/en
Publication of CN104780086A publication Critical patent/CN104780086A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a CAN bus communication method and system for environment monitoring. The CAN bus communication method and system for environment monitoring comprise the steps that an identifier of an arbitration field and a data field of a data frame in a CAN bus application layer protocol are set, and based on the set CAN bus application layer protocol, a monitoring main computer and a slave computer which are used for monitoring the environment send and/or receive the data frame in a preset mode. In addition, the invention discloses a system using CAN bus communication. The CAN bus communication method and system for the environment monitoring can conduct flexible and high-efficiency processing on the transmitted data according to the characters of the environment being monitored, the communication instantaneity between the monitoring main computer and the slave computer is effectively enhanced, and the data transmission ratio is substantially improved.

Description

For the method and system that the CAN of monitoring of environmental communicates
Technical field
The present invention relates to communication means and system, particularly for method and system that the CAN of monitoring of environmental communicates.
Background technology
In microelectronics production technology, chip manufacture is a very important production link.The environmental parameter (as temperature, humidity, air pressure etc.) of processing chip can directly affect chip quality even production safety.Such as: if temperature exceeding standard, then product quality can be affected; If humidity is too small, then easily cause electrostatic; If air pressure is excessive, then easily produce the poisonous gas leakage in production equipment, and then can serious harm staff healthy, the serious consequence such as even explosion caused.
The technique Clean room of chip manufacture proposes very high requirement to environment.In chip manufacture process, the moment is needed to monitor every environmental parameter of technique Clean room, as temperature, humidity, air pressure etc.
CAN (Controller Area Network, controller local area network) bus is a kind of fieldbus of serial communication.CAN protocol is based upon on the development system interconnect model basis of ISO (International Standards Organization), is made up of physical layer, data link layer and application layer three layers.The basic agreement specification CAN2.0A of CAN and CAN2.0B is only defined physical layer and data link layer, and the function of application layer needs user to realize according to embody rule environment.Business agreement at present based on CAN mainly contains Device Net and CAN open two kinds of agreements, and these two kinds of bus protocols are universal agreements, although multiple functional, and its complex structure, very flexible, and occupying system resources is more.
Along with the extensive use of CAN, but a kind of communication means being applicable to the CAN of the environmental monitoring of technique Clean room is not had in prior art, reason is, want to make monitoring host computer the environmental parameter of collection be carried out communicating flexibly, fast by CAN with from machine, its top priority is the application layer protocol of design CAN, and needs in the design process to overcome following difficulty:
1, current, CAN2.0B adopts the short frame data of 8 bytes, for the long frame data being greater than 8 bytes, needs to be divided into multiple Frame transmission.How to transmit each Frame, this does not do clear stipulaties in CAN protocol identifier field.
2, the CAN network bandwidth is limited, needs to take into account efficiency of transmission while transmission data.For the same multiple data collected from machine, the byte number that each data take is less, and but need these data to be divided into multiframe to send, this will certainly reduce data transmission efficiency.
3, in traditional CAN master slave communication mode, only have main frame can initiatively to bus sends data from machine, and only could transmit data to the main frame bus when the request receiving main frame from machine.When burst emergency, if main frame sends request not in time, then potential safety hazard may be caused.
Because the problems referred to above could not be resolved, so, carry out monitoring environment effect by traditional CAN communication bad.In addition, utilize the mode monitoring of environmental parameters such as conventional video monitoring and artificial observation, exist efficiency low, dumb, not in time, the shortcoming such as unreliable, comprehensive not.
Summary of the invention
In order to solve the deficiencies in the prior art, according to an aspect of the present invention, provide a kind of method utilizing CAN to communicate, comprise: arrange in CAN application layer protocol and arbitrate the identifier in territory and the data field of Frame, based on arrange CAN application layer protocol, for monitoring of environmental monitoring host computer and from machine by preset mode send and/or receiving data frames.
Ambient parameter information is gathered by collection point transducer from machine;
When monitoring host computer is to when sending the request of monitoring of environmental parameter from machine, from machine, described ambient parameter information is sent to monitoring host computer;
When collecting the environmental parameter of pre-set priority from machine, initiatively send the environmental parameter of described pre-set priority to described monitoring host computer;
Main frame makes corresponding process according to the priority of the environmental parameter received.
The present invention can according to the feature of monitoring environment, carries out processing flexibly, efficiently to the data of transmission, effectively strengthens real-time that monitoring host computer communicates with between machine, significantly improves data transmission efficiency.
In some embodiments, described arbitration relam identifier is configured to 29 bit identifiers of extended format, comprising:
Priority tag, is configured to the priority identifying described Frame;
Retain position, be configured to expanded function position;
Destination address, is configured to the destination address that identification data frame will arrive;
Source address, is configured to the address, source of identification data frame;
Length frame identification, the Frame being configured to identify transmission is long frame or short frame;
Long frame number mark, is configured to the frame number after identifying long data frame fractionation;
Long frame end mark, is configured to identify the last frame whether current data frame is long data frame;
Image data number, is configured to the number identifying the collection point data comprised the current Frame sent from machine to monitoring host computer;
Response mark, is configured to identification data frame and confirms the need of response.
By the concrete setting to 29 bit identifiers in above-mentioned arbitration territory, reasonable arrangement and utilize identifier spatial location as much as possible, with the priority of transfer of data, not only improve the speed of transfer of data, and main frame can send control command, configuration information and solicited message to whole or appointment from machine, after receiving the request of data that main frame sends, send response to main frame from machine, and by CAN, the environmental data of collection point transducer collection is transferred to monitoring host computer.When abnormal conditions appear in environmental parameter, send information from owner's trend main frame.Avoid when a certain environmental parameter exceeds index, because host data request not in time and does not take corresponding measure in time, thus cause the situation of potential safety hazard.In addition, for long frame data, can be multiple short frame data by its flexible partition, multiframe data can be merged into for multiple short frame data.Can effectively strengthen the flexibility communicated between communication node, significantly improve data transmission efficiency.
Position is retained, for supporting new Function Identification expansion in the present embodiment.Such as this position can be configured to direction signs, be used to indicate the direction that data transmit, if this position is configured to 1, then represents current for main frame is to from machine transmission data, if this position is 0, then represents from machine and send data to main frame.This also can be used for the figure place expanding other identifier.In addition, this also can its position in 29 bit identifiers of flexible transformation according to demand.29 bit identifiers, when sum is constant, also by increase in demand or the figure place reducing wherein various identifier, or can change the position of various identifier.Those skilled in the art can make some distortion to above-mentioned technological means, arranges flexibly it, and these technological means are all within protection scope of the present invention.
In some embodiments, described Frame priority by the importance of Frame of communication be configured to abnormal information priority, control command priority, principal and subordinate's configuration information priority, principal and subordinate's solicited message priority, from machine image data priority.
By the setting to above-mentioned priority, can the information priorities issuing main frame from machine be arranged higher than the priority of main frame to the information sent from machine, so the technique Clean room environmental parameter of producing chip occurs that abnormal conditions can obtain chiller priority process.And the emergency avoided when collecting environmental parameter from machine and being abnormal, because the priority of main frame must be greater than the priority from machine, and can not, by notifying at once to main frame from machine, cause host process may cause potential safety hazard not in time.
In some embodiments, described Frame comprises:
Principal and subordinate's Frame, is configured to the Frame of monitoring host computer to the data sent from machine or command information;
Forms data frame, the Frame of the data message that the single collection point being configured to send from machine to main frame is corresponding;
Many Frames, what be configured to send from machine to main frame merges by the data field of multiple described forms data frame the Frame formed.
By the setting of above-mentioned Frame, transmit data according to normal data frames form, then need to transmit multiple independently Frame, and adopt many data frame formats in the present embodiment, then only need a frame can complete the transmission of multiple collection points data, efficiency of transmission substantially increases.
In some embodiments, the data field of described forms data frame comprises:
Collection point unit number, is configured to the unit number identifying the collection point be connected with from machine;
Data byte number, is configured to identify the byte number that in this data field, data division takies;
Data division, is configured to the data identifying transmission.
According to another aspect of the present invention, provide a kind of system utilizing CAN to communicate, comprising:
Agreement setting unit, is configured to arrange in CAN application layer protocol and arbitrates the identifier in territory and the data field of Frame;
For the monitoring host computer of monitoring of environmental with from machine, being configured to the described CAN application layer protocol based on arranging, sending and/or receiving data frames by the mode preset.
In some embodiments, described from machine, be configured to pass collection point transducer and gather ambient parameter information;
When monitoring host computer is to when sending the request of monitoring of environmental parameter from machine, from machine, described ambient parameter information is sent to monitoring host computer;
When collecting the environmental parameter of pre-set priority from machine, initiatively send the environmental parameter of described pre-set priority to described monitoring host computer;
Described main frame, is configured to make corresponding process according to the priority of the environmental parameter received.
The present invention can according to the feature of monitoring environment, carries out processing flexibly, efficiently to the data of transmission, effectively strengthens real-time that monitoring host computer communicates with between machine, significantly improves data transmission efficiency.
Accompanying drawing explanation
Fig. 1 is the structural representation being applicable to the CAN communication system of technique Clean room environmental monitoring of an embodiment of the present invention;
Fig. 2 is the schematic diagram arbitrating relam identifier in the self-defined CAN application layer protocol of an embodiment of the present invention;
Fig. 3 is the structural representation in forms data frame data territory in the self-defined CAN application layer protocol of an embodiment of the present invention;
Fig. 4 is the structural representation in many data frame data territory that in the self-defined CAN application layer protocol of an embodiment of the present invention, two frames merge.
Embodiment
For ease of the various advantages understanding technical scheme of the present invention better and brought by enforcement and the utilization of the solution of the present invention, below in conjunction with the drawings and specific embodiments, further description is made to the present invention.
Fig. 1 show schematically show the structure chart being applicable to the CAN communication system of technique Clean room environmental monitoring according to one embodiment of the present invention.As shown in Figure 1, this system comprises monitoring host computer, from machine, CAN and collection point transducer.Wherein, monitoring host computer is connected by CAN from machine with some.Multiple collection points transducer is connected with from machine.Monitoring host computer is positioned over center-control indoor, is arranged at the technique Clean room of production chip from machine distribution.Environmental parameter (as temperature, humidity, pressure etc.) in the transducer Real-time Collection technique Clean room of collection point, and the above-mentioned ambient parameter information collected is sent to from machine.
By arranging the CAN application layer protocol arbitration identifier in territory and the data field of Frame, making monitoring host computer and can send and/or receive by the mode preset the Frame comprising described ambient parameter information from machine; When monitoring host computer is to when sending the request of monitoring of environmental parameter from machine, from machine, described ambient parameter information is sent to monitoring host computer; When collecting the environmental parameter of pre-set priority from machine, initiatively send the environmental parameter of described pre-set priority to described monitoring host computer; Main frame makes corresponding process according to the priority of the environmental parameter received.In the present embodiment pre-set priority to be highest-ranking code be 000 abnormal information priority.This priority corresponds to the situation when the environmental parameter of technique Clean room is abnormal.
Fig. 2 is the schematic diagram arbitrating relam identifier in the self-defined CAN application layer protocol of an embodiment of the present invention.The present embodiment adopts the extended format Frame in CAN2.0B agreement, and its arbitration territory comprises 29 bit identifiers.This identifier utilizes the additional information of definition space in identifier object, transfer of data etc. for information about as much as possible when designing, to reduce the space that it takies in data field, make the impact that it reduces data transmission efficiency as far as possible.As shown in Figure 2,29 bit identifiers in arbitration territory are configured to from a high position to low level by the present invention successively: be divided into priority tag, retain position, destination address, source address, length frame identification, long frame number mark, long frame end mark, image data number, response bits.
Below the distribution method of segment identification each in the present embodiment and effect are described in detail.
In identifier, ID28-ID26 is priority tag, takies 3bit, is used to indicate the priority of the data message of transmission.5 kinds of priority are defined in the present embodiment, comprise abnormal information priority, the code control command priority that is 001, code principal and subordinate's configuration information priority that is 010 that code is 000, code be 011 principal and subordinate's solicited message priority, code be 100 from machine image data priority.Concrete, the priority of the Frame sent from machine to main frame when code 000 refers to that technique Clean room environmental parameter (as temperature, humidity, pressure etc.) occurs abnormal; Code 001 is the priority of main frame to the control command sent from machine; Code 010 is that main frame is to the priority sending configuration information from machine; Code 011 is that main frame is to the priority from machine transmission request information; Code 100 is the priority sending image data from machine to main frame.Wherein, code 000 priority is the highest, and 100 priority are minimum.When abnormal conditions appear in the technique Clean room environmental parameter of producing chip, or parameter value is when preset range is outer, and the priority code of the Frame sent from machine to main frame is 000.Because 000 code has limit priority, its priority is higher than main frame to the control command sent from machine and configuration information isopreference level, so the technique Clean room environmental parameter of producing chip occurs that abnormal conditions can obtain chiller priority process.This kind of design ensure that the promptness that main frame is adopted an effective measure, when solving burst emergency, if host process is not in time, and the potential safety hazard that may cause.
ID25, for retaining position, takies 1bit, and this can be used for supporting new Function Identification expansion.Such as this position can be configured to direction signs, be used to indicate the direction that data transmit, if this position is configured to 1, then represents current for main frame is to from machine transmission data, if this position is configured to 0, then represents from machine and send data to main frame.
ID24-ID15 is used for home address.Wherein, ID24-ID20 is for identifying destination address, and ID19-ID15 is used for identification sources address.Destination address and source address respectively take 5bit, and instruction receives the destination node address of message and sends the source node address of message respectively.Use the address distribution of the present embodiment, the scope that can obtain is 0 ~ 31 32 (2 5) individual node address.Wherein No. 0 address is the host address that administration authority is the highest, No. 31 addresses be main frame to all send broadcast message from machine time destination address, 1 ~ 30 is followed successively by each slave addresses.Address above mentioned set-up mode is suitable for the main frame of monitoring technique Clean room environment and configures from machine very much, also enough uses from the address of machine.
ID14-ID5 is used for the length of data in identification data frame.CAN2.0B supported data length is no more than the short frame data of 8 bytes, when transmitting the long frame data of data length more than 8 bytes, need to be that multistage processes by Data Division, and carry out serial number to every section, so that receiving node is to the restructuring of long frame data being split as multistage, thus reduce data transmission fault rate.Wherein, ID14 is length frame identification, takies 1bit, for identifying whether the Frame of transmission is long frame, represents that present frame is short frame data when this position is 0, and what represent current transmission when this is 1 is the first frame data of long frame.ID13-ID6 is long frame number mark, takies 8bit, is used to indicate the sequence number of interlude Frame after being split by long frame data.This segment identification is 0 when transmitting short frame data, and increase progressively from 0 when transmitting long frame data, its span is 0 ~ 255, therefore the data length of which maximum support 2KB.For technique Clean room environmental monitoring system of the present invention, due to the communication data mainly content such as control command, configuration parameter, collection point data, data length can not more than 2KB under normal circumstances, therefore this kind of method of salary distribution can meet the communication requirement of native system completely.ID5 is long frame end mark, takies 1bit, is used to indicate the last frame whether current data frame is long frame data, represents that present frame is the last frame data of long frame when this is 1.
ID4-ID1 is image data number mark, takies 4bit, is used to indicate the number comprising collection point data the current Frame sent from machine to main frame.By reading this mark, main frame more easily can isolate same multiple transducer image data from machine in many Frames.When bus transmitting forms data frame and many Frames, this mark value be more than or equal to 1 numerical value; When the data that bus transmits are only forms data frame, this mark value is fixed as 1; When the data that bus transmits are many Frames, this mark value be greater than 1 numerical value; In all the other situations, this mark value is 0.
ID0 is response bits, takies 1bit, is used to indicate message and confirms the need of response.The present embodiment only needs to make confirmation to segment message, specifically can select whether carry out response according to message content and confirm, thus reply control flexibly, to improve data-handling efficiency.Such as, for the Frame that security requirement is higher, whether data send successfully will be confirmed by response, if during nonreply, resends data immediately.In the present embodiment, when bus being transmitted abnormal information, control command, principal and subordinate's configuration information and principal and subordinate's solicited message, this position is configured to 1.Because main frame regularly can send data to from machine request, even if so lose frame data, also little to systematic influence.Therefore in order to improve efficiency of transmission, from machine to main frame send image data time then without the need to response, this position is configured to 0.
By the concrete setting to 29 bit identifiers in above-mentioned arbitration territory, main frame can send control command, configuration information and solicited message to whole or appointment from machine, after receiving the request of data that main frame sends, send response to main frame from machine, and by CAN, the environmental data of collection point transducer collection is transferred to monitoring host computer.Avoid when a certain environmental parameter exceeds index, because host data request not in time and does not take corresponding measure in time, thus cause the situation of potential safety hazard.Fig. 3 and Fig. 4 shows the structure chart in data frame data territory in self-defined CAN application layer protocol.Because the CAN network bandwidth is limited, while guarantee transmission characteristic, also efficiency of transmission will be taken into account.For the multiple data collected from machine same in system, if the byte number that each data take is less, being divided into multiframe to send will certainly reduce data transmission efficiency.For improving bus transfer efficiency as much as possible, the present invention defines the Frame of 3 types in CAN protocol.Its data field length meets CAN2.0B agreement, is 0 ~ 8 byte.Frame is divided into principal and subordinate's Frame, forms data frame and many Frames.These 3 kinds of Frames are identical with above-mentioned definition on the form of identifier, but the form of its data field is different.Wherein, principal and subordinate's Frame be main frame to the Frame sent from machine, its data field is all data or command information, can transmit long frame data or the 8 byte short frame datas of 9 ~ 2KB byte.The Frame sent from machine to main frame, be then divided into forms data frame and many Frames.
Fig. 3 is the structural representation in forms data frame data territory in the self-defined CAN application layer protocol of an embodiment of the present invention.As shown in Figure 3, the data field of forms data frame comprises 3 parts altogether, is collection point unit number, data byte number and data division respectively.In data field, collection point unit number and data byte number are data header information, and take 1 byte altogether, data division takies all the other bytes.Wherein, collection point unit number accounts for 5, and be used to indicate the collection point unit number be connected with from machine, its unit number is lower, and this collection point priority is higher.Distribution method in the present embodiment, same connection 32 (2 at most from machine 5) individual collection point unit, collection point is numbered 0 ~ 31.Be configured to the highest by the collection point unit priority being numbered 0, the collection point unit priority being numbered 31 is configured to minimum.In data field, data byte number accounts for 3, is used to indicate the byte number that in this data field, data division takies, and its span is 0 ~ 7.Data division is data or the information of actual needs transmission, can be 1 ~ 7 byte.For a collection point adopting forms data transmission frame number certificate, its collection point unit number is designated value, and in forms data frame, data byte number is fixed as 7, and data division is for specifically to gather numerical value, and such as, in identifier, image data number ident value is 0x1.
In the Clean room producing chip, the sensing data length that different acquisition point collects from machine is different, some packet is less containing byte number, the less data of byte number are comprised for these, if all adopt the independently dataframe shown in Fig. 3, then can have influence on data transmission efficiency, if but the short data with identical identifier can be merged into a frame transmission, then significantly can improve efficiency of transmission.
Fig. 4 is the structural representation in many data frame data territory that in the self-defined CAN application layer protocol of an embodiment of the present invention, two frames merge.The data field of many Frames is merged continuously by multiple forms data frame data territory in fact and forms, and simple and clear understandable in order to make to argue, the present embodiment is only described with a kind of two frame merging data territories.Principle and the present embodiment of many Frames more than two frames are similar, do not repeat them here.
As shown in Figure 4, this data field comprises the data message of 2 collection point unit, the header of 1 byte and the data division of 3 bytes is had in each data message, this example is applicable to the collection point information of data length shorter (within 3 bytes), as temperature information, humidity information or pressure information etc.For the collection point of same collecting temperature from machine and humidity, if design temperature collection point unit number is 0, humidity collection dot element number is 1, then these two collection point data are merged into Byte0-Byte7 data in many Frames of a frame to be followed successively by: 0x03 (representation temperature data), 0x13 (representing humidity data).Now, the image data number ident value in this frame identifier is configured to 0x2.Main frame can obtain the ambient parameter data of each transducer collection between this technique from machine according to the identifier information in many Frames and data field header.For situation described in the present embodiment, transmit data according to normal data frames form, then need transmission 2 independently Frame, and adopt many data frame formats in the present embodiment, then only need a frame can complete the transmission of two collection point data, efficiency of transmission improves greatly.
It should be noted that, the present invention is highly suitable for the monitoring of the technique Clean room environment producing chip, persons of ordinary skill in the art may appreciate that the present invention is also applicable to other indoor needing monitoring of environmental parameter or outdoor.The environmental parameter of its monitoring is also not limited to temperature, humidity or pressure.
The specific embodiment provided in above the present invention is only a kind of method under situation or system, but by the restriction of embodiment described in the present invention, based on the method or system, should can not carry out accommodation according to different application in actual applications.For the person of ordinary skill of the art, without departing from the concept of the premise of the invention, can also make some distortion and improvement, these all belong to protection scope of the present invention.

Claims (10)

1., for the method that the CAN of monitoring of environmental communicates, comprising:
Arrange in CAN application layer protocol and arbitrate the identifier in territory and the data field of Frame,
Based on arrange described CAN application layer protocol, for monitoring of environmental monitoring host computer and from machine by preset mode send and/or receiving data frames.
2. method according to claim 1, wherein, described monitoring host computer and to send from machine by predetermined manner and/or the step of receiving data frames comprises:
Ambient parameter information is gathered by collection point transducer from machine;
When monitoring host computer is to when sending the request of monitoring of environmental parameter from machine, from machine, described ambient parameter information is sent to monitoring host computer;
When collecting the environmental parameter of pre-set priority from machine, initiatively send the environmental parameter of described pre-set priority to described monitoring host computer;
Main frame makes corresponding process according to the priority of the environmental parameter received.
3. method according to claim 1, wherein, described arbitration relam identifier is configured to 29 bit identifiers of extended format, comprising:
Priority tag, is configured to the priority identifying described Frame;
Retain position, be configured to expanded function position;
Destination address, is configured to the destination address that identification data frame will arrive;
Source address, is configured to the address, source of identification data frame;
Length frame identification, the Frame being configured to identify transmission is long frame or short frame;
Long frame number mark, is configured to the frame number after identifying long data frame fractionation;
Long frame end mark, is configured to identify the last frame whether current data frame is long data frame;
Image data number, is configured to the number identifying the collection point data comprised the current Frame sent from machine to monitoring host computer;
Response mark, is configured to identification data frame and confirms the need of response.
4. method according to claim 3, wherein,
The priority of described Frame by the importance of the Frame of communication be configured to abnormal information priority, control command priority, principal and subordinate's configuration information priority, principal and subordinate's solicited message priority, from machine image data priority.
5. method according to claim 1, wherein, described Frame comprises:
Principal and subordinate's Frame, is configured to the Frame of monitoring host computer to the data sent from machine or command information;
Forms data frame, the Frame of the data message that the single collection point being configured to send from machine to main frame is corresponding;
Many Frames, what be configured to send from machine to main frame merges by the data field of multiple described forms data frame the Frame formed.
6. method according to claim 5, wherein, the data field of described forms data frame comprises:
Collection point unit number, is configured to the unit number identifying collection point;
Data byte number, is configured to identify the byte number that in this data field, data division takies;
Data division, is configured to the data identifying transmission.
7., for the system that the CAN of monitoring of environmental communicates, comprising:
Agreement setting unit, is configured to arrange in CAN application layer protocol and arbitrates the identifier in territory and the data field of Frame;
For the monitoring host computer of monitoring of environmental with from machine, being configured to the described CAN application layer protocol based on arranging, sending and/or receiving data frames by the mode preset.
8. system according to claim 7, wherein,
Described from machine, be configured to pass collection point transducer and gather ambient parameter information;
When monitoring host computer is to when sending the request of monitoring of environmental parameter from machine, from machine, described ambient parameter information is sent to monitoring host computer;
When collecting the environmental parameter of pre-set priority from machine, initiatively send the environmental parameter of described pre-set priority to described monitoring host computer;
Described main frame, is configured to make corresponding process according to the priority of the environmental parameter received.
9. system according to claim 7, wherein, described arbitration relam identifier is configured to 29 bit identifiers of extended format, comprising:
Priority tag, is configured to the priority identifying described Frame;
Retain position, be configured to expanded function position;
Destination address, is configured to the destination address that identification data frame will arrive;
Source address, is configured to the source of identification data frame;
Length frame identification, the Frame being configured to identify transmission is long frame or short frame;
Long frame number mark, is configured to the frame number after identifying long data frame fractionation;
Long frame end mark, is configured to identify the last frame whether current data frame is long data frame;
Image data number, is configured to the number identifying the collection point data comprised the current Frame sent from machine to monitoring host computer;
Response mark, is configured to identification data frame and confirms the need of response.
10. system according to claim 7, wherein, described Frame comprises:
Principal and subordinate's Frame, is configured to the Frame of monitoring host computer to the data sent from machine or command information;
Forms data frame, the Frame of the data message that the single collection point being configured to send from machine to main frame is corresponding;
Many Frames, what be configured to send from machine to main frame merges by the data field of multiple described forms data frame the Frame formed.
CN201510233272.0A 2015-05-08 2015-05-08 CAN bus communication method and system for environment monitoring Pending CN104780086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510233272.0A CN104780086A (en) 2015-05-08 2015-05-08 CAN bus communication method and system for environment monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510233272.0A CN104780086A (en) 2015-05-08 2015-05-08 CAN bus communication method and system for environment monitoring

Publications (1)

Publication Number Publication Date
CN104780086A true CN104780086A (en) 2015-07-15

Family

ID=53621341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510233272.0A Pending CN104780086A (en) 2015-05-08 2015-05-08 CAN bus communication method and system for environment monitoring

Country Status (1)

Country Link
CN (1) CN104780086A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446910A (en) * 2015-11-24 2016-03-30 东软集团股份有限公司 Data transmission methods and apparatus
CN105635317A (en) * 2016-03-01 2016-06-01 中国科学院上海高等研究院 Wireless communication method and system applied to bridge detection
CN105938651A (en) * 2016-06-06 2016-09-14 浙江工业大学 Method for underground pipeline robot wired communication protocol
CN106603357A (en) * 2016-11-11 2017-04-26 深圳怡化电脑股份有限公司 Sensor data reporting method, device and system
CN108128204A (en) * 2017-12-29 2018-06-08 山东鲁能智能技术有限公司 A kind of data transmission method and system for charging pile CAN bus
CN110505131A (en) * 2018-05-18 2019-11-26 中国科学院声学研究所 A kind of master-slave mode CAN bus application layer communication method
CN110601944A (en) * 2019-09-19 2019-12-20 成都埃克思智创科技有限公司 CAN protocol communication method applied to Internet of things
CN111262766A (en) * 2020-01-17 2020-06-09 北京汽车股份有限公司 Method, device and system for transmitting multi-packet application message data
CN111937359A (en) * 2019-05-14 2020-11-13 深圳市大疆创新科技有限公司 Communication address setting method of detection equipment, unmanned aerial vehicle and storage medium
CN112532497A (en) * 2020-12-04 2021-03-19 中国航空工业集团公司成都飞机设计研究所 CAN bus framework of aircraft landing gear system
CN112583683A (en) * 2020-12-29 2021-03-30 中国科学院声学研究所 Master-slave CAN FD bus application layer communication method and system and electronic equipment
CN113452591A (en) * 2021-06-21 2021-09-28 合安科技技术有限公司 Loop control method and device based on CAN bus continuous data frame
WO2021190283A1 (en) * 2020-03-27 2021-09-30 阳光电源股份有限公司 Photovoltaic system and communication method therefor
CN113992471A (en) * 2021-10-26 2022-01-28 成都亿佰特电子科技有限公司 Communication system and method for multiple hosts and multiple slaves
CN114978798A (en) * 2022-05-23 2022-08-30 重庆奥普泰通信技术有限公司 Serial communication method, device and board card
CN115174304A (en) * 2022-06-24 2022-10-11 南京国电南自维美德自动化有限公司 CAN bus communication method with self-defined identifier segments
CN116527439A (en) * 2023-07-05 2023-08-01 广州疆海科技有限公司 Data communication method, device, computer equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560806A (en) * 2004-03-04 2005-01-05 深圳市泛海三江电子有限公司 Fire alarm application layer data transmission method based on CAN2.0B
CN101867570A (en) * 2010-05-13 2010-10-20 浙江大学 CAN-based communication method in embedded software reliability test
CN201777209U (en) * 2010-09-16 2011-03-30 山东申普汽车控制技术有限公司 Electric automobile instrument integration management system with battery pack on-line management function
US20120246325A1 (en) * 2011-03-22 2012-09-27 Maria Belen Pancorbo Marcos Network node and method to control routing or bypassing of deployed traffic detection function nodes
CN102785681A (en) * 2012-07-30 2012-11-21 北京锦鸿希电信息技术股份有限公司 Method, equipment and system for monitoring on-road safety condition of train
CN103209224A (en) * 2013-04-28 2013-07-17 上海海事大学 P2P (peer-to-peer)-based underwater acoustic sensor network system and data transmission method thereof
CN104519029A (en) * 2013-09-30 2015-04-15 中国电信股份有限公司 Synchronization method and distributed protocol translation system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560806A (en) * 2004-03-04 2005-01-05 深圳市泛海三江电子有限公司 Fire alarm application layer data transmission method based on CAN2.0B
CN101867570A (en) * 2010-05-13 2010-10-20 浙江大学 CAN-based communication method in embedded software reliability test
CN201777209U (en) * 2010-09-16 2011-03-30 山东申普汽车控制技术有限公司 Electric automobile instrument integration management system with battery pack on-line management function
US20120246325A1 (en) * 2011-03-22 2012-09-27 Maria Belen Pancorbo Marcos Network node and method to control routing or bypassing of deployed traffic detection function nodes
CN102785681A (en) * 2012-07-30 2012-11-21 北京锦鸿希电信息技术股份有限公司 Method, equipment and system for monitoring on-road safety condition of train
CN103209224A (en) * 2013-04-28 2013-07-17 上海海事大学 P2P (peer-to-peer)-based underwater acoustic sensor network system and data transmission method thereof
CN104519029A (en) * 2013-09-30 2015-04-15 中国电信股份有限公司 Synchronization method and distributed protocol translation system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
谢东坡等: "适用于汽车性能检测系统的CAN总线应用层协议设计", 《工业仪表与自动化装置》 *
顾羽洁等: "基于CAN总线的楼宇自控系统设计", 《现代建筑电气》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446910B (en) * 2015-11-24 2019-01-25 东软集团股份有限公司 A kind of data transmission method and device
CN105446910A (en) * 2015-11-24 2016-03-30 东软集团股份有限公司 Data transmission methods and apparatus
CN105635317A (en) * 2016-03-01 2016-06-01 中国科学院上海高等研究院 Wireless communication method and system applied to bridge detection
CN105938651A (en) * 2016-06-06 2016-09-14 浙江工业大学 Method for underground pipeline robot wired communication protocol
CN106603357A (en) * 2016-11-11 2017-04-26 深圳怡化电脑股份有限公司 Sensor data reporting method, device and system
CN108128204B (en) * 2017-12-29 2020-11-03 国网智能科技股份有限公司 Data transmission method and system for charging pile CAN bus
CN108128204A (en) * 2017-12-29 2018-06-08 山东鲁能智能技术有限公司 A kind of data transmission method and system for charging pile CAN bus
CN110505131A (en) * 2018-05-18 2019-11-26 中国科学院声学研究所 A kind of master-slave mode CAN bus application layer communication method
CN111937359A (en) * 2019-05-14 2020-11-13 深圳市大疆创新科技有限公司 Communication address setting method of detection equipment, unmanned aerial vehicle and storage medium
WO2020227932A1 (en) * 2019-05-14 2020-11-19 深圳市大疆创新科技有限公司 Method for setting communication address of detection device, and unmanned aerial vehicle and storage medium
CN110601944A (en) * 2019-09-19 2019-12-20 成都埃克思智创科技有限公司 CAN protocol communication method applied to Internet of things
CN111262766A (en) * 2020-01-17 2020-06-09 北京汽车股份有限公司 Method, device and system for transmitting multi-packet application message data
CN111262766B (en) * 2020-01-17 2021-11-23 北京汽车股份有限公司 Method, device and system for transmitting multi-packet application message data
WO2021190283A1 (en) * 2020-03-27 2021-09-30 阳光电源股份有限公司 Photovoltaic system and communication method therefor
CN112532497A (en) * 2020-12-04 2021-03-19 中国航空工业集团公司成都飞机设计研究所 CAN bus framework of aircraft landing gear system
CN112532497B (en) * 2020-12-04 2022-09-20 中国航空工业集团公司成都飞机设计研究所 CAN bus framework of aircraft landing gear system
CN112583683A (en) * 2020-12-29 2021-03-30 中国科学院声学研究所 Master-slave CAN FD bus application layer communication method and system and electronic equipment
CN113452591A (en) * 2021-06-21 2021-09-28 合安科技技术有限公司 Loop control method and device based on CAN bus continuous data frame
CN113992471A (en) * 2021-10-26 2022-01-28 成都亿佰特电子科技有限公司 Communication system and method for multiple hosts and multiple slaves
CN114978798A (en) * 2022-05-23 2022-08-30 重庆奥普泰通信技术有限公司 Serial communication method, device and board card
CN114978798B (en) * 2022-05-23 2024-02-27 重庆奥普泰通信技术有限公司 Serial communication method, device and board card
CN115174304A (en) * 2022-06-24 2022-10-11 南京国电南自维美德自动化有限公司 CAN bus communication method with self-defined identifier segments
CN115174304B (en) * 2022-06-24 2023-12-22 南京国电南自维美德自动化有限公司 CAN bus communication method with sectional self-definition identifier
CN116527439A (en) * 2023-07-05 2023-08-01 广州疆海科技有限公司 Data communication method, device, computer equipment and computer readable storage medium
CN116527439B (en) * 2023-07-05 2023-10-17 广州疆海科技有限公司 Data communication method, device, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN104780086A (en) CAN bus communication method and system for environment monitoring
CN103248526B (en) Realize signal equipment, the method for out-of-band supervision control management
CN103438548B (en) Based on the system and method for the Long-distance Control central air-conditioning of mobile terminal
CN103973748B (en) Intelligent domestic system and its monitoring method
CN103828305B (en) For parametrization automated system or the system and method for the field apparatus of control system
CN101977094B (en) Satellite-borne controller area network (CAN) bus communication method applied to multi-master communication
CN107249048B (en) Air conditioning system and address allocation method and device thereof
CN106603506B (en) Data communication method, device and system based on multi-field bus
CN103281261B (en) A kind of ethernet communication method and system
CN110505135A (en) CAN bus based battery system automatic network-building method
CN105389278B (en) A kind of slave serial communication method based on CAN bus
CN106533876A (en) Data collection method based on car CAN bus data collection system
CN113395198B (en) Networking method and device of equipment and data transmission system
US10033546B2 (en) Method and system for reprogramming
CN105588264B (en) A kind of air-conditioner control system and method
CN107819659A (en) A kind of intelligent level UNICOM communication network based on SPI
CN105684460A (en) System for connecting smart devices in a building
CN104753707B (en) A kind of system maintenance method and the network switching equipment
CN106506228A (en) Method for sharing mobile network in multiple systems and terminal system
CN105632385B (en) A kind of LED display blind-spot detection method and its detection device
CN111030902A (en) Vehicle electronic control unit refreshing method and system
CN102223273B (en) Digital sensing network and communication method
CN106549845A (en) A kind of communication means and system based on NTB hardware
CN107633668A (en) The infrared communication method and device of battery management in a kind of car networking
CN104346310B (en) A kind of high-performance I2C slaves data exchange circuit and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate 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: 20150715