CN103699074A - CAN (Controller Area Network) communication control device in converter and communication method - Google Patents

CAN (Controller Area Network) communication control device in converter and communication method Download PDF

Info

Publication number
CN103699074A
CN103699074A CN201310672203.0A CN201310672203A CN103699074A CN 103699074 A CN103699074 A CN 103699074A CN 201310672203 A CN201310672203 A CN 201310672203A CN 103699074 A CN103699074 A CN 103699074A
Authority
CN
China
Prior art keywords
bus
control unit
communication
message
communication control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310672203.0A
Other languages
Chinese (zh)
Other versions
CN103699074B (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.)
CRRC Zhuzhou Institute Co Ltd
Original Assignee
CSR Zhuzou Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CSR Zhuzou Institute Co Ltd filed Critical CSR Zhuzou Institute Co Ltd
Priority to CN201310672203.0A priority Critical patent/CN103699074B/en
Publication of CN103699074A publication Critical patent/CN103699074A/en
Application granted granted Critical
Publication of CN103699074B publication Critical patent/CN103699074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a CAN (Controller Area Network) communication control device used in a control system of a converter. The CAN communication control device comprises a CAN bus interface unit and a microcontrol unit, wherein the CAN bus interface unit is connected with a field bus to receive or transmit messages to be delivered between the communication control device and other converter control devices on a bus network, and the messages are corresponding to a CAN standard protocol or user-defined field bus protocols; the microcontrol unit is connected with a CAN bus interface circuit to receive the messages sent by other remote converter control devices through the bus network, the messages are corresponding to the CAN standard protocol or user-defined field bus protocols, the messages are analyzed and treated according to inhouse configuration files and converted into parallel data information, and the configuration files are written on-line through a serial bus network through a serial bus interface unit connected with the microcontrol unit. The device can configurate different communication message IDs (identities) for the CAN communication control devices of different converters in a convenient and real-time mode, so that basic applications are unified.

Description

CAN communication control unit and communication means in a kind of current transformer
Technical field
The present invention relates to communication technical field, in particular to a kind of CAN communication control unit and the method in current transformer.More particularly, relate to a kind of CAN communication control unit and the method in electric power wheel self-discharging vehicle current transformer.
Background technology
CAN (Controller Area Network) is controller local area network, due to its high-performance, high reliability and unique design, and is more and more subject to people's attention.The product of external existing many major companies has adopted this technology.CAN is that automobile monitoring, control system design by German BOSCH company at first.Hyundai Motor adopts electronic installation control more and more, as the timing of engine, oiling control, the anti-lock brake system (ABS) of control (ASC) and complexity etc. of accelerating, brake.
CAN has also used in mine electric wheel self-discharging vehicle power drive system as a kind of mode of field bus communication at present.Because CAN communication has adopted the producer/consumer's communication pattern, the feature of this bus maximum is to have abolished traditional station address coding, the substitute is communicating data block is encoded.The great advantage of adopting is in this way to make network node number unrestricted in theory, and in network, each node can visit data bus simultaneously.The priority of visit data bus depends primarily on the identifier (ID) sending datagram.The high words of priority of identifier have preferential transmission right, and now in bus, all nodes can receive these frame data, then according to node, whether need to determine whether abandoning the data of reception.
At present, mine electric wheel self-discharging vehicle Control on Communication scheme mainly adopts the different CAN signal procedure of multiaxis scheme, or does not adopt CAN communication plan and adopt rigid line control program, or does not adopt CAN communication plan, and adopts other communication modes etc.
In the system that adopts CAN communication bus as control bus, by CAN2.0B agreement and generator excitation control panel, multiaxis current transformer, control, thereby realize the control to car load power drive system.And for mine electric wheel self-discharging vehicle, generally adopt two drive, 4 wheel driven, six drives, eight drive or even 16 drive mode, this just requires mine electric wheel self-discharging vehicle to possess diaxon, four axles, six axles, eight axles, 16 axle current transformers.And every axle current transformer requires a CAN communication control panel, due to differences such as the communication information of every axle current transformer transmission, control information, status information, failure messages, this just requires identifier (ID) difference of message transmission between each CAN communication control panel, this has also just caused electric vehicle 16 axle current transformers to have 16 different CAN signal procedures, caused CAN signal procedure to be difficult in actual applications distinguish, later maintenance difficulty is large, and signal procedure is difficult to unified.
Current multiaxis current transformer CAN communication plan: employing be the different program of each communication board, this has just caused multiaxis current transformer later maintenance complexity high, need to develop different CAN communication plan and relative program early stage, the workload of exploitation is large.
And if mine electric wheel car adopts rigid line to control, need to arrange onboard a large amount of rigid lines, and car load control bus arranges together with forceful electric power cable, is easily interfered, and is unfavorable for system control etc.
For this reason, need to provide a kind of scheme to simplify the design of communication scheme and the workload that reduces later maintenance for multiaxis current transformer CAN communication control system.
Summary of the invention
The present invention is directed to the deficiencies in the prior art, a kind of CAN communication control unit for converter control system has been proposed, it comprises: CAN Bus Interface Unit, it is connected with fieldbus, in order to receive or to send the message that meets CAN standard agreement or self-defined field bus protocol that needs transmission in described communication control unit and bus network between other control device of converters; Micro-control unit, it is connected with described CAN bus interface circuit, the message that meets CAN standard agreement or self-defined field bus protocol sending by bus network in order to receive other long-range control device of converters, and according to the configuration file of self, described message is carried out to dissection process, then convert parallel data information to; Wherein, described configuration file writes via serial bus network online by the serial bus interface unit being connected with described micro-control unit.
According to one embodiment of present invention, described device also comprises dual-ported memory, one port is connected with described micro-control unit, in order to receive and to preserve the data message of dissection process, its another port is connected with local current transformer treatment facility by application interface circuit, to realize the independent access of this equipment to the data of wherein storing.
According to one embodiment of present invention, described application interface circuit, by address bus bus and control bus and local current transformer equipment connection, also comprises inputting the 3rd terminal of the first terminal of reset signal, the second terminal of output busy status signal and output interrupt request singal.
According to one embodiment of present invention, described CAN Bus Interface Unit also comprises bus interface circuit, bus transmission circuit and the bus isolation circuit connecting successively, described bus isolation circuit is in order to by the interference and insulation in CAN bus, thereby guarantees reliable data communication.
According to one embodiment of present invention, described CAN standard agreement is CAN2.0A/2.0B.
According to one embodiment of present invention, the form of described configuration file includes but not limited to: start identifier, receive message quantity, receive cycling time, receive ID that message is corresponding and memory address, the quantity of transmission message, send cycling time, send ID that message is corresponding and memory address, end identifier.
According to one embodiment of present invention, in described micro-control unit, also comprise protocol conversion module, it is in order to after processing the CAN packet parsing receiving, and converts in real time the data that meet serial communication protocol to, then by serial interface circuit, sends on serial communication bus.
According to an aspect of the present invention, also provide a kind of multiaxis converter control system, it comprises the control device of converter corresponding with each axle; CAN communication control unit as described in any one in claim 1-7, it is connected with described control device of converter bus communication, in order to receive or to send the message that meets CAN standard agreement or self-defined field bus protocol that needs transmission between other control device of converters on described communication control unit and fieldbus networks; And the main frame being connected with the serial communication of described CAN communication control unit, it is in order to be written to configuration file in described CAN communication control unit by serial communication mode, so that it can receive the message that meets CAN standard agreement or self-defined field bus protocol that other long-range control device of converters send by bus network, and according to the configuration file of self, described message is carried out to dissection process, then convert parallel data message to.
According to multiaxis converter control system of the present invention, it is characterized in that, described main frame also reads by the protocol conversion module by described CAN communication control unit the data that received and sent by fieldbus networks in CAN communication control unit in real time, to the communications status of described CAN communication control unit is monitored in real time.
According to an aspect of the present invention, also provide the communication means in a kind of CAN communication control unit, it comprises the following steps;
System initialization read-write are by the configuration file sending on serial communication bus, and wherein, system initialization comprises the driver of carrying out boot, loading real time operating system, loading CAN communication interface and serial communication interface;
Receive or send the message that meets CAN standard agreement or self-defined field bus protocol that needs transmission in described communication control unit and bus network between other control device of converters;
Receive the message that meets CAN standard agreement or custom protocol that other long-range control device of converters send by bus network, and according to the described configuration file reading and writing, described message is carried out to dissection process, then convert parallel data message to;
Convert in real time the message that meets CAN standard agreement or self-defined on-the-spot agreement receiving to meet serial communication protocol data, then by serial interface circuit, send on serial communication bus;
On main frame, show in real time that the data that receive by serial communication bus are to monitor the duty of described CAN communication control unit.
The present invention has brought following beneficial effect:
The present invention adopts the method for configuration file of writing to CAN communication control unit by serial ports, real time modifying and configuration related communication parameter and content online, can facilitate, real-time realization is to different converter CAN communication control unit configuration different communication message ID, thereby guarantee that CAN communication board Basic application is the same, when only need to use in the later stage, by serial ports, configure different configuration files, realize the control of multiaxis current transformer.Meanwhile, by real-time for example CAN agreement RS 232 protocol gateway function, can simply pass through PC serial ports assistant Real-Time Monitoring CAN communication data report, realize the inline diagnosis of whole mine electric wheel self-discharging vehicle communication system.
Other features and advantages of the present invention will be set forth in the following description, and partly from instructions, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in instructions, claims and accompanying drawing.
Accompanying drawing explanation
Accompanying drawing is only for illustration purpose, and not as restriction, it combines set forth of the present invention principle with the embodiment that will describe below, in accompanying drawing:
Fig. 1 is the cut-away view of CAN communication control unit according to an embodiment of the invention;
Fig. 2 is the network topology structure figure for converter control system by CAN communication control unit according to one embodiment of present invention;
Fig. 3 is the Organization Chart that the software in CAN communication control unit according to an embodiment of the invention is realized;
Fig. 4 is the software flow pattern of the CAN of realization communication according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawing, describe embodiments of the present invention in detail, to the present invention, how application technology means solve technical matters whereby, and the implementation procedure of reaching technique effect can fully understand and implement according to this.It should be noted that, only otherwise form conflict, each feature in various embodiments of the present invention and each embodiment can mutually combine, and formed technical scheme is all within protection scope of the present invention.
As shown in Figure 1, wherein shown a kind of CAN communication control unit 100 for converter control system.It comprises: CAN Bus Interface Unit 101, micro-control unit 102 and serial bus interface unit 103.CAN Bus Interface Unit 101 is for being linked into CAN fieldbus by CAN communication control unit 100, therefore it is connected with fieldbus, to receive or to send other long-range messages that meet CAN standard agreement or self-defined field bus protocol that need in other words transmission between control device of converter non-indigenous in CAN communication control unit 100 and bus network.
Micro-control unit 102 is as the core component of CAN communication control unit 100, it is connected with CAN Bus Interface Unit 101, the message that meets CAN standard agreement or self-defined field bus protocol sending by bus network to receive other long-range control device of converters non-indigenous in other words, and according to the configuration file of self, message is carried out to dissection process, then convert parallel data information to.The mode that this parallel data information exchange is crossed independent access stores in a dual-port memory storage, will describe after this memory storage.
Specifically, CAN communication control unit 100 of the present invention can be supported CAN2.0A/2.0B and custom protocol mode.
In order to write in real time online or revise the needed configuration file of network service, CAN communication control unit 100 of the present invention also comprises a universal serial bus interface unit 103.Like this, configuration file just can write via serial bus network online by the serial bus interface unit being connected with micro-control unit 102.In one embodiment, can the needed configuration file of CAN communication control panel be write and be deleted by for example RS-232 serial communication custom protocol.
The form of this configuration file includes but not limited to: start identifier, receive message quantity, receive cycling time, receive ID that message is corresponding and memory address, the quantity of transmission message, send cycling time, send ID that message is corresponding and memory address, end identifier.
Wherein, in the example of a configuration file, start identifier and all adopt 16 systems by the data below the data bit FFFF(of two bytes) represent.The quantity that receives message is made as 0~FFFF bar CAN message, wherein, and the corresponding unique ID of each message.Receive and with 16 system data XXXX of two bytes, represent cycling time, therefore receiving the scope of cycling time can set in 0~FFFF millisecond.Receive corresponding ID and the memory address of message: the memory address (storer that for example addressing space is 2k) that ID, the message receiving will be preserved, regulation expansion frame or the identifier of standard frame.
In addition, in configuration file of the present invention, also stipulated to send the configuration information of message.For example the quantity of configuration transmission message represents with two byte data XXXX of 16 systems, and it shows that communication control unit of the present invention can receive 0~FFFF number object CAN message.
The configuration that sends cycling time is similar with the configuration information that receives message, is also two byte data XXXX of 16 systems, therefore sends and cycling time 0~FFFF millisecond can be set.
Configuration sends that corresponding ID and the memory address of message comprises configuration ID, the memory location at the message place that will send, the message that will send are expansion frame or standard frame.
Finally, this configuration file with end mark for example the 5A5A of 16 systems represent to finish.
As shown in Figure 1, in CAN communication control unit, also comprise dual-ported memory (Dual Port Memory is called for short DPRAM) 104.A port of DPRAM104 is connected with micro-control unit 102, in order to receive and to preserve the data message of dissection process, its another port is by application interface circuit 105(Fig. 1) be connected with local current transformer treatment facility, to realize the independent access of this equipment to the data of wherein storing.
In one embodiment, dual-port memory storage DPRAM104 comprises a for example two-port RAM for 2K byte, uses the connector of 34 pins, i.e. application interface circuit 105 in Fig. 1.DPRAM104 allows other equipment of this communication control unit 100 and this locality independently to different memory areas addressing.In the present embodiment, the local bus interface by micro-control unit 102 visits this DPRAM104, and by interrupting or the mode of poll realizes and writing or read operation.Transmission for a large amount of continuous datas (such as the data message of analog quantity), between this communication control unit 100 and local other equipment are as the application program of current transformer treatment facility, adopt handshake mechanism to communicate, thereby guaranteed communication security and the data integrity of system.Mode by dual port RAM is carried out data access, its circuit structure is simple, traffic rate is fast, cost is low,, and versatility is good, therefore can easily communication control unit be linked in each process control system.
In addition, can also from Fig. 1, see, CAN Bus Interface Unit 101 also comprises bus interface circuit 101a, bus transmission circuit 101b and the bus isolation circuit 101c connecting successively.Wherein, bus isolation circuit 101c is in order to by the isolation of the interference in CAN bus and communication control unit, thereby guarantees reliable data communication.Therefore, CAN Bus Interface Unit 101 is that electricity is isolated, and is to design according to CAN bus standard.The bus protocol completely CAN communications applications module in micro-control unit 102 is processed, without any need for the intervention of other application controllers.
The serial communication interface unit 103 that this communication control unit 100 comprises is except for the writing of configuration file, also for passing through the protocol conversion module 102a of micro-control unit, after the CAN packet parsing receiving is processed, and convert in real time the data that meet serial communication protocol to, then send on serial communication bus, thereby realize the gateway function that CAN agreement turns serial communication protocol.Here serial communication interface unit 103 is not limited to meet the circuit design of the standards such as RS-232, RS-485, PS2.
Because CAN communicator 100 of the present invention can be realized CAN agreement to the conversion of the serial communication protocols such as RS-232, therefore wherein realized the function of gateway.Like this, can be easily by with the mutual equipment connection of CAN communication control unit 100 of the present invention on industrial control host for example, thereby utilize serial ports assistant software in the industrial control host signal intelligence between monitoring site equipment easily.Or further, the network of fieldbus control network and other agreements is carried out interconnected, thereby the data message that reaches control system is shared in maximum magnitude and degree.
CAN communication control unit of the present invention is in order to realize mutual with local current transformer treatment facility, and the data exchange interface of the inside of employing is DPRAM, by this storer, is realized with CAN communication control unit and is carried out exchanges data.To above this and discuss, do not repeat them here.
As shown in Figure 1, application interface circuit 105 passes through address bus, data bus and control bus by this communication control unit 100 and local current transformer equipment connection.In order to realize in the connector example of application interface circuit 105, its first terminal 105a that also comprises inputting reset signal is, the 3rd terminal 105c of the second terminal 105b of output busy status signal and output interrupt request singal.
As shown in Figure 2, for according to one embodiment of present invention CAN communication control unit being used for to the network topology structure figure of converter control system.
For the convenience illustrating, the converter control system in example of the present invention is the control that is applied to mine electric wheel self-discharging vehicle.Wherein, according to its type of drive, be provided with for example current transformer of 16 axles.Therefore, as previously mentioned, the invention provides a kind of multiaxis converter control system, it comprises the control device of converter corresponding with each axle 200 i(i from 1 to 16, but the invention is not restricted to this, can be any amount) and CAN communication control unit 100 i.CAN communication control unit 100 ibe provided with control device of converter 200 with other ibus communication connects, in order to receive or to send the message that meets CAN standard agreement or self-defined field bus protocol that needs transmission between other control device of converters on described communication control unit and fieldbus networks.
In addition, system of the present invention also comprises and CAN communication control unit 100 ithe industrial control host 300 that serial communication connects.Industrial control host 300 is in order to be written to CAN communication control unit 100 by configuration file by serial communication mode iin, so that it can receive the message that meets CAN standard agreement or self-defined field bus protocol that other long-range control device of converters send by bus network, and according to the configuration file of self, described message is carried out to dissection process, then convert parallel data message to.
The gateway function carrying for CAN communication control unit, can utilize main frame 300 protocol conversion module by CAN communication control unit to be read in real time to the data that receive and send by fieldbus networks in CAN communication control unit, to the communications status of fieldbus networks is monitored in real time.
Introduce and realize the communication means in CAN communication control unit in detail by way of example below.
As shown in Figure 3, wherein shown the Organization Chart that the software in CAN communication control unit according to an embodiment of the invention is realized.
Wherein, as shown in Figure 3, CAN communication software structure is mainly divided into following contents of program structure: boot layer, bottom hardware driver layer, CAN drivers/API layer, serial port drive api layer and application layer program, and described in it is mainly achieved as follows.
Boot layer mainly realizes the planning of the internal storage in micro-control unit, the processing of the deposit position initialization of program, the definition of seven kinds of mode of operations, abnormal patterns, the initialization of the generation of storehouse, clock setting, interruption setting and interrupt function, the setting of master routine entrance etc.Bottom hardware driver layer mainly realize the configuration of CAN related register, the configuration of serial ports related register, the setting of house dog IO, the register of DPRAM arranges initialization.CAN drivers/API layer is mainly realized CAN related register handling function, CAN transmitting-receiving function, processing and bus management that CAN is abnormal.Serial port drive api layer is mainly realized handling function, UART data transmit-receive function, communication abnormality management of the register of serial ports UART etc.Operating system layer, on this layer, mainly adopts real time operating system UCOS-II as the operating system of this communication control unit, realizes task and the dependent resource management of system.Application layer is mainly realized the application task of CAN bus node, application and the data administration tasks of UART serial ports, has also realized the functions such as CAN and UART serial port gateway and data management simultaneously.In addition, application layer is also in order to realize read-write process and the hold function of configuration file.
The software of take below in CAN communication control unit is mainly realized CAN2.0B protocol function and is introduced communication process as example.
The flow process that the software of communication means of the present invention is carried out is mainly divided into three phases: initial phase, task run stage, ending phase, describe its implementation procedure below in detail:
Initial phase mainly comprises initialization and the configuration file read-write of system, and system initialization comprises execution, the real time operating system UCOS-II system loads of boot, the processes such as drive load of CAN and Rs232 serial ports; During configuration file read-write, in system loads, successfully enter application program and first have the 30s time, determine whether again to rewrite configuration file content, if desired online modification configuration file, can carry out online modification configuration file by Rs232 custom protocol, if do not receive dependent instruction in 30s, give tacit consent to the configuration file of loading system acquiescence.
The task run stage: mainly contain three real-time tasks, be respectively CAN and send that task, CAN receive task, CAN turns Rs232 gateway task.CAN sends task by reading transmission duty cycle Time dependent cycle task time in configuration file, reads ID in configuration file and message content and obtains address and generate message and relevant transmission ID; CAN receives task by reading reception duty cycle Time dependent cycle task time in configuration file, read ID in configuration file and report memory address by assigned I D packet storage in corresponding message.CAN turns the message content that CAN communication board is received and sent and the self-defined mode of ID conversion Rs232 serial ports that Rs232 gateway task can be real-time, can pass through the serial ports assistant of PC like this, the signal intelligence of demonstration CAN communication board that can be real-time, its communication function of real-time diagnosis.
Ending phase: mainly realize the release of the task resource in each task abnormity situation, each state of whole system is arranged on to safe condition.
As mentioned above and as shown in Figure 4, the invention provides a kind of electric power wheel self-discharging vehicle current transformer CAN communication control method.It comprises the following steps:
S401, system initialization read-write are by the configuration file sending on serial communication bus, and wherein, system initialization comprises the driver of carrying out boot, loading real time operating system, loading CAN communication interface and serial communication interface;
S402, reception or send needs the message that meets CAN standard agreement or self-defined field bus protocol transmitting between other control device of converters in described communication control unit and bus network;
S403, receive the message that meets CAN standard agreement or custom protocol that other long-range control device of converters send by bus network, and according to the described configuration file reading and writing, described message is carried out to dissection process, then convert parallel data message to;
S404, convert in real time the message that meets CAN standard agreement or self-defined on-the-spot agreement receiving to meet serial communication protocol data, then by serial interface circuit, send on serial communication bus;
S405, in industrial control host, show in real time that the data that receive by serial communication bus are to monitor the duty of described CAN communication control unit.
CAN bus communication module can be integrated in industrial field device to realize CAN bus network system Control on Communication, meets the needs of these equipment and other automation equipment communication.Module carries high-performance microcontroller, is independent of primary application program and processes bus communication protocol.Between microcontroller and CAN bus interface, add communication isolation device, the outer signals having solved on CAN bus line is disturbed.
It should be understood that disclosed embodiment of this invention is not limited to ad hoc structure disclosed herein, treatment step or material, and it is alternative to extend to being equal to of these features that those of ordinary skill in the related art understand.It is to be further understood that as used herein term is only for describing the object of specific embodiment, and and do not mean that restriction.
Special characteristic, structure or characteristic that " embodiment " who mentions in instructions or " embodiment " mean to describe in conjunction with the embodiments comprise at least one embodiment of the present invention.Therefore, phrase " embodiment " or " embodiment " of each local appearance might not all refer to same embodiment to instructions in the whole text.
Although the disclosed embodiment of the present invention as above, the embodiment that described content just adopts for the ease of understanding the present invention, not in order to limit the present invention.Technician in any the technical field of the invention; do not departing under the prerequisite of the disclosed spirit and scope of the present invention; can do any modification and variation what implement in form and in details; but scope of patent protection of the present invention, still must be as the criterion with the scope that appending claims was defined.

Claims (10)

1. for a CAN communication control unit for converter control system, it is characterized in that, comprising:
CAN Bus Interface Unit, it is connected with fieldbus, in order to receive or to send the message that meets CAN standard agreement or self-defined field bus protocol that needs transmission in described communication control unit and bus network between other control device of converters;
Micro-control unit, it is connected with described CAN bus interface circuit, the message that meets CAN standard agreement or self-defined field bus protocol sending by bus network in order to receive other long-range control device of converters, and according to the configuration file of self, described message is carried out to dissection process, then convert parallel data information to;
Wherein, described configuration file writes via serial bus network online by the serial bus interface unit being connected with described micro-control unit.
2. CAN communication control unit as claimed in claim 1, it is characterized in that, described device also comprises dual-ported memory, one port is connected with described micro-control unit, in order to receive and to preserve the data message of dissection process, its another port is connected with local current transformer treatment facility by application interface circuit, to realize the independent access of this equipment to the data of wherein storing.
3. CAN communication control unit as claimed in claim 2, it is characterized in that, described application interface circuit, by address bus bus and control bus and local current transformer equipment connection, also comprises inputting the 3rd terminal of the first terminal of reset signal, the second terminal of output busy status signal and output interrupt request singal.
4. the CAN communication control unit as described in any one in claim 1-3, is characterized in that,
Described CAN Bus Interface Unit also comprises successively bus interface circuit, bus transmission circuit and the bus isolation circuit connecting, and described bus isolation circuit is in order to by the interference and insulation in CAN bus, thereby guarantees reliable data communication.
5. the CAN communication control unit as described in any one in claim 1-3, is characterized in that, described CAN standard agreement is CAN2.0A/2.0B.
6. the CAN communication control unit as described in any one in claim 1-3, it is characterized in that, the form of described configuration file includes but not limited to: start identifier, receive message quantity, receive cycling time, receive ID that message is corresponding and memory address, the quantity of transmission message, send cycling time, send ID that message is corresponding and memory address, end identifier.
7. the CAN communication control unit as described in any one in claim 1-3, it is characterized in that, in described micro-control unit, also comprise protocol conversion module, it is in order to after processing the CAN packet parsing receiving, and convert in real time the data that meet serial communication protocol to, then by serial interface circuit, send on serial communication bus.
8. a multiaxis converter control system, is characterized in that, comprises
The control device of converter corresponding with each axle,
CAN communication control unit as described in any one in claim 1-7, it is connected with described control device of converter bus communication, in order to receive or to send the message that meets CAN standard agreement or self-defined field bus protocol that needs transmission between other control device of converters on described communication control unit and fieldbus networks; And
The main frame being connected with the serial communication of described CAN communication control unit, it is in order to be written to configuration file in described CAN communication control unit by serial communication mode, so that it can receive the message that meets CAN standard agreement or self-defined field bus protocol that other long-range control device of converters send by bus network, and according to the configuration file of self, described message is carried out to dissection process, then convert parallel data message to.
9. multiaxis converter control system as claimed in claim 8, it is characterized in that, described main frame also reads by the protocol conversion module by described CAN communication control unit the data that received and sent by fieldbus networks in CAN communication control unit in real time, to the communications status of described CAN communication control unit is monitored in real time.
10. the communication means in CAN communication control unit, is characterized in that, comprises the following steps;
System initialization read-write are by the configuration file sending on serial communication bus, and wherein, system initialization comprises the driver of carrying out boot, loading real time operating system, loading CAN communication interface and serial communication interface;
Receive or send the message that meets CAN standard agreement or self-defined field bus protocol that needs transmission in described communication control unit and bus network between other control device of converters;
Receive the message that meets CAN standard agreement or custom protocol that other long-range control device of converters send by bus network, and according to the described configuration file reading and writing, described message is carried out to dissection process, then convert parallel data message to;
Convert in real time the message that meets CAN standard agreement or self-defined on-the-spot agreement receiving to meet serial communication protocol data, then by serial interface circuit, send on serial communication bus;
On main frame, show in real time that the data that receive by serial communication bus are to monitor the duty of described CAN communication control unit.
CN201310672203.0A 2013-12-11 2013-12-11 CAN communication control device in a kind of current transformer and communication method Active CN103699074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310672203.0A CN103699074B (en) 2013-12-11 2013-12-11 CAN communication control device in a kind of current transformer and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310672203.0A CN103699074B (en) 2013-12-11 2013-12-11 CAN communication control device in a kind of current transformer and communication method

Publications (2)

Publication Number Publication Date
CN103699074A true CN103699074A (en) 2014-04-02
CN103699074B CN103699074B (en) 2016-06-08

Family

ID=50360639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310672203.0A Active CN103699074B (en) 2013-12-11 2013-12-11 CAN communication control device in a kind of current transformer and communication method

Country Status (1)

Country Link
CN (1) CN103699074B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573200A (en) * 2015-12-16 2016-05-11 大连尚能科技发展有限公司 Communication apparatus for wind power converter, and communication method
CN107209494A (en) * 2014-07-29 2017-09-26 索尤若驱动有限及两合公司 The application of the display unit of current transformer, the method for running current transformer and current transformer
CN109194691A (en) * 2018-10-30 2019-01-11 潍柴动力股份有限公司 A kind of configuration method of message, configuration device, electric-control motor and vehicle
CN109889490A (en) * 2019-01-02 2019-06-14 肇庆奥迪威传感科技有限公司 Protocol conversion device, method, apparatus and storage medium
CN110703817A (en) * 2016-03-29 2020-01-17 华为技术有限公司 Control method, device and system for statistical flow
CN111628920A (en) * 2020-05-28 2020-09-04 上海辰瞻医疗科技有限公司 Intercommunication method between multiple serial interface devices
CN114915548A (en) * 2022-05-09 2022-08-16 中国船舶重工集团公司第七0七研究所九江分部 Singlechip CAN protocol-based visual configuration and automatic analysis method
CN116232798A (en) * 2023-02-06 2023-06-06 暨南大学 Method, system, equipment and terminal for controlling various CAN bus equipment in cross-platform mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1388455A (en) * 2002-06-21 2003-01-01 华中科技大学 Protocol converting method and device between in-situ bus and serial interface equipment
CN102662904A (en) * 2012-04-06 2012-09-12 哈尔滨工业大学 Plug-and-play system based on controller area network (CAN) bus and design method thereof
CN202758177U (en) * 2012-05-10 2013-02-27 湘潭乐星电气有限公司 Current transformer communication system
CN103428050A (en) * 2013-08-15 2013-12-04 上海固泰科技有限公司 Multipath CAN (controller area network) simulation system based on CAN bus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1388455A (en) * 2002-06-21 2003-01-01 华中科技大学 Protocol converting method and device between in-situ bus and serial interface equipment
CN102662904A (en) * 2012-04-06 2012-09-12 哈尔滨工业大学 Plug-and-play system based on controller area network (CAN) bus and design method thereof
CN202758177U (en) * 2012-05-10 2013-02-27 湘潭乐星电气有限公司 Current transformer communication system
CN103428050A (en) * 2013-08-15 2013-12-04 上海固泰科技有限公司 Multipath CAN (controller area network) simulation system based on CAN bus

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11600246B2 (en) 2014-07-29 2023-03-07 Sew-Eurodrive Gmbh & Co. Kg Use of a display of a converter, method for operating a converter, and converter
US10943565B2 (en) 2014-07-29 2021-03-09 Sew-Eurodrive Gmbh & Co. Kg Use of a display of a converter, method for operating a converter, and converter
US11244656B2 (en) 2014-07-29 2022-02-08 Sew-Eurodrive Gmbh & Co. Kg Use of a display of a converter, method for operating a converter, and converter
CN107209494A (en) * 2014-07-29 2017-09-26 索尤若驱动有限及两合公司 The application of the display unit of current transformer, the method for running current transformer and current transformer
CN107209494B (en) * 2014-07-29 2020-09-11 索尤若驱动有限及两合公司 Use of a display element of a converter, method for operating a converter and converter
CN105573200A (en) * 2015-12-16 2016-05-11 大连尚能科技发展有限公司 Communication apparatus for wind power converter, and communication method
CN105573200B (en) * 2015-12-16 2019-02-15 大连尚能科技发展有限公司 A kind of communication device and communication means for wind electric converter
CN110703817A (en) * 2016-03-29 2020-01-17 华为技术有限公司 Control method, device and system for statistical flow
US11716262B2 (en) 2016-03-29 2023-08-01 Huawei Technologies Co., Ltd. Control method, apparatus, and system for collecting traffic statistics
US11381480B2 (en) 2016-03-29 2022-07-05 Huawei Technologies Co., Ltd. Control method, apparatus, and system for collecting traffic statistics
CN109194691A (en) * 2018-10-30 2019-01-11 潍柴动力股份有限公司 A kind of configuration method of message, configuration device, electric-control motor and vehicle
CN109889490A (en) * 2019-01-02 2019-06-14 肇庆奥迪威传感科技有限公司 Protocol conversion device, method, apparatus and storage medium
CN111628920A (en) * 2020-05-28 2020-09-04 上海辰瞻医疗科技有限公司 Intercommunication method between multiple serial interface devices
CN114915548A (en) * 2022-05-09 2022-08-16 中国船舶重工集团公司第七0七研究所九江分部 Singlechip CAN protocol-based visual configuration and automatic analysis method
CN114915548B (en) * 2022-05-09 2023-10-31 中国船舶重工集团公司第七0七研究所九江分部 Visual configuration and automatic analysis method based on CAN protocol of singlechip
CN116232798A (en) * 2023-02-06 2023-06-06 暨南大学 Method, system, equipment and terminal for controlling various CAN bus equipment in cross-platform mode
CN116232798B (en) * 2023-02-06 2024-03-19 暨南大学 Method, system, equipment and terminal for controlling various CAN bus equipment in cross-platform mode

Also Published As

Publication number Publication date
CN103699074B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN103699074A (en) CAN (Controller Area Network) communication control device in converter and communication method
Loy et al. Open control networks: LonWorks/EIA 709 technology
CN101702694B (en) Train interconnection gateway and system and train communication method
CN201837860U (en) Control system for controlling multiple safety-critical and non-safety-critical processes
US7984225B2 (en) ASCII gateway to in-vehicle networks
Othman et al. Controller area networks: Evolution and applications
CN101963798B (en) Embedded-type rail transit station equipment information collection method
CN101013315A (en) General numerical control system based on full digital ring bus
US5938754A (en) Fieldbus connector including dual connectors
CN104635708A (en) OPC UA (Unified Architecture) data acquisition module based on I-MX287 processor
Sharma et al. Designing c library for modbus-rtu to canbus and modbus-tcp iot converters
CN200997073Y (en) Universal digital-controlled system based on digital ring bus
CN104678918A (en) CANOPEN main control equipment based on PC104 bus and control method of CANOPEN main control equipment
CN100388713C (en) Wireless embedded controller based on factory automation industrial Ethernet field bus
CN101833291A (en) Main controller device for modularized design of high-voltage frequency converter
US20140031955A1 (en) Connecting device, system and method for signal transmission between a control center and at least one field device in an industrial installation
CN201177760Y (en) WorldFIP network control platform for field control
CN101430554B (en) WorldFIP network control platform system used for on-site control
CN214335545U (en) Production line control system
CN204305057U (en) The MVB/ETH gateway device of EMU network system
CN204946002U (en) The device of embedded type CPU bus extension Profibus communication bus
CN111130965B (en) High-capacity real-time data transmission system for well control and lifting control
CN201341152Y (en) J1939-Ethernet gateway based on ARM7
CN114338265B (en) Program downloading system and method based on TTP/C bus
CN205486081U (en) Embedded outside memory bus extension profinet bus device of CPU

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant