CN106921548A - A kind of automatic coagulation analyzer communication system based on CAN - Google Patents

A kind of automatic coagulation analyzer communication system based on CAN Download PDF

Info

Publication number
CN106921548A
CN106921548A CN201710165912.8A CN201710165912A CN106921548A CN 106921548 A CN106921548 A CN 106921548A CN 201710165912 A CN201710165912 A CN 201710165912A CN 106921548 A CN106921548 A CN 106921548A
Authority
CN
China
Prior art keywords
module
data
modules
usb
communication system
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
CN201710165912.8A
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 Information Science and Technology University
Original Assignee
Beijing Information Science and Technology University
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 Information Science and Technology University filed Critical Beijing Information Science and Technology University
Publication of CN106921548A publication Critical patent/CN106921548A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40019Details regarding a bus master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/4015Bus networks involving priority mechanisms by scheduling the transmission of messages at the communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automatic Analysis And Handling Materials Therefor (AREA)

Abstract

A kind of automatic coagulation analyzer communication system based on CAN, including:Pc client, USB CAN modules, blood sample conveyor module, test cup conveyor module, reagent position module, three-dimensional motion control module and detection module;By the pc client, the management to blood sample to be measured, test agent, three-dimensional motion control etc. is realized, wherein, modules can serve as an independent equipment, be communicated using CAN between module, be communicated using USB line between USB CAN modules and PC.

Description

A kind of automatic coagulation analyzer communication system based on CAN
Technical field
The present invention relates to Networks and Communications technical field, and in particular to the method and structure of CAN communication.
Background technology
Automatic coagulation analyzer includes blood sample conveyor module, and reagent position management module, test cup conveyor module detects mould Block, three-dimensional motion module, gas liquid circuit module etc..The Main Function of communication system is that each module is coupled together into composition communication network Network, with reference to mechanical structure, different command in combination is sent by PC ends, realizes the whole WorkFlow Managerment to blood coagulation analyzer With monitoring.As the automaticity of blood coagulation analyzer is improved constantly, in the course of the work, between modules, there is substantial amounts of Data need exchange to process, so the performance of communication system directly affects the operating efficiency of blood coagulation analyzer.
In traditional technology, communication system architecture is the mode of one master and multiple slaves, main website and slave station address code area point.Its The mechanism of processing data collision is host computer polls, slave computer response.Comparatively, real-time is not strong, and the utilization rate of bus is low, especially It is that, when whole network communication node is more, real time problems are more protruded.When mistake occurs in certain node, often cause Whole system communication paralysis.
The present invention proposes the automatic coagulation analyzer communication system based on CAN.CAN has abandoned station address volume Code, work in multiple host pattern, each node in network can broadcast data, by different message identifiers, using nothing The bit-by-bit arbitration mode of damage structure competes to determine bus access priority, so can make each node while receiving data. And CAN nodes are with output function is automatically switched off, so as to ensure that total system paralysis will not be caused because respective nodes go wrong Paralysis.Therefore the real-time and stability of automatic coagulation analyzer communication system can be improved.
The content of the invention
The present invention proposes a kind of automatic coagulation analyzer communication system based on CAN, including:Pc client, USB-CAN modules, blood sample conveyor module, test cup conveyor module, reagent position module, three-dimensional motion control module and detection mould Block;By the pc client, the management to blood sample to be measured, test agent, three-dimensional motion control etc. is realized, wherein, each mould Block can serve as an independent equipment, be communicated using CAN between module, and USB is used between USB-CAN modules and PC Line communicates.
Preferably, the three-dimensional motion control module is set at least one mechanical arm.
Preferably, the system also includes gas-liquid module.
Preferably, CAN communication interface be set to CAN send receive two pins be connected in CAN transceiver, you can Constitute in a CAN communication node access CAN, the transmitting-receiving pin of primary processor is connected using CAN controller, data are turned Turn to differential signal transmission to be gone to CAN, CAN controller and primary processor are powered using 3V.
A kind of control method of the automatic coagulation analyzer communication system based on CAN, including step:
Step 1:Start, processor is initialized;
Step 2:Can controllers are initialized;
Step 3:Judge whether send data, if so, then data is activation to subprogram, into step 4, if it is not, then sentencing It is disconnected whether to receive data;
Step 4:Judge whether to receive data, if so, then enter data receiver subprogram, into step 5;If it is not, entering Enter step 5;
Step 5:Analysis instruction;
Step 6:Perform corresponding actions;
Step 7:Terminate.
It should be appreciated that foregoing description substantially and follow-up description in detail are exemplary illustration and explanation, should not As the limitation to claimed content of the invention.
Brief description of the drawings
With reference to the accompanying drawing enclosed, the present invention more purpose, function and advantages are by by the as follows of embodiment of the present invention Description is illustrated, wherein:
Fig. 1 shows the general system set-up figure of automatic coagulation analyzer communication system of the invention;
Fig. 2 shows the workflow diagram of automatic coagulation analyzer communication system of the invention.
Specific embodiment
By reference to one exemplary embodiment, the purpose of the present invention and function and the side for realizing these purposes and function Method will be illustrated.However, the present invention is not limited to one exemplary embodiment as disclosed below;Can by multi-form come It is realized.The essence of specification is only to aid in various equivalent modifications Integrated Understanding detail of the invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical reference represents identical Or similar part, or same or like step.
The present invention proposes a kind of automatic coagulation analyzer communication system based on CAN.With STM32F407VGT6 It is primary processor, using the CAN peripheral hardwares and CAN transceiver of chip, has built the communication system based on CAN.It is discussed in detail The hardware design and communication process of CAN.
Technical scheme:
Automatic coagulation analyzer system includes pc client, USB-CAN modules, blood sample conveyor module, test cup conveying Module, reagent position module, three-dimensional motion control module and detection module etc..By pc client, realize to blood sample to be measured, survey Have a try agent, three-dimensional motion control etc. management.Modules can serve as an independent equipment, and CAN is used between module Bus communication.Communicated using USB line between USB-CAN modules and PC.General system set-up figure is as shown in Figure 1.
According to one embodiment of present invention, the three-dimensional motion control module is set at least one mechanical arm.
According to one embodiment of present invention, the system also includes gas-liquid module.
CAN communication interface, is the most important part of whole communication system.Connect using the CAN1 controllers of primary processor Mouthful, CAN sends two pins (CANTX and CANRX) of reception and is connected in CAN transceiver, you can constitute a CAN communication node In access CAN.The transmitting-receiving pin of primary processor is connected using CAN controller, data is converted into differential signal transmission and is arrived CAN gets on, and CAN controller and primary processor are powered using 3V.
After system starts, modules are resetted first, reading reagent position, the information of test cup.Then control examination Pipe carrier has loaded blood sample, is transported to specified location, by three-dimensional motion module control machinery arm, blood sample and reagent is drawn respectively, Test cup is put into, test cup is transported to test position and starts detection, and testing result finally is uploaded into pc client, whole flow process The response signal of host computer instruction and each module is transmitted by CAN.
Communication system software is main soft by pc client software, USB-CAN module softwares and each child node CAN communication Part is constituted.Client software, positioned at the superiors of whole communication system, there is provided human-computer interaction interface, is used directly facing user Family sends the commands to control whole machine to work by the interface, while client also monitors the state sum of modules operation According to.USB-CAN modules mainly complete the conversion of usb protocol and CAN protocol, are the bridges for being connected PC and functional module.Each height Node corresponds to different functional modules respectively, realizes the actual functional capability of modules.
First have to initialize CAN controller, configure the multiplexing function of related pin, enable internal CAN clocks, CAN mode of operations, baud rate, wave filter are set.CAN is respectively configured afterwards sends and receives interruption.General flow chart such as Fig. 2 institutes Show.
Step is:
Step 201:Start, processor is initialized;
Step 202:Can controllers are initialized;
Step 203:Judge whether to send data, if so, step 204 data is activation is performed to subprogram, if it is not, directly Then judge whether to receive data into step 205;
Step 205:Judge whether to receive data, if so, step 206 data receiver subprogram is performed, if it is not, into step Rapid 207;
Step 207:Analysis instruction;
Step 208:Perform corresponding actions;
Step 209:Terminate.
The execution unit of automatic coagulation analyzer includes direct current generator, stepper motor, limit switch, slot optical coupling, electricity Magnet valve, air pump etc., according to the characteristics of these parts, with reference to the structure of CAN communication, setting data segment length is 8 bytes, data Form is as shown in table 1.
The single packet communication data form of table 1
With reference to the explanation of the invention and practice that disclose here, other embodiment of the invention is for those skilled in the art All will be readily apparent and understand.Illustrate and embodiment is to be considered only as exemplary, true scope of the invention and purport are equal It is defined in the claims.

Claims (5)

1. a kind of automatic coagulation analyzer communication system based on CAN, including:Pc client, USB-CAN modules, blood Sample conveyor module, test cup conveyor module, reagent position module, three-dimensional motion control module and detection module;By the PC Client, realizes the management to blood sample to be measured, test agent, three-dimensional motion control etc., wherein, modules can serve as one Individual independent equipment, is communicated between module using CAN, is communicated using USB line between USB-CAN modules and PC.
2. system according to claim 1, it is characterised in that:The three-dimensional motion control module is set at least one machine Tool arm.
3. system according to claim 1, it is characterised in that:The system also includes gas-liquid module.
4. system according to claim 1, it is characterised in that:CAN communication interface is set to CAN and sends reception two Pin is connected in CAN transceiver, you can is constituted in a CAN communication node access CAN, is connected using CAN controller Data are converted into differential signal transmission and are gone to CAN by the transmitting-receiving pin of primary processor, CAN controller and primary processor Powered using 3V.
5. a kind of control method of the automatic coagulation analyzer communication system based on CAN, including step:
Step 1:Start, processor is initialized;
Step 2:Can controllers are initialized;
Step 3:Judge whether send data, if so, then data is activation to subprogram, into step 4, if it is not, then judge be No reception data;
Step 4:Judge whether to receive data, if so, then enter data receiver subprogram, into step 5;If it is not, into step Rapid 5;
Step 5:Analysis instruction;
Step 6:Perform corresponding actions;
Step 7:Terminate.
CN201710165912.8A 2016-11-02 2017-03-20 A kind of automatic coagulation analyzer communication system based on CAN Pending CN106921548A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610945286 2016-11-02
CN201610945286X 2016-11-02

Publications (1)

Publication Number Publication Date
CN106921548A true CN106921548A (en) 2017-07-04

Family

ID=59461887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710165912.8A Pending CN106921548A (en) 2016-11-02 2017-03-20 A kind of automatic coagulation analyzer communication system based on CAN

Country Status (1)

Country Link
CN (1) CN106921548A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802877A (en) * 2017-11-16 2019-05-24 长沙闽壹湖电子科技有限责任公司 A kind of CAN bus based Communication System Design

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4000972A (en) * 1976-01-16 1977-01-04 Hemotec, Inc. Measuring system for the pharmacological manipulation of the coagulation mechanism in blood and for the elapsed coagulation time
USRE41946E1 (en) * 1997-07-22 2010-11-23 International Technidyne Corporation Portable immediate response medical analyzer having multiple testing modules
CN201741017U (en) * 2010-04-28 2011-02-09 上海安彩智能技术有限公司 Control system of full-automatic inspection center
CN102072952A (en) * 2010-11-22 2011-05-25 长春迪瑞医疗科技股份有限公司 Mixed type control system of full-automatic biochemical analyzer
CN104901857A (en) * 2015-04-07 2015-09-09 安徽康海时代科技有限公司 Bus analyzer
CN205539016U (en) * 2016-04-08 2016-08-31 北京德鲁伊医疗器材有限公司 Multipurpose medical treatment detector and detecting system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4000972A (en) * 1976-01-16 1977-01-04 Hemotec, Inc. Measuring system for the pharmacological manipulation of the coagulation mechanism in blood and for the elapsed coagulation time
USRE41946E1 (en) * 1997-07-22 2010-11-23 International Technidyne Corporation Portable immediate response medical analyzer having multiple testing modules
CN201741017U (en) * 2010-04-28 2011-02-09 上海安彩智能技术有限公司 Control system of full-automatic inspection center
CN102072952A (en) * 2010-11-22 2011-05-25 长春迪瑞医疗科技股份有限公司 Mixed type control system of full-automatic biochemical analyzer
CN104901857A (en) * 2015-04-07 2015-09-09 安徽康海时代科技有限公司 Bus analyzer
CN205539016U (en) * 2016-04-08 2016-08-31 北京德鲁伊医疗器材有限公司 Multipurpose medical treatment detector and detecting system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
原毓: "全自动凝血因子分析仪控制部分的设计", 《万方全文数据库》 *
段振刚等: "血液凝固分析仪的多步进电动机控制***设计", 《测控技术》 *
王祁: "《智能仪器设计基础》", 31 March 2010 *
金兆楠: "基于 CAN 总线的智能节点的设计", 《山西电子技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802877A (en) * 2017-11-16 2019-05-24 长沙闽壹湖电子科技有限责任公司 A kind of CAN bus based Communication System Design

Similar Documents

Publication Publication Date Title
CN108111382B (en) Communication device based on I3C bus and communication method thereof
CN112055096B (en) Method and device for automatically setting communication address of equipment
CN112147927B (en) Multi-axis motion control system for two-channel bus communication
CN113347273B (en) Vehicle-mounted Ethernet data conversion method, device, equipment and medium
CN105117319A (en) Method for realizing real-time monitoring of multi-channel MDIO (Management Data Input Output) devices based on FPGA
CN111948971A (en) Intelligent card management device and data switching method thereof
CN110247936B (en) Communication protocol conversion card and communication protocol conversion system
CN202975800U (en) CAN (controller area network) bus diagnosis system based on WIFI (wireless fidelity) and mobile intelligent terminal
CN109842534B (en) Equipment test verification method based on switched FC simulation card
CN113419983A (en) Serial server and implementation method thereof
CN106921548A (en) A kind of automatic coagulation analyzer communication system based on CAN
CN116521609A (en) Multi-host and multi-slave system, ZYNQ arbiter and data processing method thereof
CN103376369B (en) The method of testing of communication load and device
CN116074397A (en) Data sharing system
CN108089952B (en) Automatic change test equipment
CN216013989U (en) Expansion module number identification circuit
CN105490874B (en) Blade switch system, the rack network equipment and blade switch test method
CN111290367B (en) Gateway control method and device for unmanned tractor
Xu et al. Profibus automation technology and its application in DP slave development
CN103414620A (en) Double-channel CAN simulation system based on CAN buses
CN112968948A (en) Gateway controller design method, gateway controller and automobile
CN207835500U (en) A kind of detecting system monitoring communication module based on cloud
CN213024391U (en) Vehicle-mounted terminal serial port expansion equipment
CN117834750B (en) Device, method, system, equipment, medium and server for acquiring protocol data
Depari et al. IEEE1451 smart sensors supporting USB connectivity

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170704

RJ01 Rejection of invention patent application after publication