[go: up one dir, main page]

CN207612273U - A kind of communication system based on CAN bus - Google Patents

A kind of communication system based on CAN bus Download PDF

Info

Publication number
CN207612273U
CN207612273U CN201721579819.3U CN201721579819U CN207612273U CN 207612273 U CN207612273 U CN 207612273U CN 201721579819 U CN201721579819 U CN 201721579819U CN 207612273 U CN207612273 U CN 207612273U
Authority
CN
China
Prior art keywords
gateway
substation
bus
interface
connect
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201721579819.3U
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.)
Anpac Bio Medical Science Lishui Co Ltd
Original Assignee
Scientific And Technological (shanghai) Co Ltd Of Prosperous Micro-System
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 Scientific And Technological (shanghai) Co Ltd Of Prosperous Micro-System filed Critical Scientific And Technological (shanghai) Co Ltd Of Prosperous Micro-System
Priority to CN201721579819.3U priority Critical patent/CN207612273U/en
Application granted granted Critical
Publication of CN207612273U publication Critical patent/CN207612273U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

  • Small-Scale Networks (AREA)

Abstract

The utility model provides a kind of communication system based on CAN bus, including:Gateway has CAN interface;CAN bus, one end are connect with the gateway, and the other end extends to industry control occasion;At least one substation, the substation have CAN interface, are connect with the gateway by the CAN bus;At least one sensor set on the industry control occasion is connect with a substation, and the substation receives the analog signal that the sensor generates, then the analog signal is converted to and is sent to the gateway by the CAN bus after digital signal.After adopting the above technical scheme, so that the communication interface of communication system is unified, simplified interface circuit design reduces the occupancy to central processing unit hardware resource;Simplify communication line wiring, mitigate difficult wiring, reduces wiring cost;Real-time communication, strong antijamming capability.

Description

A kind of communication system based on CAN bus
Technical field
The utility model is related to the communications field more particularly to a kind of communication systems based on CAN bus.
Background technology
In industrial control field, need to set using control unit or central processing unit connection various kinds of sensors or work It is standby, obtain the detection signal of sensor and the work state information of each equipment.However in many industry control occasions, need to multiple Sensor or equipment are attached and data interaction, leads to the signal transmission form broad categories with the central processing unit, And the performance parameters such as communication distance, anti-interference of various communication modes are different, and many difficulties are brought to wiring installation, and Generally all also to do anti-tampering shielding processing.In addition, each sensor and equipment are directly connect with central processing unit, can occupy I/O mouthfuls of resources of a large amount of control unit, or even also need to build the circuits such as signal processing circuit, such as A/D conversions, signal amplification; Various types of signal needs to carry out software and hardware processing after entering the central processing unit, increases the workload of central processing unit.
In automotive field, often CAN bus is used to realize the communication between vehicle electronics device, however existing CAN is total Line communication is all often that oneself is special for automobile vendor, does not announce agreement externally, therefore the large-scale application not yet in industrial control field.
Therefore it needs to apply CAN bus communication mode in industrial control field, can reduce to central processing unit resource Occupancy, solve communication line difficult wiring.
Utility model content
In order to overcome above-mentioned technological deficiency, the purpose of this utility model is to provide a kind of communication systems based on CAN bus System realizes the communication of central processing unit and each substation in industry control scene by CAN bus, realizes the technology effect of Unified Communication mode Fruit.
The utility model discloses a kind of communication systems based on CAN bus, including:Gateway has CAN interface; CAN bus, one end are connect with the gateway, and the other end extends to industry control occasion;At least one substation, the substation have CAN Bus interface is connect by the CAN bus with the gateway;At least one sensor set on the industry control occasion, with one Substation connects, and the substation receives the analog signal that the sensor generates, then the analog signal is converted to digital signal The gateway is sent to by the CAN bus afterwards.
Preferably, the communication system further includes:Central processing unit is connect with the gateway, by the gateway with Each substation communication.
Preferably, the gateway has serial line interface, and the central processing unit passes through the serial line interface and the net Connection connects.
Preferably, the communication system further includes:Host computer is connect with the gateway, passes through the gateway and each son It stands communication, the parameter of each substation is set.
Preferably, the host computer is connect by RS232 interface with the gateway.
Preferably, the substation includes serial line interface, is set with the work for working in industry control occasion by the serial line interface Standby connection.
Preferably, the serial line interface of the substation is RS232 interface or RS485 interfaces.
After using above-mentioned technical proposal, compared with prior art, have the advantages that:
1. communication interface is same, simplify interface circuit design, reduces the occupancy to central processing unit hardware resource;
2. simplifying communication line wiring, mitigate difficult wiring, reduces wiring cost;
3. real-time communication, strong antijamming capability.
Description of the drawings
Fig. 1 is the structure diagram for meeting the communication system based on CAN bus in one preferred embodiment of the utility model.
Reference numeral:
10- gateways, 11-CAN buses, the substations 12-, 13- working equipments, 14- sensors, 15- central processing unit, 16- Host computer.
Specific implementation mode
The advantages of the utility model is expanded on further below in conjunction with attached drawing and specific embodiment.
It is the structure diagram for meeting the communication system based on CAN bus in one preferred embodiment of the utility model refering to fig. 1, The communication system includes:
Gateway 10
The gateway 10 has CAN interface.Gateway 10 in the application is not computer network in general sense The network gateway for the responsible protocol conversion applied in network, but the concept of network gateway is extended, the net in the application The signal of communication of communication protocol different in industrial circle, data format or even electrical standard is converted in pass, such as by CAN Signal of communication in bus 11 is converted to rs 232 serial interface signal or the signal of other forms, can regard a signal of communication translater as. In the present embodiment, the gateway 10 has CAN interface, that is, has the ability being connect with CAN bus 11, and operation has CAN total Wire protocol can be communicated with the various kinds of equipment being connected in same CAN bus 11.General branch is integrated in the gateway 10 The chip of CAN bus 11, such as CAN transceiver interface chip PCA82C250T are held, the signal of communication in CAN bus 11 can be turned It is changed to general serial signal, is connect with other equipment by serial line interface.The gateway 10 should also surround CAN interface and string Mouthful interface lays corresponding hardware interface circuit, such as serial interface data line is equipped with pull-up resistor, the power end on interface with The power supply of the gateway 10 connects.
CAN bus 11
11 one end of the CAN bus is connect with the gateway 10, and the other end extends to industry control occasion.CAN is The abbreviation (hereinafter referred to as CAN) of Controller Area Network, is the serial communication protocol of ISO International standardizations, Chang Ying Data interaction in automobile industry, being used between various electronic control systems.The present embodiment is on the basis of standard CAN bus On, in conjunction with the application characteristic of industrial control field, carry out the secondary development of self-defining data and communication protocol.The CAN bus 11 exists Physical layer is made of two conducting wires, respectively represents CANH and CANL, when equipment of the CAN bus 11 with CAN bus 11 is supported It, must be corresponding with CANH the and CANL terminals in equipment or gateway 10 or when the connection of gateway 10.
Substation 12
The substation 12 is at least one, has CAN interface, is connected by the CAN bus 11 and the gateway 10 It connects.The substation 12 can be the microcontroller for having CAN interface, PLC, and be integrated in the shell of suitable industry control environment. The substation 12 has the ability being connect with the various kinds of equipment at industry control scene or sensor, that is, has serial port or simulation input is defeated Outgoing interface.
Sensor 14
At least one connect set on the industry control occasion with a substation 12 sensor 14, and the substation 12 receives The analog signal that the sensor 14 generates, then the analog signal is converted to after digital signal through the CAN bus 11 It is sent to the gateway 10.The sensor 14 can be different type, such as temperature sensing according to the application of industry control occasion Device, range sensor, flow sensor etc..The physical quantity of detection is converted to analog signal, including simulation by the sensor 14 Voltage signal or analog current signal.The substation 12 receives institute after the analog signal through built-in analog-to-digital conversion module It states analog signal and is converted to digital signal, the gateway 10 is sent to finally by the CAN bus 11.The microcontroller of mainstream or PLC has analog signal input sample channel, therefore can realize analog-digital conversion function inside the substation 12, can also use External modulus conversion chip realizes analog-to-digital conversion.
As being further improved for the communication system, the communication system further includes:
Central processing unit 15
The central processing unit 15 is connect with the gateway 10, is communicated with each substation 12 by the gateway 10.It is right The purpose that the equipment or sensor at industry control scene carry out data interaction is to be analyzed and determined, and assist industry control measure, therefore need It wants the central processing unit 15 to be collected, judge to these information and makes action command.The central processing unit 15 It can be microcontroller or microprocessor, have serial line interface, and connect with the gateway 10 by serial line interface.The centre It is stored with the mailing address of each substation in reason unit 15, can be led to each substation 12 by the gateway 10 and CAN bus 11 Letter, carries out on-site data gathering and control instruction issues.
As being further improved for the communication system, the communication system further includes:
Host computer 16
The host computer 16 is connect with the gateway 10, is communicated with each substation 12 by the gateway 10, each son is arranged Stand 12 parameter.In the communication system, each substation 12 should be set as different addresses, just can ensure that total in same CAN Orderly into row data communication on line 11, also need to 12 setting messaging parameter such as baud rates etc. of respectively standing.The host computer 16 passes through Serial line interface is connect with the gateway, such as RS232 interface.The host computer 16 by the gateway 10 and CAN bus 11 with Connection is established in each substation 12, and issues parameter to each substation.Operation has upper computer software on the host computer 16, supports user defeated Enter each parameter of the setting to substation, and serial line interface is called to send the parameter to the gateway 10.
As being further improved for the communication system, the substation 12 includes serial line interface, passes through the serial line interface It is connect with the working equipment 13 for working in industry control occasion.The working equipment 13 can be the process equipment applied to industry control occasion Or ancillary equipment, such as reacting furnace, heating device, air-conditioning etc., the working equipment 13 have electronic control system, and by certainly The serial line interface of band is connect with the substation 12, carries out data interaction, and reporting equipment working condition receives control instruction.It is described The serial line interface of substation 12 depending on the type for the serial line interface that the working equipment 13 is supported, can be RS232 interface or RS485 interfaces.
It should be noted that the embodiments of the present invention have preferable implementation, and not the utility model is appointed The limitation of what form, any one skilled in the art change or are modified to possibly also with the technology contents of the disclosure above Same effective embodiment, as long as without departing from the content of technical solutions of the utility model, according to the technical essence of the utility model pair Any modification or equivalent variations and modification, are still within the scope of the technical solutions of the present invention made by above example.

Claims (7)

1. a kind of communication system based on CAN bus, which is characterized in that including:
Gateway has CAN interface;
CAN bus, one end are connect with the gateway, and the other end extends to industry control occasion;
At least one substation, the substation have CAN interface, are connect with the gateway by the CAN bus;
At least one sensor set on the industry control occasion is connect with a substation, and the substation receives the sensor and generates Analog signal, then the analog signal is converted to, the gateway is sent to by the CAN bus after digital signal.
2. communication system as described in claim 1, which is characterized in that
The communication system further includes:
Central processing unit is connect with the gateway, is communicated with each substation by the gateway.
3. communication system as claimed in claim 2, which is characterized in that
The gateway has serial line interface, and the central processing unit is connect by the serial line interface with the gateway.
4. communication system as described in any one of claims 1-3, which is characterized in that
The communication system further includes:
Host computer is connect with the gateway, is communicated with each substation by the gateway, the parameter of each substation is arranged.
5. communication system as claimed in claim 4, which is characterized in that
The host computer is connect by RS232 interface with the gateway.
6. communication system as described in any one of claims 1-3, which is characterized in that
The substation includes serial line interface, is connect with the working equipment for working in industry control occasion by the serial line interface.
7. communication system as claimed in claim 6, which is characterized in that
The serial line interface of the substation is RS232 interface or RS485 interfaces.
CN201721579819.3U 2017-11-23 2017-11-23 A kind of communication system based on CAN bus Active CN207612273U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721579819.3U CN207612273U (en) 2017-11-23 2017-11-23 A kind of communication system based on CAN bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721579819.3U CN207612273U (en) 2017-11-23 2017-11-23 A kind of communication system based on CAN bus

Publications (1)

Publication Number Publication Date
CN207612273U true CN207612273U (en) 2018-07-13

Family

ID=62796018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721579819.3U Active CN207612273U (en) 2017-11-23 2017-11-23 A kind of communication system based on CAN bus

Country Status (1)

Country Link
CN (1) CN207612273U (en)

Similar Documents

Publication Publication Date Title
CN102081585A (en) RS485 dual-bus communication method used for test satellite
CN203133584U (en) CAN communication interface, cable monitor and cable monitoring system
CN201839452U (en) Wireless sensor network intelligent gateway
CN103823775A (en) Serial port and Internet port smart converter
CN203241752U (en) Digital analog conversion CAN bus control transmit-receive system connected with multipath-sensor
CN203858629U (en) Protocol converter
CN101478453A (en) Handhold portable CANOPEN network data analyzer and controlling method thereof
CN207612273U (en) A kind of communication system based on CAN bus
CN105550154A (en) Single-bus time division multiplexing based two-way transmission system and method thereof
CN203552252U (en) Data conversion device based on internet of things
CN203217563U (en) CAN bus control transceiver system with high isolation performance
CN107592286A (en) A kind of intelligent communications terminal and its implementation for supporting multi-protocols
CN203178787U (en) Switch control device and intelligent household system
CN103149909A (en) Field programmable gate array (FPGA)-based controller area network (CAN) simulation node system
CN104460445A (en) CAN bus communication terminal resistor accessing method
CN109120485A (en) Intelligent home gateway and its control method
CN102087144A (en) Foundation field bus (FF) H1 temperature measuring device
CN208367901U (en) A kind of multimode data Transmission system for electric wind scene
CN206775525U (en) Ethernet gateway, ethernet gateway equipment and system
CN105721294A (en) Intelligent gateway compatible with multi-communication protocol programmable logic controller (PLC)
CN203251313U (en) Switching control device
CN201341145Y (en) Hand-held portable canopen network data analyzer
CN205725811U (en) An Intelligent Gateway Compatible with Multi-communication Protocol PLC
CN215219683U (en) Bus conversion device
Li et al. Design of stm32-based canopen motion control master in transfer robot

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221009

Address after: 323006 801 Bi Xing street, Bi Hu Town, Liandu District, Lishui, Zhejiang.

Patentee after: AnPac Bio-Medical Science (Lishui) Co.,Ltd.

Address before: 200025 room 316, 105 Sinan Road, Huangpu District, Shanghai

Patentee before: CHANG HE BIO-MEDICAL SCIENCE (YANGZHOU) CO.,LTD.