[go: up one dir, main page]

GB2283836A - System architecture for control applications - Google Patents

System architecture for control applications Download PDF

Info

Publication number
GB2283836A
GB2283836A GB9423044A GB9423044A GB2283836A GB 2283836 A GB2283836 A GB 2283836A GB 9423044 A GB9423044 A GB 9423044A GB 9423044 A GB9423044 A GB 9423044A GB 2283836 A GB2283836 A GB 2283836A
Authority
GB
United Kingdom
Prior art keywords
control
communication
architecture
motor
devices
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.)
Granted
Application number
GB9423044A
Other versions
GB9423044D0 (en
GB2283836B (en
Inventor
Ming C Chen
Mark A Gilbertie
John M Gomes
Cheryl L Picoult
Peter K Zanger
Le N Nguyen
Scott T Potter
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.)
Pitney Bowes Inc
Original Assignee
Pitney Bowes 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 Pitney Bowes Inc filed Critical Pitney Bowes Inc
Publication of GB9423044D0 publication Critical patent/GB9423044D0/en
Publication of GB2283836A publication Critical patent/GB2283836A/en
Application granted granted Critical
Publication of GB2283836B publication Critical patent/GB2283836B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4148Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using several processors for different functions, distributed (real-time) systems
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0421Multiprocessor system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21039Slaves, modules in daisy chain, each handles control data, transmits to next
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21098Connect pc to machine, controller, module via serial port
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/22Pc multi processor system
    • G05B2219/2231Master slave
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25324Modules connected to serial bus
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25431Dual Port memory
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33157Between processor and sensor, encoder
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33165Gpsc gpsl general purpose serial channel, link
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33167Bus arbitration, switch computer to different memory
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33168Two bus, master bus and local servo bus
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33224Several serial channels, each provided with d-a to terminals of servomotor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33226Daisy chain
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33279Expansion by using secondary access to each module, extension module
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33342Master slave, supervisor, front end and slave processor, hierarchical structure
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34208Motion controller
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/43Speed, acceleration, deceleration control ADC
    • G05B2219/43162Motion control, movement speed combined with position

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Control Of Multiple Motors (AREA)

Abstract

A system for controlling the motors in a mail handling device includes a device control board 16, 18, 20 which communicates with a universal motor drive control board 28, 30 via a serial master-slave communication link 22 and with a system control 12 via another communication system 14 eg a GSC. The device control board is operative to receive the information for controlling the various motors from the system controller. The result is a highly flexible arrangement wherein the system blocks can be easily combined for most custom arrangements for control of mailing processes without costly development time and a necessity of maintaining a large inventory of custom boards. <IMAGE>

Description

UNIVERSAL ELECTRICAL SYSTEM ARCHITECTURE FOR CONTROL APPLICATIONS The invention relates to system architectures for control applications and more particularly to a communication architecture and protocol which can be easily optimized for control of the operation of various desired functions.
Production Mailing apparatus typically has been one of the mail handling devices least susceptible to standardization because of the disparate nature of each customer's applications and the range of volumes of mail to be handled by each different customer. Each mailing apparatus has in the past had to be customized in order to meet the customer 5 needs. For the manufacturer this has required both expensive re-engineering efforts and an increase in inventory because of the necessity for a large variation in spare electronic boards and other components in order to assure satisfactory customer relations and relatively quick repairs.
It is known to modularize the stations for a stand-alone system as taught, for example, in U.S.Patent 4,547,856 to Piotroski. While this has worked well, the electronic architecture is limited and accommodates only the specific operations of the large production mailing machines and does not easily allow networking with local area networks (LAN's) and other inputs and outputs of present day devices.
U.S. Patent 4,514,799 to Spencer et al. describes a bus system architecture for a microprocessor system comprising an array of bus lines for communication between and among microprocessors.
U.S. Patent 4,517,637 to Cassell discloses a host system connected to devices via a local area network for operation of the various measurement and control functions.
The operation program is centralized and communication with the devices occurs directly through an LAN.
U.S. Patent 4,780,814 describes a global serial channel for a microcontroller while 4,782,439 describes an arrangement utilizing direct memory access (DMA).
None of these references teaches apparatus which may in one universal system architecture be versatile and flexible enough to be used any many different arrangements for controlling many different processes, and which is particularly useful for controlling apparatus used in production mailing devices.
It is therefore an aim of the invention to provide a system architecture particularly useful for production mail apparatus which will, with a minimum number of electronic boards, allow configuring to meet a large range of the various customer requirements.
Thus there is provided in accordance with the invention â system electronic architecture comprising control means for controlling a plurality of determined devices chosen from the group consisting of stepper motors, DC motors and brushless DC motors, said control means communicating with at least one motor drive controller by means of a master-slave communication means, said motor drive controller being operative for controlling at least a selected one of said plurality of devices, said master-slave communication means being a serial communication means, said control means including means for receiving and storing control parameters for operation of said plurality of devices, and said means for receiving including a second communication means adapted for communication with a system control means.
In a preferred embodiment of the invention, the second communication means is a Global Serial Channel (GSC) commnication means.
The invention will be better understood from the following non-limiting description of an example thereof given with reference to the accompanying drawings in which: Figure 1 is a block diagram of an example of a control architecture for a communication apparatus in accordance with the invention showing Peer-to-Peer relationships; Figure 2 is a block diagram of another example of a control architecture in accordance with the invention showing additional Master-Slave relationships along with the Peer-to-Peer relationships; Figure 3 is a block diagram showing a single-layer architecture using a device controller in a communication apparatus in accordance with the invention; Figure 4 is a block diagram of a single-level architecture using a system controller in a communication apparatus in accordance with the invention; Figure 5 is a system configuration for use with an inserter using the four "building block" boards as may be employed in accordance with the invention; Fig. 6 is a view of a Global Serial Channel board for use with an off-the-shelf PC.
Fig. 7 is a block diagram of the GSC port on the GSC board.
Fig. 8 is a block diagram of an XT/AT bus interface on the GSC board.
Fig. 9 is shows a suitable memory map for the shared memory of the GSC board.
Fig. 10 is a block diagram of the device control board.
Fig. 11 is a block diagram of the GSC communication interface of the device control board.
Fig. 12 is a block diagram of the motion/peripheral control processor of the device control board.
Fig. 13 is a block diagram of the GPSL communication link.
Fig. 14 is a block diagram of a universal drive board usable in the invention; Fig. 15 is a block diagram of the decoder circuit of the universal drive board.
Fig. 16 is a block diagram of the universal commutation logic circuit.
Fig. 17 is block diagram of the power switching circuitry of the universal drive board.
In Fig. 1, there is shown generally at 10 a system in accordance with the invention showing peer-to-peer relationships. The architecture of the system comprises an modular arrangement which is expandable and flexible and which is configurable with either centralized or distributed processing. This flexibility makes it applicable to a wide variety of system control applications for a range from small to very large systems.
The system architecture is shown in Fig. 1 generally at ;. As seen in this Figure, the system controller 12 is the backbone of the Global Serial Channel (GSC) network show. at 74 for the illustrated distributed multi-layer control applications. It will be understood that for saller applications it may be configured as a centralized controller with direct access to the General Purpose Serial Link as seen below in connection with Fig. 4. The system controller 12 interfaces in conventional manner to external local area networks (LAN'S), storage media such as hard disks, floppy disks, tape drives, and the like, printers, modems, or large scale user interfaces as desired.
A plurality of Device Controllers illustrated at 16, 18 and 20, respectively, communicate on the GSC network and as required on the General Purpose Serial Link (GPSL) 22 which will be described below. The GSC is preferably an Intel bus arrangement as described in U.S. Pat. 4,780,814 to Hayak and marketed by Intel as the 80C152 Universal Communication Controller Chip. The device will support up to 255 device controllers only three of which are shown here.
Controller 16 is shown interfacing to the local user at port 24 and to an OCR or Barcode scanner at 26.
Universal Motor Drivers 28 and 30 as well as I/O Driver 32 and Scanner I/F 34 communicate with Device Controller 18 via the GPSL 22. In a preferred embodiment, the General Purpose Serial Link 22 in accordance with the invention will be able to accommodate 16 channels of information. The GPSL channels as illustrated may be configured for motion control communication with the Motor Drivers, for I/O control or for scanner control.
The motor drivers, two of which are shown in Fig. 1 for illustrative purposes can provide both closed and open loop motion control for DC brush type motors, DC brushless motors, and DC stepper motors as desired. These drivers will be discussed further below.
The I/O Driver 32 provides control for up to 16 inputs and up to 8 outputs. The I/O as controls sensors, solenoids, clutches, brakes, actuators, and/or AC motors The scanner interface 34 decodes and interprets OMR scan marks and barcodes. It may also serve as an interface to serial OCR and Barcode scanners.
Figs. 2, 3, and 4 illustrate the flexibility of the system architecture in accordance with the invention. Fig.
2 shows a multi-layer distributed architecture utilizing both peer-to-peer and master-slave relationships. In this arrangement, the system controller 50 communicates along Global Serial Channel 52 with device controllers 54, 56, and 58, respectively. In this configuration, device controller 56 communicates on a GSC with two additional device controllers 62 and 64 in a master-slave relationship. For example the device controller 64 may control a local user interface in addition to controlling the motors and I/O and scanner interface as previously describe in Fig. 1. The parts here are labelled with primes in order to show the similarity of this layer of control. Device controllers 54 and 58 may communicate with additional devices via GPSL 66 and 68, respectively. The other device controller 62 which operates in this configuration as a slave to the master device controller 56 may, for example, interface with an OCR or Barcode scanner and communicate with other elements via the GPSL indicated at 70.
Fig. 3 illustrates an example of a single-layer centralized architecture using a device controller configured as a central controller for control of the system and is especially applicable to those systems not requiring access to external LAN's or storage media. In the example of Fig. 3, the device controller 74 interfaces with OCR or Barcode scanners using serial communication and also interfaces with the user with a "low scale" interface.
Com,snications with the motors and other interfaces and scanners are as previously described and again the relationship is recalled by the use of double primes for the features similar to those of Fig. 1.
Fig. 4 shows an example of single layer centralized architecture using the system controller for control. In this example the system controller 82 communicates with the motors and I/O driver and scanner interface via the GPSL without intermediate device controllers. Again to illustrate the similarity, the devices and communication link are labelled with numbers bearing triple primes in correspondence with those described in connection with Fig.
1. The controller 82 provides high-level functions where access to external LAN's or storage media is required.
Fig. 5 shows generally at 100 a suitable embodiment of a control system in accordance with the invention in schematic form for an inserter. The system is suitably configured with a modular design. In accordance with the invention, four different types of boards provide the building blocks. They are the system supervisor shown at 102 which includes the Global Serial Channel communication board 104 to oversee the overall system control. The next type of block is the device control board shown at 106 to perform the local control of motors and other I/O devices for each mechanical module. Another type of board, the universal motor drive illustrated at two places, 108 and 110, in the Fig. may be configured to drive a variety of motors illustrated here at 112 and 114, respectively.
Serial I/O boards shown at 116 and 118 are used to interface with sensors and other I/O devices.
It will be appreciated that almost any motion control application can be implemented by use of determined combinations of these boards. A significant advantage of the use of these modules is that the architecture will shorten product development time and will reduce the cost of inventory which must be carried.
Fig. 6 shows the GSC board configured as a card for insertion into an expansion slot of a typical personal computer (PC) such as the one illustrated at 102 of Fig. 5.
The GSC card can provide a GSC communication bus in an ISA bus personal computer. Such a card links the system controller, shown here as the PC 102, with the device controller 106 of Fig. 5. The card consists of three functional blocks described more completely below. The first is a GSC Control Logic section 120 which preferably utilizes an 80C152 GSC CPU available from Intel for communication with device controllers through a GSC cable via jack 122. The second functional block is preferably an ISA bus interface block indicated generally at 124 to communicate with the PC's CPU via the on-board ISA edge connectors 126 and 128. The third functional block is a shared memory 130 to serve as message buffer between the two blocks.
It will be understood that the GSC communication may be made with other system control devices replacing the personal computer and other types of bus arrangements may be implemented for inputting information to the shared memory in place of the illustrated XT/AT bus. An RS232 port 132 is in communication with RS232 connector 134. The port enables diagnostic communication with the Intel 80C152 device and will not be further described here.
Fig. 7 is a block diagram of the GSC control logic section 120. The GSC control logic section establishes a communication protocol among the System supervisor and the device controllers. The Universal Communication Controller 150, suitably the Intel 80C152 mentioned previously, provides a multi-protocol, 2M baud GSC serial communication which is optimized to implement CSMA/DCR protocol well known in the art. The 80C152 device is capable of supporting up to 32 GSC nodes. The physical connections may suitably be implemented by a full duplex RS-485 multipoint bus transmission. A telephone cable is conveniently used to carry these two differential data signals which swing between OV and +5V. A modular phone jack is used as the connector receptacle.
Address decode logic 152 demultiplexes in conventional manner the CPU address from the address/data buys. The decoder 152 also decodes the address to enable the appropriate memory for accessing. Eprom 154, suitably 32K bytes, provides code storage. There is also suitably a 32K bytes SRAM 156 for data storage and 1K bytes dual port SRAM 15 to serve as the message buffer.
It will be appreciated that the PC's CPU and the CPU 150 are exchanging information through the dual port memory 158. If both CPU's are writing to the same memory location t the same time the data may be garbled. Therefore, when a contention is detected at the memory 158, the internal arbitration logic in the dualport memory will grant priority to one of the two CPU's, and the other will receive a busy signal. The 80C152 does not have a built-in capability to lengthen memory cycle. Contention Detection circuit 160 will hold the busy signal (received on line 162) on one of the the 80C152's I/O lines so that the 80C152 will keep repeating the previous memory cycle until such time as the function is completed.
Turning now to the PC bus, Fig. 8 shows the XT/AT bus interface block diagram at 124. This block has three major components. Drivers 200 and 202 serve in known manner to control the data flow and to enhance the driving capability of the Data/Address bus of the PC. The read/write control logic block 204 decodes ISA bus control signals to provide chip-enable signals to memory and peripheral devices and to enable the personal computer to read and write to the shared memory 158. Preferably, the ISA IRQ lines and starting address of the shared memory are selectable via switches 206 and 208, respectively. The busy signal is fed on line 210 from the RAM 158 to the decode logic block 204. Control register 212 is suitably a write-only control register which may be used to hold bits for resetting the 80C152 and for a NO-WAIT-STATE ENABLE for the XT/AT bus.
Fig. 9 is a preferred embodiment of a memory map of the shared memory 158. This memory block provides 1,024 byte message buffers for information exchange between the personal computer and the GSC controller. In the arrangement in accordance with the invention, the shared memory 158 is divided into a transmission buffer area 250 and a receiving buffer area 252, and the information exchange is preferably accomplished by a so-called "mailbox" scheme. The GSC controller 150 (Fig. 7) writes a message to the receiving buffer in the receiving buffer area 252 and sets a flag in a special location such as buffer 254 to interrupt the personal computer via the ISA bus. Then the personal computer reads the message from the receiving buffer and acknowledges the interrupt by resetting the flag in buffer 254. Conversely, the personal computer writes a message into a transmission buffer location in the transmission buffer area 250 and sets a flag in another special memory location such as buffer 256 to interrupt the GSC controller. The GSC controller reads data from the transmission buffer and acknowledges the interrupt by resetting the flag in buffer 256.
For convenience the addresses of the PC shared memory are switch selectable by use, for example, of switch 208 (Fig. 8).
Fig. 10 is a block diagram of a device control board in accordance with the invention. The device control board indicated generally at 106 in correspondence with the board illustrated in Fig. 5 comprises five major functional blocks. As illustrated, there is a GSC communication interface 300 to communicate with the system controller and with other device controllers not shown here via GSC cable.
The GSC communication interface utilizes the Intel 80C152 as described previously in respect of the GSC board and will not be further described here.
Motion Controller 302 preferably comprises an Intel 80C196 based Motion Control Processor to generate motion profiles and to control up to eight motor drivers which may be either open-loop or closed-loop controlled devices not shown in this Figure.
Peripheral controller 304 is preferably an Intel 80C196 microprocessor which can interface to up to 128-input lines and up to 128-output lines. It will be understood that each input can be connected to receive input signals from photocells, switches and the like while the output lines may connect to devices such as solenoids, indicators, and the like all of which are not shown in the Figure. The general purpose Serial Link sections (GPSL) 306 and will be discussed below. In general terms, it comprises full duplex, 500K Baud communication links as indicated at 310 and 312 for communication with up to eight universal motor driver boards (not shown) or eight serial I/O boards (not shown) via a serial cable (not shown). The data is formatted in cyclical frames.
Shared memories 314, 316, 318, 320, and 322 are preferably used as message buffers among the processors in the various sections. Other means for communicating between and among the sections will occur to those skilled in the art and may be substituted for the shared memories if desired. The shared memories 316 and 318 are divided into two areas, a transmission buffer and a receiving buffer with the exchange done via a mailbox scheme as described above for the GSC communication. These memory buffers preferably comprise one transmit buffer and two receive buffers, each buffer having 32 bytes. One receive buffer is arranged to receive all odd number frames and the other is arranged to receive all even number frames of data. Instead of an interrupt, the GPSL controller uses a polling scheme for scanning the receive buffers and writes to the transmit buffer periodically.
In accordance with the mailbox scheme in respect of the other exchanges of data, one processor writes a message into the receiving buffer, and sets a flag in a special location to interrupt another processor. The other processor reads the message from the receiving buffer and acknowledges the interrupt by resetting the flag. Likewise for transmission of data the other direction, the second processor writes to the transmission buffer and sets another flag in a special location to to interrupt the first processor. The first processor reads the data from the transmission buffer and resets the flag. If a memory contention situation occurs, the lower priority microprocessor has one or more wait states inserted until access is available. reversed location The GSC Controller section also interfaces with an RS-232 port 324, as does the motion controller at 326. The peripheral controller has an RS-422 port shown at 328 instead of the RS-232 port.
Fig. 11 shows in more detail at 300 the GSC communication portion of the device control board 106. As brought out above the section utilizes the Intel 80C152 processor 350 to communicate information from the GSC board of the System Controller to shared memories 320 and 322 (memory 322 is shown only in outline). The operation is similar to that already described for the GSC board and will not be further discussed here.
Fig. 12 is a block diagram of the motion and/or peripheral controller section 302 and 304, each of which preferably comprises similar functional blocks using similar parts. Since the sections are similar only the motion control section will be described. This section includes three major components: control processor 360, preferably Intel 80C196KC based, for executing all motion control associated software; address-decoding logic shown at 362 for demultiplexing the CPU address from the address/data bus and for enabling the proper memory device for accessing; and the memory block shown generally at 364 comprising EPROM 366, preferably 64K bytes for code storage, SRAM 368 for data storage, and three, suitably 1K-byte dual port SRAM's 370, 372 and 374, respectively, for message buffers.
The motion control processor performs several software controlled functions. It generates motion profiles, preferably based on the function profiles which are downloaded from the system controller. It monitors encoder feedback and sensor data from the Peripheral Control Processor of section 304 and processes this information to control devices such as motors and sensors (not shown in this Figure) via the GPSL link described below. It preferably executes a user selected digital filter algorithm to generate pulse-width-modulated (pew) control commands for servo motors. It will also generate half-step pulse commands for open-loop step motors and will notify the System Controller when any error condition occurs.
As mentioned previously, the peripheral control block comprises the same functional blocks as described above for the motion controller. The processor in block 304 will execute module function profiles which are preferably downloaded from the System Controller and will control or interface with I/O boards via the GPSL link.
The GPSL link of which the Master controllers 306 and 308 form a portion provides a cyclic, preferably 500K Baud, master-slave serial communication which is optimized for motion control protocol. Each master controller is suitably implemented in a programmable logic device (PLD). Further details of the GPSL link are available from Application S.N.
(Atty. (Atty. Docket E-162) entitled Improved Communication Link for Control Applications filed on even date herewith, assigned to the assignee of the instant application and specifically incorporated herein by reference.
In accordance with the protocol for this communication link, each GPSL frame has one "flag" byte followed by eight (8) data channels, each data channel having three (3) bytes. Each data byte preferably comprises ten (10) bits, including eight (8) data bits, one (1) odd-parity bit and one zero-insertion" bit. Each data bit is preferably 8X oversampled.
The controllers perform the following functions. As a master node they generate a '2flag" field as reference to synchronize all Slave nodes. They fetch outgoing data from shared memory and pack it in proper format to send out.
They unpack incoming data and place it in the shared memory's receive buffers.
Fig. 13 is a block diagram showing a GPSL control link arrangement. The device controller 106 has two communication ports, only one of which is illustrated in Fig. 13, for example 312, for connecting to a plurality of up to eight devices each, some of which are illustrated at blocks 400, 402 and 404 . Each GPSL master node is connected to up to eight slave nodes, 406, 408, 410 each communicating to its respective device and with the serial communication port 312 at respective communication ports 412, 414, and 416. The details of these blocks are shown in Application S.N. ~~~~~~~~~~~, , (Atty. (Atty. Docket E-162) entitled improved Communication Link for Control Applications previously incorporated by reference and will not be further described here. The physical connection of the GPSL link is preferably implemented by two half-duplex RS-485 multipoint links. Four wire telephone cables shown at 420, 422, 424, and 426 are suitable for carrying these two pairs of differential signals, which swing between OV and +5V.
Modular phone jacks (not shown) are suitable for connector receptacles.
For best results in accordance with the invention the device controller interfaces with determined motors via a universal motor drive board such as the one illustrated at 500 in the block diagram of Fig. 14. it will be understood that the board 500 is representative of the ones shown at 108 and 110 of Fig. 5. The illustrated board 500 is a fully digital control, versatile motor driver which can drive a wide range of motors . When these boards are used in conjunction with the serial link described above and in application S.N. ~~~~~~~~, , (Atty. (Atty. Docket E-162), it will be appreciated that system integration time can be significantly reduced and system reliability increased. The significant features are a universal commutation control which can drive open- or closed-loop stepper motors, or DC or brushless motors. The board includes built-in quadrature-decoding circuitry for conventional optical encoders. The board also includes built-in "commutation phase advance" circuitry to improve high-speed performance and a built-in pulse-width-modulation (PWM) generator.
Turning now to Fig. 14, the board 500 comprises a slave node 502 of the GPSL link associated with internal registers illustrated at 504. The board 500 also includes position decoder/phase advance logic shown at 506, universal commutation logic illustrated at 508 and PWM generator 510 for control of the power switching stage 512 by the power drive control block 514. The drive board is shown outputting drive information to representative motor 516 which in accordance with the invention may be a DC, DC-brushless or stepper motor. The rotor shaft position may be monitored by means of encoder 518.
The GPSL block 502 provides the control link between the motor driver such as 500 and its associated device controller such as the device 106 of Fig. 10. The basic functions of this block to receive the motor commands and other control signals from the device controller. It provides frame synchronization with the master node of the device controller, receives information from the controller, checks the information and latches the commands and control data into the internal registers 504 and the decoder block 506. It also collects and formats the data and drive status for transmittal to the device controller.
Fig. 15 is a block diagram of the position decoder 506. The encoder information is fed to digital filter 550 and from there to decoding logic section 552 to provide a count and direction information to 16-bit up/down counter 554 for providing current position information to memory registers (not shown) which information is transmitted back to the device controller via the GPSL node 502. The input from the encoder may include polarity switch 556.
Suitably, a velocity signal output is provide to the universal commutation logic board. As illustrated the last position output is stored in a last position buffer means 558 and subtracted from the current position data at subtracter 560. Preferably diagnostic inputs such as a 12.5KHz clock input and other diagnostic signals as desired in diagnostic section 562.
The heart of the motor drive is a universal commutation logic. Fig. 16 is a block diagram of a suitable logic in accordance with the invention. As shown generally at 508, the logic section comprises a look-up table stored in EPROM block 600 which may include a plurality of varied commutation sequences such as , for example, half-step open-loop stepper motor, full-step closed-loop stepper motor, DC brush motor, and DC brushless motor commutation sequences.
Position encoder information as described in connection with Fig. 15, is received at the counters shown here at 602 and 604. As seen in Fig. 16, offsets may be added in via an offset switch 606 at a ten bit adder 608.
The motor type setting and the motor shaft position are read and the proper sequence is selected from the look-up tables automatically.
When the motor speed increases, the phase angle between the winding current in the motor and the commutation window shifts away. This phase shift reduces the usable motor torque. It has been found to be desirable to to compens 610 from whence in correspondence with the motor velocity, a determined phase advance is obtained which may be added to the position and offset information at adder 608. The resulting output is provided via 4-bit MUX 612 to the commutation sequence block 600 for controlling the power drive illustrated in Fig. 17.
Returning to Fig. 14, the PWM generator 510 converts the received digital command into an analog pulse train, suitably 32 KHz, to modulate in conventional manner the motor current and motor speed.
The power switching stage is illustrated in the block diagram of Fig. 17. As shown, the block 512 comprises two major components. There are two pairs of H-bridge power switches, one of which is shown generally at 650, the others being shown only in outline. For best results they should be capable of delivering 1000 watts output. The other component is current-limiting circuitry shown generally at 652. Preferably, the current limit may be set by the user.
Then as soon as any over-current condition is detected at the power switch, the PWM is disabled almost instantaneously. Conveniently, the prohibition is removed at the next PWM clock edge and the protection circuit restarted.
For further protection, as seen in Fig. 16, whenever the PWM command changes direction, there is a short commutation gap provided at 660 to prevent switch "shoot-through." it has also been found that protection is enhanced if when any communication error is detected, all drivers are turned off. When the driver has to be reset for any reason, the driver will stay in its idle state until the device control unlocks the condition.

Claims (14)

1. A system electrical architecture comprising control means for controlling a plurality of determined devices chosen from the group consisting of stepper motors, DC motors and brushless DC motors, said control means communicating with at least one motor drive controller by means of a master-slave communication means, said motor drive controller being operative for controlling at least a selected one of said plurality of devices, said master-slave communication means being a serial communication means, said control means including means for receiving and storing control parameters for operation of said plurality of devices, and said means for receiving being a second communication means adapted for communication with a system control means.
2. The system architecture of claim 1 wherein the second communication means is a GSC communication means.
3. The system architecture of claim 1 further comprising a second master-slave communication means for communication with at least one I/O means, said I/O means being connected to control at least one peripheral device.
4. The system architecture of claim 1 wherein the motor drive controller is a universal drive controller operative to selectively control each of said plurality of determined devices.
5. A system electronic architecture comprising a system control means for commanding operation of a plurality of devices, a first communication means, said system control means communicating via said first communication means with at least one device control means for controlling a plurality of determined devices chosen from the group consisting of stepper motors, DC motors and brushless DC motors, said device control means communicating with at least one motor drive controller by means of a master-slave communication means, said motor drive controller being operative for controlling at least a selected one of said plurality of devices, said master-slave communication means being a serial communication means, said device control means including means for receiving data from the system control means via said first communication means and for storing control parameters for operation of said at least selected one of the plurality of devices.
6. The system architecture of claim 5 wherein the second communication means is a GSC communication means.
7. The system architecture of claim 5 further comprising a second master-slave communication means for communication with at least one I/O means, said I/O means being connected to control at least one peripheral device.
8. The system architecture of claim 5 wherein the motor drive controller is a universal drive controller operative to selectively control each of said plurality of determined devices.
9. The architecture of claim 8 further comprising phase advance compensation means for providing a phase advance input for compensation for motor speed.
10. In a system architecture including a control means for controlling motor operation, the improvement comprising a universal motor drive apparatus including means for receiving motor commands from said control means, means for decoding encoder positioning information, commutation logic means, said commutation logic means storing commutation information for determined motor types, meams for accessing the commutation information in accordance with commands from the control means, pulse width modulation generator means, power switching means and power drive control means connected to said power switching means, said power drive control means controlling said power switching means for driving a selected one of said motor types in accordance with information received from a selected one of said commuation means and said pulse width generator means.
11. The architecture of claim 10 further comprising phase advance compensation means for providing a phase advance input for controlling the power drive control for compensation for motor speed.
12. The architecture of claim 10 wherein the commutation logic means includes EPROM means for storing the commutation information.
13. A system electrical architecture substantially as herein described with reference to and as illustrated in the accompanying drawings.
14. Any novel combination or sub-combination of features disclosed and/or illustrated herein.
GB9423044A 1993-11-15 1994-11-15 Universal electrical system architecture for control applications Expired - Fee Related GB2283836B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US15275993A 1993-11-15 1993-11-15

Publications (3)

Publication Number Publication Date
GB9423044D0 GB9423044D0 (en) 1995-01-04
GB2283836A true GB2283836A (en) 1995-05-17
GB2283836B GB2283836B (en) 1998-04-01

Family

ID=22544318

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9423044A Expired - Fee Related GB2283836B (en) 1993-11-15 1994-11-15 Universal electrical system architecture for control applications

Country Status (2)

Country Link
CA (1) CA2135718A1 (en)
GB (1) GB2283836B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997007442A1 (en) * 1995-08-11 1997-02-27 Siemens Aktiengesellschaft Buffer circuit on a module
WO1997019393A1 (en) * 1995-11-17 1997-05-29 Phoenix Controls Corporation Distributed environmental process control system
EP0881551A3 (en) * 1997-05-28 1999-08-11 KUKA Roboter GmbH Power supply device for the motors of a robot
EP0940738A3 (en) * 1994-10-24 1999-09-29 Fisher-Rosemount Systems, Inc. Apparatus for providing access to field devices in a distributed control system
EP0875810A3 (en) * 1997-05-01 2000-03-22 KUKA Roboter GmbH Method and device for monitoring an installation with several function units
EP1184754A3 (en) * 2000-08-08 2002-11-06 BOTTERO S.p.A. Control system for a machine for producing hollow glass articles
US6522096B1 (en) 1997-05-28 2003-02-18 Kuka Roboter Gmbh Control circuit for a robot power supply
EP1564611A3 (en) * 2004-02-10 2006-02-08 Fanuc Ltd Machine controller
US7181550B2 (en) 2002-02-12 2007-02-20 Fisher-Rosemount Systems, Inc. Highly versatile process control system controller
DE19813203B4 (en) * 1997-03-25 2007-08-02 Mitsubishi Denki K.K. Method for controlling a plurality of servo controls and servo control system
EP2138916A1 (en) * 2008-06-24 2009-12-30 SICK STEGMANN GmbH Position measuring system
US7878250B2 (en) 2002-07-08 2011-02-01 Fisher-Rosemount Systems, Inc. System and method for automating or metering fluid recovered at a well
US8125405B2 (en) 1999-02-12 2012-02-28 Fisher-Rosemount Systems, Inc. Wearable computer in a process control environment
US8369982B2 (en) 2007-07-20 2013-02-05 Ferag Ag Method and device for inserting, collecting or collating a plurality of flexible, planar products
US9298176B2 (en) 2012-01-17 2016-03-29 Fisher-Rosemount Systems, Inc. Compensating for setpoint changes in a non-periodically updated controller
US10423127B2 (en) 2012-01-17 2019-09-24 Fisher-Rosemount Systems, Inc. Velocity based control in a non-periodically updated controller
US11199824B2 (en) 2012-01-17 2021-12-14 Fisher-Rosemount Systems, Inc. Reducing controller updates in a control loop

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2132382A (en) * 1982-10-13 1984-07-04 Truetzschler & Co Method and device for controlling a spinning works preparatory plant
EP0272397A2 (en) * 1986-10-27 1988-06-29 Vickers Incorporated Electrohydraulic system with distributed control
US4780814A (en) * 1987-02-09 1988-10-25 Intel Corporation Global serial channel for microcontroller
GB2261750A (en) * 1988-09-21 1993-05-26 Honda Motor Co Ltd Method of monitoring nut runners

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2132382A (en) * 1982-10-13 1984-07-04 Truetzschler & Co Method and device for controlling a spinning works preparatory plant
EP0272397A2 (en) * 1986-10-27 1988-06-29 Vickers Incorporated Electrohydraulic system with distributed control
US4780814A (en) * 1987-02-09 1988-10-25 Intel Corporation Global serial channel for microcontroller
GB2261750A (en) * 1988-09-21 1993-05-26 Honda Motor Co Ltd Method of monitoring nut runners

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8184562B2 (en) 1994-10-24 2012-05-22 Fisher-Rosemount Systems, Inc. Process control system having dual wireless communication links
EP0940738A3 (en) * 1994-10-24 1999-09-29 Fisher-Rosemount Systems, Inc. Apparatus for providing access to field devices in a distributed control system
US7623479B2 (en) 1994-10-24 2009-11-24 Fisher-Rosemount Systems, Inc. Process control system devices with dual hardwired and wireless communication ports
US6236334B1 (en) 1994-10-24 2001-05-22 Fischer-Rosemount Systems, Inc. Distributed control system for controlling material flow having wireless transceiver connected to industrial process control field device to provide redundant wireless access
US7609660B2 (en) 1994-10-24 2009-10-27 Fisher-Rosemount Systems, Inc. Wireless transceiver pair disposed within a process control system
US7602741B2 (en) 1994-10-24 2009-10-13 Fisher-Rosemount Systems, Inc. Field device in a process control system using wireless radio communications to transmit and receive sense and control signals
US7519012B2 (en) 1994-10-24 2009-04-14 Fisher-Rosemount Systems, Inc. Distributed control system for controlling material flow having wireless transceiver connected to industrial process control field device to provide redundant wireless access
US7453834B2 (en) 1994-10-24 2008-11-18 Fisher-Rosemount Systems, Inc. Distributed control system for controlling material flow having wireless transceiver connected to industrial process control field device to provide redundant wireless access
WO1997007442A1 (en) * 1995-08-11 1997-02-27 Siemens Aktiengesellschaft Buffer circuit on a module
DE19529718C2 (en) * 1995-08-11 2000-03-23 Siemens Ag Buffer circuit arranged on a module
WO1997019393A1 (en) * 1995-11-17 1997-05-29 Phoenix Controls Corporation Distributed environmental process control system
US5831848A (en) * 1995-11-17 1998-11-03 Phoenix Controls Corporation Distributed environmental process control system
DE19813203B4 (en) * 1997-03-25 2007-08-02 Mitsubishi Denki K.K. Method for controlling a plurality of servo controls and servo control system
EP0875810A3 (en) * 1997-05-01 2000-03-22 KUKA Roboter GmbH Method and device for monitoring an installation with several function units
EP0881551A3 (en) * 1997-05-28 1999-08-11 KUKA Roboter GmbH Power supply device for the motors of a robot
US6522096B1 (en) 1997-05-28 2003-02-18 Kuka Roboter Gmbh Control circuit for a robot power supply
US8125405B2 (en) 1999-02-12 2012-02-28 Fisher-Rosemount Systems, Inc. Wearable computer in a process control environment
EP1184754A3 (en) * 2000-08-08 2002-11-06 BOTTERO S.p.A. Control system for a machine for producing hollow glass articles
US7181550B2 (en) 2002-02-12 2007-02-20 Fisher-Rosemount Systems, Inc. Highly versatile process control system controller
US7878250B2 (en) 2002-07-08 2011-02-01 Fisher-Rosemount Systems, Inc. System and method for automating or metering fluid recovered at a well
EP1564611A3 (en) * 2004-02-10 2006-02-08 Fanuc Ltd Machine controller
US8369982B2 (en) 2007-07-20 2013-02-05 Ferag Ag Method and device for inserting, collecting or collating a plurality of flexible, planar products
EP2138916A1 (en) * 2008-06-24 2009-12-30 SICK STEGMANN GmbH Position measuring system
US9298176B2 (en) 2012-01-17 2016-03-29 Fisher-Rosemount Systems, Inc. Compensating for setpoint changes in a non-periodically updated controller
US10423127B2 (en) 2012-01-17 2019-09-24 Fisher-Rosemount Systems, Inc. Velocity based control in a non-periodically updated controller
US11199824B2 (en) 2012-01-17 2021-12-14 Fisher-Rosemount Systems, Inc. Reducing controller updates in a control loop

Also Published As

Publication number Publication date
GB9423044D0 (en) 1995-01-04
CA2135718A1 (en) 1995-05-16
GB2283836B (en) 1998-04-01

Similar Documents

Publication Publication Date Title
US5710755A (en) Communication system for control applications
GB2283836A (en) System architecture for control applications
US6016523A (en) I/O modular terminal having a plurality of data registers and an identification register and providing for interfacing between field devices and a field master
JP3566304B2 (en) Bus control device and bus control system
EP0446733B1 (en) Servo control system
CN101310231A (en) Serial bus system, node device and an input/output card that can be connected to the node device
EP1361487B1 (en) Apparatus and method for motor control
CN114089662A (en) Implementation method of novel high-performance electronic shaft transmission control system
JPS62500555A (en) Interface circuit for connecting digital devices to time multiplexed links
CN218675783U (en) EtherCAT bus type multi-axis drive and control integrated machine based on system on chip
US5717874A (en) Apparatus for data transfer between image memory and external I/O device wherein inner registers set the image valid area, direction and moder of transfer
JPH02287665A (en) Interface module
CN205092874U (en) Data link layer circuit of real -time ethernet of industry
CN211319204U (en) IP core capable of freely converting multiple encoder protocols based on FPGA
US5954800A (en) Data communications network adaptor with duplicate interface boards operating alternately in active and stand-by modes
EP0924899B1 (en) Circuit arrangement for a synchronized interchange of data between different locally dedicated signal sources
JP2000324896A (en) Data transmission system and image forming apparatus
CN105245422B (en) A kind of data link layer circuitry and its method for interchanging data of industry real-time ethernet
KR100361511B1 (en) Multi-Function Serial Communication Interface Device
CN221784188U (en) EtherCAT slave communication system
EP4429208A1 (en) Data communication in a device driver supporting multiple encoder protocols
US6460092B1 (en) Integrated circuit for distributed-type input/output control
CN105281999A (en) A bus-type driver port and a control method thereof
JP2021153269A (en) Communication system, actuator used as slave device for communication system, and communication system
KR900007404B1 (en) General purpose digital connection module circuit

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20031115