CN104270306A - Gateway controller with multi-channel CAN bus communication function - Google Patents

Gateway controller with multi-channel CAN bus communication function Download PDF

Info

Publication number
CN104270306A
CN104270306A CN201410530254.4A CN201410530254A CN104270306A CN 104270306 A CN104270306 A CN 104270306A CN 201410530254 A CN201410530254 A CN 201410530254A CN 104270306 A CN104270306 A CN 104270306A
Authority
CN
China
Prior art keywords
dual
bus
redundant
gateway controller
cpu
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
CN201410530254.4A
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.)
Beijing Machinery Equipment Research Institute
Original Assignee
Beijing Machinery Equipment 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 Beijing Machinery Equipment Research Institute filed Critical Beijing Machinery Equipment Research Institute
Priority to CN201410530254.4A priority Critical patent/CN104270306A/en
Publication of CN104270306A publication Critical patent/CN104270306A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a gateway controller with a multi-channel CAN bus communication function. The gateway controller comprises a CPU (1), a power circuit (5), a dual-redundancy CAN bus circuit (4), a core processing module (6), a dual-redundancy bus communication module (7), an electronic relay switch (2) and an optoelectronic isolator (3). According to the gateway controller, data exchange with multi-CAN subnet control equipment is realized through the dual-redundancy CAN bus circuit (4); switching value signals in various forms are collected through the optoelectronic isolator (3), and the core processing module (6) conducts data collection, logical operation and diagnostic analysis to obtain control requirements; control over controlled equipment is realized through the electronic relay switch (2). The controller is key equipment for multi-CAN-bus subnet system networking for outdoor equipment such as automobiles, special vehicles and engineering machines, each group of CAN network uses two CAN buses to realize dual-redundancy communication, and the problems that a general gateway controller is poor in reliability and single in function are solved.

Description

A kind of gateway controller with multi-channel-CAN bus communication
Technical field
The present invention relates to a kind of gateway controller, particularly a kind of gateway controller with multi-channel-CAN bus communication.
Background technology
at present, CAN not only in automobile, engineering machinery field, and is also widely used at industrial control field, as industrial field control, community security protection etc.Because on most of engineering machinery vehicle, CAN communication apparatus quantity is many, the CAN gateway controller for multichannel CAN subnet becomes one of key equipment of CAN networking.Automobile CAN-bus gateway controller based on LPC2294 mainly comprises CPU, memory, CAN circuit, power supply, initialization module and CAN communication module.This gateway controller is mainly used in the data interaction between 2 CAN, and this gateway controller defect is that 2 groups of CAN network only employ a CAN respectively, there is certain unreliable factor, and function singleness, does not have other input/output function simultaneously.
Summary of the invention
The object of the invention is to provide a kind of gateway controller with the communication of multichannel dual-redundant CAN bus, solves general gateway controller poor reliability and the problem of function singleness.
There is a gateway controller for multi-channel-CAN bus communication, comprising: CPU, power circuit and dual-redundant CAN bus circuit, also comprise: electronic relay switches, photoisolator, core processing module and dual redundant bus communication module.
Dual-redundant CAN bus circuit, electronic relay switches, photoisolator are all connected with CPU with power circuit.Core processing module, dual redundant bus communication module are all placed in CPU.The function of core processing module is: realize each interface initialization of gateway controller, various Portable Batch System, on-off value data acquisition process and output switch parameter and control; The function of dual redundant bus communication module is: realize CAN initialization, the setting of double-redundancy CAN treatment mechanism, dual-redundant CAN bus data receiver and dual-redundant CAN bus data and send.
Gateway controller is by the communication of dual-redundant CAN bus circuit realiration multichannel dual-redundant CAN bus, exchanges data is carried out with many CAN subnet control appliance, when having a CAN to break down in certain group CAN communication, another CAN can be automatically switched to and carry out exchanges data; Also gather various forms of on-off model by photoisolator, core processing module is carried out data acquisition, logical operation and diagnostic analysis and is drawn control overflow; Realize the control to controlled device by electronic relay switches, control to reach the object that controlled device carries out predetermined action; Current state sends to host computer to show by CAN by dual redundant bus communication module simultaneously.The control strategy of controlled device, relay protective scheme, data analysis and fault diagnosis functions all realize in core processing module.
In the course of work of gateway controller, CPU is the core of gateway controller, power circuit provides the direct voltage needed for normal work for gateway controller, photoisolator, electronic relay switches and dual-redundant CAN bus circuit, as the peripheral circuit of gateway controller, realize controlling by described CPU.CPU adopts high performance 16 single-chip microcomputers, and dominant frequency can reach 80M, the FLASH of the built-in 836KB of CPU; There are 6 independently CAN communication interfaces, support 6 serial communication interfaces; There are 24 path 10 position analog quantitys to digital quantity ALT-CH alternate channel; There is the comparison capturing unit of 16 passages, realize the output of pwm signal.
Power circuit adopts Vehicular battery to power, and specified 24V, can normally work at 18 VDC ~ 30VDC, the highlyest withstand voltagely reaches 36V.According to system needs, after external dc power enters gateway controller, the 5V power-switching circuit in power circuit produces 5V power supply, as reference power source and the system power supply of controller.
CPU is by controlling electronic relay switches from band signal output pin, and realize output switch parameter, electronic relay switches maximum output current reaches 3A.CPU is dynamically read outside on-off model by photoisolator, thus realizes On-off signal, photoisolator input channel quantity Ke Da 42 tunnel.
Realize isolating by the isolated amplifier in dual-redundant CAN bus circuit between the CAN driver in CPU and dual-redundant CAN bus circuit, CAN driver adopts universal CAN driving chip, speed reaches 1MBaud, uses two redundancy communication functions of Gateway functional realiey 2 CAN of CPU simultaneously.
The present invention is a kind of key equipment of the many CAN subnet system networking for outdoor gears such as automobile, special vehicle, engineering machinery.This gateway controller has multichannel dual-redundant CAN bus ability to communicate, can reduce general gateway controller poor reliability and the shortcoming of function singleness by using this gateway controller.
Accompanying drawing explanation
A kind of composition frame chart with the gateway controller of multi-channel-CAN bus communication of Fig. 1;
Fig. 2 is a kind of has CAN circuit theory composition frame chart in the gateway controller of multi-channel-CAN bus communication;
Fig. 3 is a kind of has power supply composition schematic diagram in the gateway controller of multi-channel-CAN bus communication.
1.CPU 2. electronic relay switches 3. photoisolator 4. dual-redundant CAN bus circuit 5. power circuit 6. core processing module 7. dual redundant bus communication module.
Embodiment
There is a gateway controller for multi-channel-CAN bus communication, comprising: CPU1, power circuit 5 and dual-redundant CAN bus circuit 4, also comprise: electronic relay switches 2, photoisolator 3, core processing module 6 and dual redundant bus communication module 7.Described dual-redundant CAN bus circuit 4, comprising: isolated amplifier and CAN driver; Described power circuit 5, comprising: switch and DC/DC conversion chip.
Dual-redundant CAN bus circuit 4, electronic relay switches 2, photoisolator 3 are connected with CPU1 with power circuit 5.
Core processing module 6, dual redundant bus communication module 7 are all placed in CPU.The function of core processing module 6 is: realize each interface initialization of controller, various Portable Batch System, on-off value data acquisition process and output switch parameter and control; The function of dual redundant bus communication module 7 is: the setting of double-redundancy CAN treatment mechanism, dual-redundant CAN bus data receiver and dual-redundant CAN bus data send.
As the key equipment of CAN networking, gateway controller realizes the communication of multichannel CAN by dual-redundant CAN bus circuit 4, exchanges data is carried out with many CAN subnet control appliance, when having a CAN to break down in certain group CAN communication, another CAN can be automatically switched to and carry out exchanges data; Also gather various forms of on-off model by photoisolator 3, core processing module 6 is carried out data acquisition, logical operation and diagnostic analysis and is drawn control overflow; Realize the control to controlled device by electronic relay switches 2, control to reach the object that controlled device carries out predetermined action; Meanwhile, current state sends to host computer to show by CAN by dual redundant bus communication module 7.The control strategy of controlled device, relay protective scheme, data analysis and fault diagnosis functions all realize in core processing module 6.
In the course of work of gateway controller, CPU1 is the core of gateway controller, power circuit 5 provides the direct voltage needed for normal work for gateway controller, electronic relay switches 2, photoisolator 3 and dual-redundant CAN bus circuit 4, as the peripheral circuit of gateway controller, realize controlling by CPU1.
CPU1 adopts high performance 16 single-chip microcomputers, and dominant frequency can reach 80M, the FLASH of the built-in 836KB of CPU; There are 6 independently CAN communication interfaces, support 6 serial communication interfaces; There are 24 path 10 position analog quantitys to digital quantity ALT-CH alternate channel; There is the comparison capturing unit of 16 passages, realize the output of pwm signal.
Power circuit 5 adopts Vehicular battery to power, specified 24V, at 18 V dC~ 30V dCnormally can work, the highlyest withstand voltagely reach 36V.According to system needs, after external dc power enters gateway controller, then produce 5V power supply, as reference power source and the system power supply of controller by the 5V power-switching circuit in power circuit 5.
CPU1 is by controlling electronic relay switches 2 from band signal output pin, and realize output switch parameter, switching value output circuit maximum output current reaches 3A.
CPU1 is dynamically read outside on-off model by photoisolator, thus realizes On-off signal, On-off signal number of channels Ke Da 42 tunnel.
Realize isolating by the isolated amplifier in dual-redundant CAN bus circuit 4 between the CAN driver in CPU1 and dual-redundant CAN bus circuit 4, CAN driver adopts universal CAN driving chip, speed reaches 1MBaud, uses two redundancy communication functions of Gateway functional realiey 2 CAN of CPU simultaneously.

Claims (1)

1. one kind has the gateway controller of multi-channel-CAN bus communication, comprise: CPU(1), power circuit (5) and dual-redundant CAN bus circuit (4), characterized by further comprising: electronic relay switches (2), photoisolator (3), core processing module (6) and dual redundant bus communication module (7);
Dual-redundant CAN bus circuit (4), electronic relay switches (2), photoisolator (3) and power circuit (5) all with CPU(1) be connected; Core processing module (6), dual redundant bus communication module (7) are all placed in CPU(1); The function of core processing module (6) is: realize each interface initialization of gateway controller, various Portable Batch System, on-off value data acquisition process and output switch parameter and control; The function of dual redundant bus communication module (7) is: realize CAN initialization, the setting of double-redundancy CAN treatment mechanism, dual-redundant CAN bus data receiver and dual-redundant CAN bus data and send;
Gateway controller realizes the communication of multichannel dual-redundant CAN bus by dual-redundant CAN bus circuit (4), exchanges data is carried out with many CAN subnet control appliance, when having a CAN to break down in certain group CAN communication, another CAN can be automatically switched to and carry out exchanges data; Also gather various forms of on-off model by photoisolator (3), core processing module (6) is carried out data acquisition, logical operation and diagnostic analysis and is drawn control overflow; Realize the control to controlled device by electronic relay switches (2), control to reach the object that controlled device carries out predetermined action; Current state sends to host computer to show by CAN by dual redundant bus communication module (7) simultaneously; The control strategy of controlled device, relay protective scheme, data analysis and fault diagnosis functions all realize in core processing module (6);
In the course of work of gateway controller, CPU(1) be the core of gateway controller, power circuit (5) provides the direct voltage needed for normal work for gateway controller, photoisolator (3), electronic relay switches (2) and dual-redundant CAN bus circuit (4) as the peripheral circuit of gateway controller, by described CPU(1) realize control; CPU(1) adopt high performance 16 single-chip microcomputers, dominant frequency reaches 80M, CPU(1) FLASH of built-in 836KB; There are 6 independently CAN communication interfaces, support 6 serial communication interfaces; There are 24 path 10 position analog quantitys to digital quantity ALT-CH alternate channel; There is the comparison capturing unit of 16 passages, realize the output of pwm signal;
Power circuit (5) adopts Vehicular battery to power, and specified 24V, normally works at 18 VDC ~ 30VDC, the highest withstand voltage 36V that reaches; According to system needs, after external dc power enters gateway controller, the 5V power-switching circuit in power circuit (5) produces 5V power supply, as reference power source and the system power supply of controller;
CPU(1) by controlling electronic relay switches (2) from band signal output pin, realize output switch parameter, electronic relay switches (2) maximum output current reaches 3A; CPU(1) dynamically read outside on-off model by photoisolator (3), thus realize On-off signal, photoisolator (3) input channel quantity reaches 42 tunnels;
Realize isolating by the isolated amplifier in dual-redundant CAN bus circuit (4) between the CAN driver CPU(1) and in dual-redundant CAN bus circuit (4), CAN driver adopts universal CAN driving chip, speed reaches 1MBaud, uses CPU(1 simultaneously) two redundancy communication functions of Gateway functional realiey 2 CAN.
CN201410530254.4A 2014-10-10 2014-10-10 Gateway controller with multi-channel CAN bus communication function Pending CN104270306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410530254.4A CN104270306A (en) 2014-10-10 2014-10-10 Gateway controller with multi-channel CAN bus communication function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410530254.4A CN104270306A (en) 2014-10-10 2014-10-10 Gateway controller with multi-channel CAN bus communication function

Publications (1)

Publication Number Publication Date
CN104270306A true CN104270306A (en) 2015-01-07

Family

ID=52161799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410530254.4A Pending CN104270306A (en) 2014-10-10 2014-10-10 Gateway controller with multi-channel CAN bus communication function

Country Status (1)

Country Link
CN (1) CN104270306A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106067904A (en) * 2016-08-22 2016-11-02 中国重汽集团济南动力有限公司 A kind of vehicle CAN communication channel switching circuit
CN108063711A (en) * 2017-12-22 2018-05-22 扬州市职业大学 A kind of things-internet gateway controller
CN109634193A (en) * 2019-02-14 2019-04-16 南宁学院 A kind of isolated CAN data collection system with WIFI communication
CN109709872A (en) * 2019-01-17 2019-05-03 洛阳市黄河软轴控制器股份有限公司 Engineering truck control system and engineering truck control method
CN111562775A (en) * 2019-02-14 2020-08-21 南宁学院 Virtual reality experiment system for PLC experiment
CN112083712A (en) * 2016-02-29 2020-12-15 深圳市大疆创新科技有限公司 Throttle control signal processing method, electronic speed regulator, controller and mobile platform
CN113176744A (en) * 2021-03-30 2021-07-27 上海机电工程研究所 Missile launching vehicle can bus interface adaptation module and method
CN113950168A (en) * 2021-10-14 2022-01-18 成都锦城学院 High-reliability redundant backup 4G/5G safe edge computing gateway
CN115022221A (en) * 2022-05-31 2022-09-06 东风电驱动系统有限公司 Automatic test system and method for multi-channel CAN gateway

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0964549A2 (en) * 1998-06-12 1999-12-15 STMicroelectronics GmbH Monitoring circuit for a data transmission network
WO2001096976A2 (en) * 2000-06-12 2001-12-20 Diskbank Inc. Method of controlling data access and system thereof
CN1798114A (en) * 2004-12-29 2006-07-05 中国船舶重工集团公司第七一一研究所 CAN bus - bridge of Ethernet network
CN101227365A (en) * 2008-02-03 2008-07-23 上海中上汽车科技有限公司 Electric car circuit system based on CAN bus and control method thereof
CN101634853A (en) * 2009-08-19 2010-01-27 上海本安仪表系统有限公司 Bus-type automobile body control system and method
CN101712303A (en) * 2009-12-15 2010-05-26 浙江吉利汽车研究院有限公司 Multi-channel redundant bus system of hybrid electric vehicle
CN101908974A (en) * 2010-07-16 2010-12-08 北京航天发射技术研究所 Heat switching system and heat switching method of dual-redundant CAN bus
US8433858B1 (en) * 2007-07-26 2013-04-30 Siliconsystems, Inc. Multi-interface and multi-bus structured solid-state storage subsystem

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0964549A2 (en) * 1998-06-12 1999-12-15 STMicroelectronics GmbH Monitoring circuit for a data transmission network
WO2001096976A2 (en) * 2000-06-12 2001-12-20 Diskbank Inc. Method of controlling data access and system thereof
CN1798114A (en) * 2004-12-29 2006-07-05 中国船舶重工集团公司第七一一研究所 CAN bus - bridge of Ethernet network
US8433858B1 (en) * 2007-07-26 2013-04-30 Siliconsystems, Inc. Multi-interface and multi-bus structured solid-state storage subsystem
CN101227365A (en) * 2008-02-03 2008-07-23 上海中上汽车科技有限公司 Electric car circuit system based on CAN bus and control method thereof
CN101634853A (en) * 2009-08-19 2010-01-27 上海本安仪表系统有限公司 Bus-type automobile body control system and method
CN101712303A (en) * 2009-12-15 2010-05-26 浙江吉利汽车研究院有限公司 Multi-channel redundant bus system of hybrid electric vehicle
CN101908974A (en) * 2010-07-16 2010-12-08 北京航天发射技术研究所 Heat switching system and heat switching method of dual-redundant CAN bus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083712A (en) * 2016-02-29 2020-12-15 深圳市大疆创新科技有限公司 Throttle control signal processing method, electronic speed regulator, controller and mobile platform
CN106067904A (en) * 2016-08-22 2016-11-02 中国重汽集团济南动力有限公司 A kind of vehicle CAN communication channel switching circuit
CN108063711A (en) * 2017-12-22 2018-05-22 扬州市职业大学 A kind of things-internet gateway controller
CN109709872A (en) * 2019-01-17 2019-05-03 洛阳市黄河软轴控制器股份有限公司 Engineering truck control system and engineering truck control method
CN109634193A (en) * 2019-02-14 2019-04-16 南宁学院 A kind of isolated CAN data collection system with WIFI communication
CN111562775A (en) * 2019-02-14 2020-08-21 南宁学院 Virtual reality experiment system for PLC experiment
CN113176744A (en) * 2021-03-30 2021-07-27 上海机电工程研究所 Missile launching vehicle can bus interface adaptation module and method
CN113950168A (en) * 2021-10-14 2022-01-18 成都锦城学院 High-reliability redundant backup 4G/5G safe edge computing gateway
CN115022221A (en) * 2022-05-31 2022-09-06 东风电驱动系统有限公司 Automatic test system and method for multi-channel CAN gateway
CN115022221B (en) * 2022-05-31 2024-01-09 东风电驱动系统有限公司 Automatic test system and method for multi-path CAN gateway

Similar Documents

Publication Publication Date Title
CN104270306A (en) Gateway controller with multi-channel CAN bus communication function
CN103199773B (en) Servo drive system based on bussing technique
CN103838230B (en) The failure switching method of the digital rudder controller control system of a kind of extendible redundance and the number of axle
WO2020093764A1 (en) Passenger information system and passenger information system control method
CN202728090U (en) Electric outer rearview mirror controller
CN106026350A (en) Power supply switching control panel for DC 600-V train power supply apparatus
CN104410334A (en) Three-channel servo control driver
CN210895086U (en) Motor control device for numerical control system and numerical control equipment
CN206023642U (en) Servo-driver control circuit
CN202583779U (en) Embedded automatic switching control device
CN201619567U (en) Microcomputer control device for hydraulic transmission diesel locomotive
CN203097556U (en) Door controller beside platform
CN103197627A (en) Time-sharing control method of metro shielded door ventilating device
CN104085424A (en) Vehicle-mounted signal system safety control platform
CN202939428U (en) Automobile electrical appliance wireless control system
CN204206036U (en) A kind of triple channel SERVO CONTROL driver
CN103068080A (en) Zigbee wireless gateway
CN106249661B (en) A kind of industrial data acquisition system and method
CN111740890A (en) Multifunctional integrated oil source monitoring control network and control method
CN202274170U (en) Control system of reliable type electric performer
CN217181427U (en) Embedded coal mining machine control system
CN104570958B (en) CNC Collaborative Controls device and digital control system
CN210578656U (en) Data acquisition and transmission device for dual Ethernet port and public mobile communication network
CN203376577U (en) Automatic signal control conversion device
CN203558021U (en) Vehicle controller area network (CAN) bus switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150107

WD01 Invention patent application deemed withdrawn after publication