CN101630158B - Industrial control system and serial communication method thereof - Google Patents

Industrial control system and serial communication method thereof Download PDF

Info

Publication number
CN101630158B
CN101630158B CN2009101073367A CN200910107336A CN101630158B CN 101630158 B CN101630158 B CN 101630158B CN 2009101073367 A CN2009101073367 A CN 2009101073367A CN 200910107336 A CN200910107336 A CN 200910107336A CN 101630158 B CN101630158 B CN 101630158B
Authority
CN
China
Prior art keywords
controller
human
interaction device
computer interaction
module
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
CN2009101073367A
Other languages
Chinese (zh)
Other versions
CN101630158A (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.)
Solid High Tech Co.,Ltd.
Original Assignee
GOOGOL TECHNOLOGY (SHENZHEN) 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 GOOGOL TECHNOLOGY (SHENZHEN) Ltd filed Critical GOOGOL TECHNOLOGY (SHENZHEN) Ltd
Priority to CN2009101073367A priority Critical patent/CN101630158B/en
Publication of CN101630158A publication Critical patent/CN101630158A/en
Application granted granted Critical
Publication of CN101630158B publication Critical patent/CN101630158B/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]

Abstract

The invention discloses an industrial control system and a serial communication method thereof. The system comprises a controller used for completing industrial control and a man-machine interaction device used for providing man-machine interaction, wherein the controller comprises an interface module special for the controller, and the man-machine interaction device comprises an interface module special for the man-machine interaction; and the interface module special for the controller and the interface module special for the man-machine interaction are respectively provided with a signal interface required by the communication of the controller and the man-machine interaction device. The invention can reduce routings and improve the capacity of resisting disturbance while maintaining original functions and can guarantee the speed and the accuracy of serial data transmission, thereby improving the working efficiency of the man-machine interaction of the industrial control system.

Description

A kind of industrial control system and serial communication method thereof
Technical field
The present invention relates to industrial control field, relate in particular to a kind of improvement and communication means thereof of industrial control system user-machine interface.
Background technology
At present one of man-machine interface connected mode of industrial control system as shown in Figure 1, it is the display screen 121 of human-computer interaction device 120, keyboard 122, I/O 123 is connected with controller 110 respectively.Its wiring is many, wiring cost height and poor reliability.
The man-machine interface connected mode of industrial control system two as shown in Figure 2, it adopts the connection of network type, be that the display screen 221 of human-computer interaction device 220 and the signal of communication of keyboard 222 are connected with controller 210 by an embedded computer 224, the I/O 223 with human-computer interaction device 220 is connected with controller 210 again.Its connected mode cost height needs the communication programming, uses very complicated.
Therefore, prior art haves much room for improvement and improves.
Summary of the invention
The objective of the invention is to above-mentioned shortcoming, provide a kind of and can reduce cabling, improve antijamming capability at prior art, and industrial control system that can reduce cost and serial communication method thereof.
Technical scheme of the present invention is as follows:
A kind of industrial control system, comprise the human-computer interaction device that is used to finish the controller of Industry Control and is used to provide man-machine interaction, wherein, described controller comprises a controller sophisticated interface module, and described human-computer interaction device comprises a man-machine interaction sophisticated interface module;
Correspondence is provided with the described controller needed signaling interface of communicating by letter with described human-computer interaction device in described controller sophisticated interface module and the described man-machine interaction sophisticated interface module;
Signaling interface in the described controller sophisticated interface module connects signaling interface in the described man-machine interaction sophisticated interface module by serial data bus.
System of the present invention, wherein, described human-computer interaction device also comprises display module, Keysheet module, input/output module, USB module and the serial port module that connects described man-machine interaction sophisticated interface module, wherein,
Described Keysheet module is used to obtain text editing information, and described text editing information is sent to described controller sophisticated interface module by described serial data bus;
Described input/output module is used to obtain the steering order of controlling described controller action, and described steering order is sent to described controller sophisticated interface module by described serial data bus;
Described display module is used to receive the low-voltage differential signal of described controller, and shows;
Described USB module is used to provide the standard computer Peripheral Interface that carries out the external unit of communication with described controller;
Described serial port module is used to provide the serial port interface that carries out the external unit of communication with described controller.
System of the present invention, wherein, described input/output module comprises Transmit-Receive Unit, photoelectricity coupling unit and logical block, wherein,
Described logical block is used for walking abreast and obtains described steering order, and described steering order is sent to described Transmit-Receive Unit by the serial of described photoelectricity coupling unit;
Described Transmit-Receive Unit is used to receive the steering order that described photoelectricity coupling unit sends, and described steering order is sent to described controller sophisticated interface module by described serial data bus.
System of the present invention, wherein, described signaling interface comprises the low-voltage differential signal interface, keyboard array signaling interface, QWERTY keyboard interface, data-signal group interface.
A kind of serial communication method of industrial control system may further comprise the steps:
A, controller send current data frame to the human-computer interaction device serial, wait for the answer signal of human-computer interaction device feedback;
After B, human-computer interaction device receive described current data frame, detect described current data frame, and send answer signal to described controller according to testing result;
C, described controller receive described answer signal, and select to send described current data frame once more or send next Frame to described human-computer interaction device according to described answer signal, and wait for the answer signal of described human-computer interaction device.
Method of the present invention, wherein, described step B specifically may further comprise the steps:
B1, described human-computer interaction device check whether the address of described current data frame mates, when the matching addresses of described current data frame, whether the check bit that reexamines described current data frame is correct, when described check bit is correct, whether the order that reexamines described current data frame is correct, when described order is correct, send the correct answer signal of affirmation current data frame to described controller.
Method of the present invention, wherein, described step C may further comprise the steps:
C1, when described answer signal when confirming the correct answer signal of current data frame, described controller sends next Frame to described human-computer interaction device serial, and waits for the answer signal of described human-computer interaction device.
Method of the present invention, wherein, among the described step B1, when described check bit mistake, described human-computer interaction device sends the answer signal of check bit mistake to described controller.
Method of the present invention, wherein, among the described step C1, when described answer signal is the answer signal of check bit mistake, and when sending described wrong responses signal smaller or equal to 3 times, described controller sends described current data frame once more to described human-computer interaction device.
Method of the present invention wherein, receives the input/output module in the described human-computer interaction device of being specially of described current data frame among the described step B.
The present invention is by being provided with sophisticated interface module in industrial control system, and between controller and human-computer interaction device, adopt serial communication, when keeping original function, reduced cabling, improved antijamming capability, and, make that the speed of serial data transmission and accuracy are all secure by designing the host-host protocol of serial communication, improved the man-machine interaction work efficiency of industrial control system.
Description of drawings
Fig. 1 is the structural representation of the industrial control system of prior art scheme one;
Fig. 2 is the structural representation of the industrial control system of prior art scheme two;
Fig. 3 is the structural representation of the industrial control system of the embodiment of the invention;
Fig. 4 is the serial communication method process flow diagram of the industrial control system of the embodiment of the invention
Fig. 5 is the serial communication state transition diagram of human-computer interaction device of the industrial control system of the embodiment of the invention;
Fig. 6 is the serial communication state transition diagram of controller of the industrial control system of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present invention is described in detail.
In the embodiment of the invention, the structural representation of industrial control system as shown in Figure 3, it comprises controller 310 and human-computer interaction device 320, its middle controller 310 is used to finish Industry Control, the control that human-computer interaction device 320 is mainly controller 310 provides a personal-machine interactive interface, and the user controls by using 320 pairs of controllers 310 of this human-computer interaction device.In the present embodiment, be provided with the controller sophisticated interface module 311 of link control module 312 in controller 310 inside, be provided with man-machine interaction sophisticated interface module 324 in human-computer interaction device 320 inside.The signaling interface that needs in the controller 310 to communicate with human-computer interaction device 320 all is connected on the controller sophisticated interface module 311.The signaling interface that needs in the human-computer interaction device 320 to communicate with controller 310 all is connected on this man-machine interaction sophisticated interface module 324.Wherein, signaling interface comprises low-voltage differential signal (LVDS) interface that is used to transmit LCD screen shows signal, be used to transmit the keyboard array signaling interface of keyboard data signal, the data-signal group interface of control signal data on the control panel that is used to transmit the QWERTY keyboard interface of keyboard clock and data and be used for transmission control unit (TCU).Between man-machine interaction sophisticated interface module 324 and controller sophisticated interface module 311, be connected with a serial data bus that is used to communicate by letter, finish the communication between the signaling interface of industrial control system.Owing to adopted special-purpose serial data bus to realize the communication of human-computer interaction interface,, also can realize better controlled communication even make the controller part of carrying out concrete action place away from human-computer interaction device.
In a further embodiment, human-computer interaction device 320 further comprises display module 321, Keysheet module 322 and input/output module 323.The low-voltage differential signal of display module 321 (LVDS) interface connects man-machine interaction sophisticated interface module 324, and carries out data communication by serial data bus and controller 320.Display module 321 is mainly according to the data message of low-voltage differential signal (LVDS), and the state of a control of controller 310 is presented on the operation interface.Keysheet module 322 connects a keyboard and is used for edit files such as input text, and its output terminal connects man-machine interaction sophisticated interface module 324.Its Keysheet module 322 is from the parallel input information such as text editing that obtains of the button of keyboard, and Keysheet module 322 is changed the back with this information and sent to controller 310 by man-machine interaction sophisticated interface module 324 and serial data bus.Input/output module 323 is mainly finished the required steering order of controller 310 actions and is obtained, its data-signal group interface (HSSB) connects man-machine interaction sophisticated interface module 324, and steering order is sent to controller 310 by serial data bus, move to control described controller 310.In the present embodiment, human-computer interaction device also comprises USB module and serial port module, and wherein the USB module is used to provide the standard computer Peripheral Interface, connects as peripheral hardwares such as mouse, memory device, USB routers, by this USB module, controller can carry out communication with this type of peripheral hardware.The serial port module is used for providing the serial port interface on man-machine interface, miscellaneous equipment can import data into controller by serial port.
In a further embodiment, input/output module 323 further comprises Transmit-Receive Unit, photoelectricity coupling unit and logical block, as shown in Figure 3.Wherein, logical block is used for obtaining the required steering order of controller action from outside GPIO interface concurrent, and described steering order is sent to Transmit-Receive Unit by the photoelectricity coupling unit.In the present embodiment, the GPIO interface can connect the operation push-button on the external control panel.Transmit-Receive Unit is used to receive the steering order that the photoelectricity coupling unit sends, and steering order is sent to the controller sophisticated interface module by serial data bus.The downlink data frame structure that transmits between input/output module and the controller comprises start bit, order, address, valid data (Valid Data), verification (Check Sum) and position of rest (Stop Bit).Its upstream data frame structure comprises start bit, response, valid data, check and position of rest.When input/output module received the Frame of self-controller, logical block wherein can detect the Frame of receiving, and to the Frame of controller feeding back uplink, wrongly detected automatically realizing, data re-transmitting improves useful load and communication speed.
The embodiment of the invention also provides a kind of serial communication method of industrial control system, and its process flow diagram specifically describes as follows as shown in Figure 4:
Step S101, controller send current data frame to the human-computer interaction device serial, wait for the answer signal of human-computer interaction device feedback;
After step S102, human-computer interaction device receive current data frame, detect current data frame, and send answer signal to controller according to testing result;
As described previously, the downlink data frame structure that transmits between input/output module and the controller comprises start bit, order, address, valid data (Valid Data), verification (Check Sum) and position of rest (Stop Bit).Whether human-computer interaction device need correct to the Frame that receives, and its state transition diagram as shown in Figure 5.It specifically comprises:
The input/output module of human-computer interaction device receives Frame under idle condition, check at first whether the address of current data frame mates, and when the matching addresses of current data frame, whether the check bit that reexamines current data frame is correct; When the address does not match, turn back to idle condition, wait for that controller sends data once more.When check bit was correct, whether the order that reexamines current data frame was correct; When the check bit mistake, the input/output module of human-computer interaction device sends the answer signal of check bit mistake to controller.When order is correct, sends the correct answer signal of affirmation current data frame to controller, and return idle condition.
Step S103, described controller receive answer signal, and select to send current data frame once more or send next Frame to human-computer interaction device according to answer signal, and wait for the answer signal of human-computer interaction device, as shown in Figure 6; Specifically describe as follows:
The answer signal that receives when controller is when confirming the correct answer signal of current data frame, and the controller inspection is replied, if reply correctly, then sends next Frame to the human-computer interaction device serial, and waits for the answer signal of human-computer interaction device; If the mistake of replying is then checked to send and replied wrong number of times, if smaller or equal to 3 times, then resend Frame, otherwise the expression answer failed returns idle condition.Do not receive in the predetermined time limit when controller and then to represent answer failed when replying, return idle condition.When the answer signal of receiving when controller is the answer signal of check bit mistake, check the number of times of this wrong responses, when smaller or equal to 3 times, controller sends current data frame once more to human-computer interaction device, otherwise the expression answer failed returns idle condition.Realize that with this wrong of serial communication detects and data re-transmitting automatically, guarantees useful load and communication speed.
In sum, the present invention is by being provided with sophisticated interface module in industrial control system, and between controller and human-computer interaction device, adopt serial communication, when keeping original function, reduce cabling, improved antijamming capability, and by designing the host-host protocol of serial communication, make that the speed and the accuracy of serial data transmission are all secure, improved the man-machine interaction work efficiency of industrial control system.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (7)

1. industrial control system, comprise the human-computer interaction device that is used to finish the controller of Industry Control and is used to provide man-machine interaction, it is characterized in that described controller comprises a controller sophisticated interface module, described human-computer interaction device comprises a man-machine interaction sophisticated interface module;
In described controller sophisticated interface module and the described man-machine interaction sophisticated interface module, correspondence is provided with the described controller needed signaling interface of communicating by letter with described human-computer interaction device; Signaling interface in the described controller sophisticated interface module connects signaling interface in the described man-machine interaction sophisticated interface module by serial data bus; Described human-computer interaction device also comprises display module, Keysheet module, input/output module, USB module and the serial port module that connects described man-machine interaction sophisticated interface module, wherein,
Described Keysheet module is used to obtain text editing information, and described text editing information is sent to described controller sophisticated interface module by described serial data bus;
Described input/output module is used to obtain the steering order of controlling described controller action, and described steering order is sent to described controller sophisticated interface module by described serial data bus;
Described display module is used to receive the low-voltage differential signal of described controller, and shows;
Described USB module is used to provide the standard computer Peripheral Interface that carries out the external unit of communication with described controller;
Described serial port module is used to provide the serial port interface that carries out the external unit of communication with described controller; Described input/output module comprises Transmit-Receive Unit, photoelectricity coupling unit and logical block, wherein,
Described logical block is used for walking abreast and obtains described steering order, and described steering order is sent to described Transmit-Receive Unit by the serial of described photoelectricity coupling unit;
Described Transmit-Receive Unit is used to receive the steering order that described photoelectricity coupling unit sends, and described steering order is sent to described controller sophisticated interface module by described serial data bus.
2. the system as claimed in claim 1 is characterized in that, described signaling interface comprises low-voltage differential signal interface, keyboard array signaling interface, QWERTY keyboard interface and data-signal group interface.
3. the serial communication method of an industrial control system as claimed in claim 1 may further comprise the steps:
A, controller send current data frame to the human-computer interaction device serial, wait for the answer signal of human-computer interaction device feedback;
After B, human-computer interaction device receive described current data frame, detect described current data frame, and send answer signal to described controller according to testing result;
C, described controller receive described answer signal, and select to send described current data frame once more or send next Frame to described human-computer interaction device according to described answer signal, and wait for the answer signal of described human-computer interaction device once more.
4. method as claimed in claim 3 is characterized in that, described step B specifically may further comprise the steps:
B1, described human-computer interaction device check whether the address of described current data frame mates, when the matching addresses of described current data frame, whether the check bit that reexamines described current data frame is correct, when described check bit is correct, whether the order that reexamines described current data frame is correct, when described order is correct, send the correct answer signal of affirmation current data frame to described controller.
5. method as claimed in claim 4 is characterized in that, described step C may further comprise the steps:
C1, when described answer signal when confirming the correct answer signal of current data frame, described controller sends next Frame to described human-computer interaction device serial, and waits for the answer signal of described human-computer interaction device.
6. method as claimed in claim 5 is characterized in that, among the described step B1, when described check bit mistake, described human-computer interaction device sends the answer signal of check bit mistake to described controller.
7. method as claimed in claim 6, it is characterized in that, among the described step C1, when described answer signal is the answer signal of check bit mistake, and when described wrong responses signal sent number of times smaller or equal to 3 times, described controller sent described current data frame once more to described human-computer interaction device.
CN2009101073367A 2009-05-14 2009-05-14 Industrial control system and serial communication method thereof Active CN101630158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101073367A CN101630158B (en) 2009-05-14 2009-05-14 Industrial control system and serial communication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101073367A CN101630158B (en) 2009-05-14 2009-05-14 Industrial control system and serial communication method thereof

Publications (2)

Publication Number Publication Date
CN101630158A CN101630158A (en) 2010-01-20
CN101630158B true CN101630158B (en) 2011-06-22

Family

ID=41575293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101073367A Active CN101630158B (en) 2009-05-14 2009-05-14 Industrial control system and serial communication method thereof

Country Status (1)

Country Link
CN (1) CN101630158B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591291B (en) * 2012-02-27 2013-09-25 固高科技(深圳)有限公司 Industrial controller and human-machine interface bidirectional data transmission system and method
CN107492783A (en) * 2016-06-13 2017-12-19 常州星宇车灯股份有限公司 A kind of control system of laser
CN106230113B (en) * 2016-07-20 2019-04-12 合肥联信电源有限公司 Power supply monitoring system based on industrial human-computer interface touch screen
CN109426637A (en) * 2017-08-23 2019-03-05 北京展讯高科通信技术有限公司 Detect the method, apparatus and electronic equipment that USB device disconnects
CN109839867A (en) * 2017-11-29 2019-06-04 中国科学院沈阳自动化研究所 Manned underwater vehicle man-machine interaction control device
CN113301130A (en) * 2021-05-11 2021-08-24 深圳市星火数控技术有限公司 Communication method and device of sewing equipment controller, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN101630158A (en) 2010-01-20

Similar Documents

Publication Publication Date Title
CN101630158B (en) Industrial control system and serial communication method thereof
JP2006244416A (en) Electronic device system with master node and slave node
CN104811359A (en) Serial port communication method and terminal
CN103186440A (en) Method, device and system for detecting in-place state of sub cards
CN102081586A (en) Multiple I2C (Inter-IC) slot circuit system and method for transmitting I2C signal
CN101814230A (en) Serial data communication transmitting method and device
CN102394734A (en) RS 485 communication system with nonpolarized connection and control method thereof
CN203706058U (en) CAN bus based multi-I/O board card expansion structure
CN106610885A (en) Server failure detection system and method
CN100370490C (en) Network controlling method for household electrical appliance
US10554441B2 (en) Automation system and method for operation of the system
CN202421854U (en) Triplex level redundancy switching value output module for DCS (data communication system)
CN104239175A (en) Debugging system, debugging method and debugging device for chip
CN210442789U (en) Touch display device and system
CN104900045A (en) Signal transmission method, electronic devices and control system
CN103376369B (en) The method of testing of communication load and device
CN107577202B (en) Automation system and method for operating the same
CN201378316Y (en) Universal input/output interface extension circuit and mobile terminal with same
CN109992129A (en) A kind of method and system for sharing cell phone keyboard by USB data line
CN102289282B (en) Electronic control device used in synchronous system and synchronous control method thereof
CN108089952B (en) Automatic change test equipment
CN201820120U (en) Self-adapting multibus execution mechanism controller
CN109753461B (en) DMA device and data transmission method
CN203522329U (en) Power distribution terminal remote control system
CN104410514B (en) Method and system for remote management apparatus end

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
CP01 Change in the name or title of a patent holder

Address after: 518057, Nanshan District Shenzhen hi tech Zone, Guangdong, South District, Shenzhen Hong Kong University research base building W211

Patentee after: Solid High Tech Co.,Ltd.

Address before: 518057, Nanshan District Shenzhen hi tech Zone, Guangdong, South District, Shenzhen Hong Kong University research base building W211

Patentee before: GOOGOL TECHNOLOGY (SHENZHEN) Ltd.

CP01 Change in the name or title of a patent holder