CN100511103C - Man-machine interface system with facilities Control bridge and design operation method thereof - Google Patents

Man-machine interface system with facilities Control bridge and design operation method thereof Download PDF

Info

Publication number
CN100511103C
CN100511103C CNB2006100834780A CN200610083478A CN100511103C CN 100511103 C CN100511103 C CN 100511103C CN B2006100834780 A CNB2006100834780 A CN B2006100834780A CN 200610083478 A CN200610083478 A CN 200610083478A CN 100511103 C CN100511103 C CN 100511103C
Authority
CN
China
Prior art keywords
control bridge
man
machine interface
facilities control
interface 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.)
Expired - Fee Related
Application number
CNB2006100834780A
Other languages
Chinese (zh)
Other versions
CN101082835A (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.)
Delta Electronics Inc
Delta Optoelectronics Inc
Original Assignee
Delta Optoelectronics Inc
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 Delta Optoelectronics Inc filed Critical Delta Optoelectronics Inc
Priority to CNB2006100834780A priority Critical patent/CN100511103C/en
Publication of CN101082835A publication Critical patent/CN101082835A/en
Application granted granted Critical
Publication of CN100511103C publication Critical patent/CN100511103C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a man-machine interface system with equipment control bridge and operating method of its design, wherein the man-machine interface system consists of main system and equipment control bridge; the main system has first microprocessor; the equipment control bridge has second microprocessor to connect the main system through bus and equipment end through communication port; the equipment control bridge possesses processing function with equipment control bridge, which reflexes the equipment end condition to the main system. The invention adopts paralleling pattern to design image component and equipment address conversion list separately during designing stage, which combines the image component and equipment address conversion list. The equipment control bridge writes the condition of equipment device into internal memory. The main system reads the internal memory to acquire the condition of device at equipment end.

Description

Man-machine interface system and design operation method thereof thereof with facilities Control bridge
Technical field
The present invention relates to a kind of man-machine interface system and method for designing, particularly a kind of man-machine interface system and method for designing with facilities Control bridge.
Background technology
Man-machine interface refers generally to realize linking up and interactive hardware and software between user and computing machine, purpose be to make the user of computer system to make things convenient for and efficiently the operational computations machine to reach two-way interaction, finish the desired work of finishing by computing machine, its scope that contains comprises: data input devices such as keyboard, mouse, digiboard, output units such as display screen, audible device.
The system design framework of tradition man-machine interface product is normally integrated various hardware communication interface such as USB, RS-232, RS-422, RS-485, CAN BUS or Ether Net etc. on an Embedded hardware platform.Main CPU (central processing unit) (CPU) in this system has been born the required work of all man-machine interface runnings, comprises work such as picture processing, calculating, input-output device control and Control on Communication.The user the exquisite degree of picture is required to need to take into account simultaneously real-time (Real Time) problem of communication again under the situation of raising day by day, this is the requirement that can't get both for the central processing unit function of a low to medium price level.
The problem of another man-machine interface product design is exactly how to accomplish as far as possible and the communication protocol of each tame equipment manufacturing compatibility that this involves a personal-machine interface product may face the design challenges of change software and hardware architecture at any time under requirement of client.
Under the situation that the wafer production technology is constantly brought forth new ideas, microprocessor is incorporated into the controller interface circuit of various peripheral devices in the framework of microprocessor gradually, its core with a microprocessor is that main body is responsible for numerical value and logical operation, integrate some specific controller unit again, as Memory Controller Hub, get (Cache) controller, timing (Timer) controller, communication controler (as ..SPI, USB, UART etc.) soon ..., Here it is is called the microprocessor architecture design of SOC (System OnChip).
(the Human Machine Interface of Xin Yidai man-machine interface now, hereinafter to be referred as HMI) system design, also therefore by in the past based on simple single-chip or microprocessor design in conjunction with needed peripheral control chip layout, changing into gradually by employing SOC is that the mode of core designs.This will help the elevator system bus speed, the complexity of simplified system design, and also reduced the number of spare parts and the cost of peripheral controller.The appearance of SOC on market is a new revolution for man-machine product.
Yet just the man-machine products-hardware framework of present low price on the market be it seems, all is the control of being responsible for whole man-machine system running by a microprocessor.No matter be under the operating system of multitask or single task, it is awkward that the resources allocation of microprocessor all seems.Especially in industrial control condition, the problem of real-time comes into question for a long time always.Therefore, how to design a low cost and can reach dynamical HMI product, be to be expected by market always.
At present with general HMI product, in order on design cost, to average out a little, usually to sacrifice plotting speed or picture exquisiteness degree for paying the utmost attention to.But in the trend of following HMI product, the high-resolution LCD of high image quality will become main flow.Although the built-in drawing accelerator of follow-on microprocessor possibility will be based on consumer products on using.If on man-machine product, adopt microprocessor platform based on consumer products, application characteristic with man-machine product, microprocessor still do not increase any advantage, because can not be shared the real-time communication protocol computing that enough usefulness is handled more complicated at any time.Therefore, when the man-machine product that this class is general runs into complicated real-time communication protocol, all certainly will have only and adopt plug-in hardware protocol processing module one way.
The viewpoint of another consideration is, when utilizing the built-in communication controler of SOC itself, the software of control and the software of HMI are integrated, and therefore can't independently operate.When HMI has changed the equipment end device that connects, also HMI must be changed simultaneously and supporting communication protocol between it.And, for the software development work of man-machine product, also must constantly increase new communication protocol and upgrade version at different device, this all is puzzlement for man-machine manufacturing plant and client.
Fig. 1 is the hardware structure of traditional basic man-machine interface, it utilizes a microprocessor 100A to control the work of all man-machine interfaces, comprises microprocessor chip 10A, LCD module 20A, internal memory IC 30A, user's input media (comprising contact panel 40A and numeric keypad 42A) and communication port 50A.Wherein can comprise microprocessor 100A, display controller 102A, GPIO controller 104A, UART Universal Asynchronous Receiver Transmitter (UART, Universal Asynchronous Receiver/Transmitter) controller 106A and CAN bus controller 108A in the microprocessor chip 10A.Wherein internal memory IC30A is for storing the memory block (as Flash ROM, SDRAM and SRAM... etc.) of executive routine and data, the circuit control module of communication functions such as this UART controller 106A has RS-232 in order to extend, RS-422 and RS-485....
Fig. 2 is the software operation pattern of traditional man-machine interface.In general man-machine picture design, the picture deviser need promptly determine destination equipment at the beginning of design, because in the middle of the picture assembly that this parameter adds, all need designated that equipment end points that corresponds to that controller after each.Therefore the deviser will consider picture assembly, destination equipment and communication protocol simultaneously when the enantiomorphic relationship of planning picture assembly and destination equipment.The inconvenience of this practice is, with the method for the direct mapping of destination device description mode, in case need to revise when using different destination equipment, will seem very inconvenient, and will have modification action a large amount of and that repeat and need processed.
And, in the design picture, the user need install different characteristics according to each and plan assembly, so the user possibly can't take into account simultaneously or think deeply when replacing different destination equipment if desired in the future, whether some assembly has special consideration.Therefore, when the design of present man-machine interface product had all faced replacing destination equipment, picture also needed the puzzlement that redesigns.
Fig. 3 is the software operation process flow diagram of general man-machine interface.Man-machine picture deviser is in design during man-machine picture (step S100), at first needs to consider described man-machine label and characteristic with the controller that connects, to determine the communication protocol (step S102) between man-machine and the controller.Remove to select assembly (step S106) according to various controller then, set the attribute (step S108) of each assembly in the picture, and address, the data kenel (step S110) of assembly mapping device are set.If man-machine picture deviser is required to change controller label or model (step S104) in design or after the design, must upgrade the attribute of each picture assembly this moment according to new controller again.Step S112 checks whether finish all component, if picture has 1,000 assemblies, just need correct 1,000 module sets again.And then the compiling of carrying out picture data and communication protocol be connected (step S114) and be downloaded to man-machine interface (step S116) step.This design is the workflow of single-line type, and Renewal Design temporarily in case changed the specification of (purpose) controller, will face the puzzlement that accent comes again midway.
As known from the above, present man-machine product, no matter on the design architecture of hardware and software, all underaction reaches and does not have modular advantage.Therefore, need a hardware platform and can make product again on design of hardware and software cheaply, man-machine operation interface module and communication transfer interface module are designed to separately independently framework, if can use two separate processor to handle separately work respectively, thereby realize designing the purpose of dynamical man-machine interface, make manufacturing plant and client obtain doulbe-sides' victory with low cost.
Summary of the invention
Therefore, an object of the present invention is, take modular framework in design, only be required to be communicating by letter between man-machine operation interface module and the communication transfer interface module and make a method, described method by development company from ordering and not needing to follow any special standard, thereby make the communication work that all are various, complicated and need real-time to require, all can move on on the communication transfer interface module and move.Thus, system can be divided into two, and does not have dependence each other; The either party can carry out independent design upgrading (update) at any time.Such framework for the client and the producer, can reduce the burden of update system greatly.
Another object of the present invention is that needs are often become a module for the client changes the customized communication function of design partly (to comprise that software and hardware are partly) independent, and with two parts of present man-machine interface production sharing, promptly (1) man-machine operation interface module reaches (2) communication transfer interface module, thereby help product modification apace, to meet various needs.
To achieve these goals, the invention provides a kind of man-machine interface system, mainly comprise with facilities Control bridge:
Output input operation interface module, it constitutes main circuit by a first microprocessor, with the output input action of processing signals.This output input operation interface module has the input mode of utilizing key board, contact panel or mouse input medias such as (pointer devices) to operate, and is output unit with LCD, CRT or any demonstration or printing device.This output input operation interface module also has the bus interface of expansion, can be connected with communication control module described later, thereby realize the purpose that signal transmits mutually.
Facilities Control bridge (Device Bridge), it constitutes main circuit by one second microprocessor, handling and the communication protocol of various devices and the conversion of signal, and contain program run internal memory independently or with the program or the data-carrier store of the common access of above-mentioned output input operation interface module.This facilities Control bridge also has bus interface, can be connected with aforesaid output input operation interface module, thereby realize the purpose that signal transmits mutually.
To achieve these goals, the invention provides a kind of man-machine interface system method of operating, mainly comprise following characteristics with facilities Control bridge:
The program of output input operation interface module independently operates, the state of all control devices is to obtain by the shared drive (for example dual port memories) that reads on the communication control module, does not need to obtain by utilizing special communication protocol to link up with control device.
The program of facilities Control bridge independently operates, and utilizes special communication protocol and control device to communicate, and state is reflected in the internal memory of control device and facilities Control bridge inside simultaneously, forms the function of high-speed cache.
Facilities Control bridge can directly be uploaded the label and the type of the next direct Correction and Control apparatus of device address conversion table of renewal by the user, and need not to revise the man-machine interface picture design document on any output input operation interface module.
Whether the software of the output input operation interface module directly processor of opertaing device control bridge operates or ends.Output input operation interface module has the control of whole man-machine interface system.
Output input operation interface module can will be stored in the body internal memory or the data file on the memory external card, downloads to facilities Control bridge to be the required program of operation.
Description of drawings
Fig. 1 is the hardware structure of traditional basic man-machine interface;
Fig. 2 is the software operation pattern of traditional man-machine interface;
Fig. 3 is the software operation process flow diagram of general man-machine interface;
Fig. 4 A, 4B are the hardware platform calcspar of this patent;
Fig. 5 is according to run-in index design cycle synoptic diagram of the present invention;
Fig. 6 is a process flow diagram of the present invention;
Fig. 7 A to 7C is a device address of the present invention conversion table;
Fig. 8 is a human-machine operation interface screen assembly treatment scheme.
In the accompanying drawing, the list of parts of each label representative is as follows:
Prior art
10A microprocessor chip 20A LCD module
30A internal memory IC 40A contact panel
42A numeric keypad 50A communication port
100A microprocessor 102 A display controllers
104A GPIO controller 106A UART controller
108A CAN bus controller
The present invention
10 microprocessor chips, 20 LCD modules
30 internal memory IC, 40 contact panels
42 numeric keypads, 50 communication port
100 microprocessors, 102 display controllers
104 GPIO controllers, 106 UART controllers
108 CAN bus controllers
60 facilities Control bridges, 600 second microprocessors
602 UART controllers, 604 two-port RAMs
606 SRAM, 608,610 main memory bus
620 internal buss, 630 transceivers
Embodiment
Referring to Fig. 4 A, 4B, hardware platform of the present invention is independent with the communication function of man-machine operation interface circuit and equipment end, and independent equipment end communication function circuit partly is called as facilities Control bridge 60.This facilities Control bridge 60 has the microprocessor of an independently working, and it is responsible for handling and the communicating by letter to obtain or to control the state of (setting) equipment end device of equipment end.Referring to Fig. 4 A, 4B, this facilities Control bridge 60 has second microprocessor (MCU) 600, UART controller (or CAN controller) 602, double-port random access memory (abbreviation two-port RAM) 604, static random access memory (SRAM) 606, main memory bus 608,610, transceiver 630 and internal bus 620.This mode of operation of man-machine operation interface system with facilities Control bridge is as follows: when the main microprocessor of man-machine operation interface 10 comes into operation in system, deposit SRAM 606 in the facilities Control bridge in by system bus program code (Program) that the microprocessor 600 of facilities Control bridge 60 is required and communication protocol translation tables (Protocol translator), the control by GPIO 104 comes announcement apparatus control bridge 60 to come into operation then.
After facilities Control bridge 60 is finished a communication cycle (CommunicationCycle) by oneself, the state of equipment end can be write the two-port RAM 604 (or general memory storage) that is arranged in facilities Control bridge 60, and can utilize as the mode of interrupting and notify main system.At any one time point, the microprocessor of main system can write the state of equipment end device this two-port RAM 604, and passes to equipment end by the communication process of facilities Control bridge 60.Also can fetch the state of equipment end device on the other hand, and needn't handle communicatory any work by the microprocessor 100 of main system at this.
Fig. 5 is the run-in index design cycle synoptic diagram that has the man-machine operation interface system of facilities Control bridge according to of the present invention, and it changes the design that adopts run-in index into by the design cycle of the single-line type that was adopted in the past.According to this run-in index design cycle, picture assembly and destination equipment do not have direct relation, so the deviser of picture can produce picture file by man-machine display editor compiling only according to good each assembly of component table control numbering planning in regular turn that is provided by the system analyst.On the other hand, actual when the destination device location is set, can be by the planning table of another one deviser according to the mapping address, connect destination devices communicating agreement, produce the executive routine code and the device address conversion table (Device address Transfer Table) of facilities Control bridge 60 by software.The picture shelves can with together be downloaded to man-machine interface after the executive routine code of facilities Control bridge 60 and device address conversion table are connected simultaneously, send facilities Control bridge 60 to by the man-machine interface program again and carry out.Or the executive routine code and the device address conversion table of picture shelves and facilities Control bridge 60 downloaded respectively to man-machine interface and facilities Control bridge 60, so also can reach identical purpose.
Fig. 6 is the run-in index design cycle process flow diagram with man-machine operation interface system of facilities Control bridge of the present invention, comprise the following step: after beginning (step S200), judge whether to want editing pictures (step S210), if, the address (step S244) of then selecting picture assembly (step S240) and component property (step S242) being set and the corresponding access arrangement control of assembly bridge 60 is set.Then judge whether to finish all component (step S244), if not, then get back to step S240, if then produce picture shelves (step S248) and the operation (step S250) that judges whether to make amendment.
At step S210, if editing pictures is not then carried out the following step to revise the device address conversion table.The inner corresponding equipment end address, access address (step S220) of editing equipment control bridge, connection device communication protocol driver (step S222), and the executive routine code (step S224) of generation facilities Control bridge.Step S226 judges whether the operation of making amendment, if will carry out then the executive routine code of facilities Control bridge is downloaded to facilities Control bridge 60, then merge picture shelves and facilities Control bridge actuating code (step S228) if not, and amalgamation result is downloaded to man-machine interface (step S232).In the step of the above-mentioned operation that judges whether to make amendment (step S250), download amalgamation result to man-machine interface if then carry out step S232, then carry out step S228 if not and merge picture shelves and facilities Control bridge actuating code, finish (step S260) at last.
Fig. 7 A to 7C is a device address of the present invention conversion table.The direct access address of attribute, data kenel and the mapping facilities Control bridge 60 of each assembly of record in the picture file, rather than any one unit address of sensing destination device end.And facilities Control bridge 60 is addresses of finding mapping destination device end and facilities Control bridge 60 internal storage accesses by the device address conversion table.
Fig. 8 is a human-machine operation interface screen assembly treatment scheme, comprise the following step: begin back (step S300) in new page, promptly enter initial picture state (step S302), and with facilities Control bridge exchange caching data (step S304), swap data is deposited in the working area, inside (step S306) of man-machine interface, and processing picture assembly state exchange (step S308), inspect and whether finish picture all component (step S310), then draw out component states figure (step S312) if not, if then start timer (step S314).Waiting for that the user imports back (step S316), judges whether to change component states (step S318), if then get back to step S304, then judge whether if not skip (step S322), if do not skip, then get back to step S320, if will skip then process ends (step S330).
In sum, the present invention has the following advantages:
1, utilize the man-machine interface product of architecture design of the present invention, modification fast, thus reach the requirement that accords with the demands of the market.
2, can improve the performance of man-machine interface product in processing graphics and communication simultaneously.
3, need not select expensive high-order processor in order to improve system effectiveness for use.
4, in the picture design of carrying out man-machine operation interface, do not need to consider especially control device.
5, the split step that is split into two parallel designs of the picture of man-machine interface design makes the dependence that does not have immediate data each other.Portable and the recycling that has increased the design picture is worth.
The above is the preferred embodiments of the present invention only, is not so promptly limits claim of the present invention, and every other equivalence of being done in characteristic range of the present invention changes or modifies, and all should be included in the claim of the present invention.

Claims (8)

1. man-machine interface system method for designing with facilities Control bridge, described man-machine interface system comprises:
Main system, it has first microprocessor;
Facilities Control bridge, it has second microprocessor and is connected respectively to described main system and equipment end, and described method for designing comprises the following step:
A, design picture assembly;
B, with parallel mode designing apparatus address translation table;
C, merging picture assembly and device address conversion table.
2. the man-machine interface system method for designing with facilities Control bridge as claimed in claim 1 wherein merges described picture assembly and described device address conversion table by merging software.
3. the man-machine interface system method for designing with facilities Control bridge as claimed in claim 1, wherein said designing apparatus address translation table step also comprises:
Corresponding equipment end address, the inner access address of editing equipment control bridge;
The connection device communication protocol driver; And
Produce the executive routine code of facilities Control bridge.
4. man-machine interface system method of operating with facilities Control bridge, described man-machine interface system comprises:
Main system, it has first microprocessor;
Facilities Control bridge, it has second microprocessor and is connected respectively to described main system and equipment end, and described method of operating comprises the following step:
Program code that described main system is required with described facilities Control bridge and communication protocol translation tables deposit in the internal storage in the described facilities Control bridge;
Described facilities Control bridge writes the state of equipment end device in the described internal storage; And
Described main system reads described internal storage to obtain the state of described equipment end device.
5. the man-machine interface system method of operating with facilities Control bridge as claimed in claim 4, wherein said main system comes announcement apparatus control bridge to come into operation by the control of GPIO.
6. the man-machine interface system method of operating with facilities Control bridge as claimed in claim 4, wherein said facilities Control bridge is finished all after dates of a communication by oneself, the state of equipment end can be write in the described internal storage.
7. the man-machine interface system method of operating with facilities Control bridge as claimed in claim 6, the mode that wherein said facilities Control bridge utilization is interrupted is notified described main system.
8. the man-machine interface system method of operating with facilities Control bridge as claimed in claim 6, wherein said internal storage is a two-port RAM.
CNB2006100834780A 2006-05-30 2006-05-30 Man-machine interface system with facilities Control bridge and design operation method thereof Expired - Fee Related CN100511103C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100834780A CN100511103C (en) 2006-05-30 2006-05-30 Man-machine interface system with facilities Control bridge and design operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100834780A CN100511103C (en) 2006-05-30 2006-05-30 Man-machine interface system with facilities Control bridge and design operation method thereof

Publications (2)

Publication Number Publication Date
CN101082835A CN101082835A (en) 2007-12-05
CN100511103C true CN100511103C (en) 2009-07-08

Family

ID=38912427

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100834780A Expired - Fee Related CN100511103C (en) 2006-05-30 2006-05-30 Man-machine interface system with facilities Control bridge and design operation method thereof

Country Status (1)

Country Link
CN (1) CN100511103C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2329344A4 (en) * 2008-09-15 2013-08-14 Smart Technologies Ulc Touch input with image sensor and signal processor
CN104516839B (en) * 2015-01-07 2017-12-08 王建农 A kind of built-in applied system

Also Published As

Publication number Publication date
CN101082835A (en) 2007-12-05

Similar Documents

Publication Publication Date Title
Handy The cache memory book
CN1107894C (en) Mobile client computer interface for user input device
CN101262486B (en) Modbus bus analysis system based on built-in platform
CN101271475B (en) Commercial intelligent system
CN102184122B (en) Interrupt realizing method for Loongson central processing unit (CPU) mainboard
CN107341053A (en) The programmed method of heterogeneous polynuclear programmable system and its memory configurations and computing unit
CN100370380C (en) Opening rearrangeable soft digital control system
CN101226388A (en) Open type software numerical control system
JP3136257B2 (en) Computer memory interface device
CN1231734A (en) Systems and methods for providing dynamic data referencing in a generic data exchange environment
CN100476650C (en) SCM memory system
CN101938566A (en) Visual terminal debugging method and device
CN101504599A (en) Special instruction set micro-processing system suitable for digital signal processing application
CN100511103C (en) Man-machine interface system with facilities Control bridge and design operation method thereof
CN1160618C (en) Programmable controller
CN101178653A (en) Embedded system and method supporting various processor
CN205103599U (en) Cross -border trade BPO uses cloud terminating set
CN101313290A (en) Performing an n-bit write access to an mxn-bit-only peripheral
CN104516736A (en) Development platform of after-sale diagnosis system
CN107817765A (en) Based on ARM11 and FPGA global function digital control systems
CN1312583C (en) Simulation apparatus, simulation program, and recording medium
EP1865410A1 (en) Human-machine interface system with device bridge and method for designing and operating the same
CN200972599Y (en) Network type structural industrial control system
CN101770232B (en) Data access method of compressed configuration software variable
CN100576186C (en) The method for making of soft emulator

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090708

Termination date: 20180530