Embodiment
As shown in Figure 1, great majority " intelligence " process transmitter is shared is the common architecture at center with the microcontroller.As shown in the synoptic diagram of the circuit of theprocess transmitter 100 that provides at Fig. 1, the framework of conventional procedure transmitter comprises: one or moreprocess variable sensor 105; And corresponding simulating is used for converting analog sensor signal to representational digital signal to numeral (A/D) converter 110.Typically, process transmitter also comprises: non-volatile (NV)memory assembly 115 is used for process variable or other information during thestorage operation.Microcontroller 120 communicates with A/D converter 110 andmemory assembly 115 by bus (as, serial peripheral interface (SPI)bus 125).Thespi bus 125 and the corresponding SPI agreement that can be used for the communication between main equipment (for example, microcontroller 120) and the slave unit (for example, A/D converter 110,memory assembly 115 etc.) are well known in the art.Although the disclosed embodiments have been set forth in the use with reference to spi bus, yet the disclosed embodiments are not limited to use with spi bus and SPI agreement.On the contrary, can realize using the communication of additive method, for example, use many main equipments series machine bus I2C or Universal Asynchronous Receiver Transmitter (UART).Except management and control with such as the communicating by letter of A/D converter 110 andmemory assembly 115 equipment such as grade,microcontroller 120 is typically execution and sensor and the process variable function associated that senses also, as, read and processing procedure variable signal, signal correction, diagnostic function etc.
As shown in Figure 1,
traditional process transmitter 100 also typically comprises: the numeral that is subjected to
microcontroller 120 controls is to simulation (DAC)
circuit 130, be used for providing control signal successively the 4-20mA signal on output control circuit 135 (for example via output circuit 140) the control procedure control loop to output control circuit 135.Make with
dashed lines 145 represent the process control loop that is coupled with process transmitter.Typically,
process transmitter 100 also comprises:
adjuster circuit 147, reception comes the electric power of the assembly power supply that is used to transmitter of self-loop 145.In addition, typically under the control of
microcontroller 120,
process transmitter 100 comprises that digital communication protocol (for example,
) modulator-
demodular unit 150, this digital communication protocol modulator-
demodular unit 150 is communicated by letter with
output control circuit 135, to use digital communication protocol by 4-20mA loop transmission of digital signals.In addition, can also use the wireless transmission of digital signal, rather than transmit by the 4-20mA loop.
As can be seen, be very high for the requirement of microcontroller because typically microcontroller must satisfy a plurality of demands, provide as example here but be not be expressed as absolute, the demand that is comprised in for example following tabulation:
Micropower operation (below 1mA).
Real time operating system: microcontroller must read, handle and announce that sensor upgrades with the speed (for example, typically every 45mS) of rule.
Signal correction: the microcontroller read sensor information is also carried out correcting algorithm, to compensate master variable at various error sources.
Digital communication: all smart machines (for example, are supported digital communication protocol
Communication protocol).This makes microcontroller bear the heavy burden of acceptance and acknowledge message, composition response and announcement.
Diagnostic activities: controller must manage diagnostic activities, and this diagnostic activities has been guaranteed the accurate operation of equipment.
As mentioned above, the system's implementation that satisfies in the process transmitter of demand of all these aspects makes the resource (for example, power consumption, storage space and execution time) of modern microcontroller bear heavy burden.Consider that the process transmitter product demand has exceeded the improvement of microcontroller technology usually, disclose different process transmitter frameworks, the performance raising that these process transmitter frameworks allow has exceeded the admissible performance of microcontroller technological improvement and has improved.These process transmitter frameworks for example help to provide faster speed (for example, 20mS renewal rate), more perfect correcting algorithm, multivariate support and high level diagnostics under the situation of Power Limitation being no more than.
Term " DSP " (digital signal processor) refers to the technology of the broad range that numeral (scale-of-two) signal is operated.Its implementation is typically towards hardware, yet also can use the software of being carried out by microcontroller to realize.Using the advantage of hardware approach is to realize calculating operation more efficiently than software approach.For this reason, there are many available finished product hardware DSP products.Yet the overwhelming majority of these products is applicable at a high speed, the high power environment, and current drain can easily surpass 100mA under such environment.Since these equipment be designed to fast turn-around (for example, 100MHz), so these equipment typically do not allow its power/performance to zoom to the desired power level of process instrument of loop power supply.
In example embodiment, using DSP, this DSP is mixing of the software operated in hardware and the coprocessor of operative algorithm.This has at the advantage of the lower-wattage of hardware realization (is cost with the dirigibility) and the advantage that dirigibility is provided and is convenient to carry out easily the software of renewal process.The example of this mixing DSP framework comprises the flowmeter dsp chip, the coprocessor that this flowmeter dsp chip uses the hardware filtering device and disposed by software.In the present embodiment, hardware can be used to realize polynomial equation, and this polynomial equation is according to determining pressure at the temperature value and the A/D converter value of employed various sensors.In these equations, it is changeable only needing coefficient, and this can use register to handle.
Fig. 2-1 shows the block diagram that uses first framework to improve the process transmitter 200-1 of transmitter performance.In Fig. 2-1, illustrated and be used for threesensors 202 that process is monitored, yet this embodiment and other embodiment are not limited to the sensor of any concrete number.For example,sensor 202 can be differential pressure (DP) sensor, pressure (P) sensor, temperature (T) sensor etc.Eachsensor 202 is coupled to A/D converter 204, and A/D converter 204 converts sensor output to digital value.Each A/D converter 204 is coupled todigital signal processor 210 via sheet choosing (CS) line, interruption (INT) line and serial peripheral interface (SPI) bus.When A/D converter 204 has the sensor information of renewal, these A/D converters 204 produce interruption on the INT line, after being used corresponding CS line options byDSP 210, selected A/D converter 204 is sent to DSP with the sensing data that upgrades by spi bus.Each A/D converter 204 slave unit will have independent CS line (for example, CS1, CS2 and CS3) and independent INT line (for example, INT1, INT2 and INT3), but can share spi bus.After this, for the sake of simplicity, these lines are referred to as CS line and INT line, but it must be understood that, will use different CS lines and INT line usually.
In conventional procedure transmitter framework, microcontroller (as, microprocessor 230) control pick-up data processing (for example, calculate, compensation or the like) function and come the communication function of transmission sensor related data by the two wires process loop.And different with this conventional architectures, in the framework that in Fig. 2-1, uses, independent DSP 210 is placed betweenmicroprocessor 230 and the A/D converter 204.DSP 210 carries out sensor interface function (for example, handle and interrupt and the receiving sensor data) and sensing data computing function, andmicroprocessor 230 is carried out the circuit communication function.
DSP 210 reads the value that A/D converter 204 provides by spi bus, and these values are stored in the input data register 212.Coprocessor 215 among the DSP 210 calculates output valve then, these output valves is stored in theoutput data register 217, and creates interruption towardsmicroprocessor 230, and thismicroprocessor 230 has related storer (for example, E2Or FRAM storer).Usually, will provide microprocessor access by DSP 210, to avoid timing problems and bus contention problem to A/D converter.
In
case microprocessor 230 receives the sensor information that DSP 210 is calculated,
microprocessor 230 just uses digital communication modulator-demodular unit and/or digital to analog converter (DAC) to come data transmission on the control procedure loop 145.In an illustrated embodiment, digital communication modulator-demodular unit and DAC are merged in the single communication circuit chip 240.Yet, in other embodiments, use independent digital communication modulator-demodular unit and DAC chip.With monolithic form the expression of these circuit is not limited to the disclosed embodiments this configuration.The HART modulator-demodular unit that the example of digital communication modulator-demodular unit is to use HART communication protocol to communicate on two wires process loop 145.Circuit communication also can be realized by other industry standard communication protocols.The example of the industry standard communication protocols that is fit to includes but not limited to:
FOUNDATION
TMFieldbus, Profibus-PA and controller local area network (CAN).In the accompanying drawings the digital communication modulator-demodular unit is expressed as
The form of modulator-demodular unit only is an example, the disclosed embodiments can't be limited to
Communication protocol.
Wave filter 245 is coupled to the 4-20mA circuit and the filtering DC component of process loop, and making can be right
The frequency shift keying that uses in the communication (FSK) signal is analyzed.DAC is used for controlling
output circuit 250, and this
output circuit 250 is provided with the 4-20mA electric current on the loop 145.The digital communication modulator-demodular unit is used for sending digital signal via
output circuit 250 on current return.For example, use CS and spi bus circuit to realize and the communicating by letter of digital communication modulator-demodular unit or DAC.In addition, for the digital communication modem portion of
telecommunication circuit 240, the circuit of the transmission data (TXD) between
microprocessor 230 and
telecommunication circuit 240/reception data (RXD) also is used for the transmission or the reception of control figure data.Between
circuit 240 and
output circuit 250, provide to send data line and signal (TXA),, thereby be convenient to digital communication on the loop with controlling output circuit.Can provide 1 bit signal MSB (for example, the highest significant position signal) to output
circuit 250 from the DAC part of telecommunication circuit, this signal is the pulse number modulation (PNM) signal, with the control loop current level.
The communication function on the manipulation process loop,microprocessor 230 is also controlled other communication functions, as, controller local area network (CAN) communication.In the embodiment shown, SPI to CAN communication chip uses INT, CS and spi bus circuit to communicate betweenmicroprocessor 230 and CAN equipment.In addition,microprocessor 230 communicates with diagnosis A/D converter 270, and this diagnosis A/D converter 270 is used to diagnose the safe operation with supervisory system.In example embodiment, A/D 270 is 10 bit devices that combine with temperature (board temperature) on monitoring loop current level, supply voltage level, reference power and other voltage and the plate and use.
In the framework that process transmitter 200-1 uses,microprocessor 230 is not born processing and is measured the A/D interruption of passage and sensing data is calculated these task with traditional.The ground that replaces,microprocessor 230 is used for communication or system's control by main reservation.This is particularly useful, because under the situation of the low-power level that can be used by the process transmitter ofprocess loop 145 power supply, master microprocessor is difficult to get caught up in faster sampling rate (cause interrupt rate faster, or the like).
Fig. 2-1 shows and is configured to the process transmitter that communicates by the process control loop.Yet other embodiment also can be configured to carry out radio communication with pulpit, other process devices or with general other equipment.The example of the process transmitter 200-2 of this radio communication is provided in Fig. 2-2.Process transmitter 200-2 has the identical framework of framework with process transmitter 200-1 shown in Figure 1, and difference is to transmit by the process control loop assembly of data.For example, because process transmitter 200-2 does not communicate (perhaps at least not merely like this) by the process control loop, sooutput circuit 250 does not need to comprise in all embodiments.Similarly, can omitcommunication circuit chip 240 andHART wave filter 245, perhaps can make its any necessary function be implemented in other places, for example, be implemented in thewireless communication module 280, thiswireless communication module 280 can substitute the assembly relevant with circuit communication from process transmitter 200-1.If not only needed radio communication but also needed communication by the process control loop, thencommunication module 280 for example can comprise assembly 240,245 and 250, and can be connected tomicroprocessor 230 separately.
According to application,
wireless communication module 280 can be suitable for communicating according to any suitable wireless communication protocol, these wireless communication protocols include but not limited to: radio network technique (as, IEEE 802.11 (b) WAP and by Linksys of Irvine, the wireless networking device that California makes up), honeycomb or digital internetworking (as, Aeris Communications Inc.ofSan Jose, California's
), ultra broadband, global system for mobile communications (GSM), GPRS (GPRS), CDMA (CDMA), spread spectrum, short message passing service/communication of text messages (SMS) or any other suitable wireless radiofrequency technology.In addition, can adopt known data collision technology, make adopt a plurality of process transmitters of radio-
frequency communication module 280 and/or handheld field maintenance tools can coexist and be operated in each other the radio operation scope.This collision prevents to comprise a plurality of different radio-frequency channels and/or spread spectrum.In addition,
communication module 280 can be commercial available bluetooth communication.In the embodiment shown in Fig. 2-1,
communication module 280 is the assemblies that are coupled to the antenna (not shown) in the transmitter 200-2, and this antenna can be inside antenna or exterior antenna.In other embodiments,
module 280 can be in the outside of transmitter 200-2.
For illustrative purposes, remaining process transmitter embodiment is shown the process transmitter (for example, wired embodiment) of the type that is coupled to the process control loop and communicates via the process control loop.Yet, it must be understood that each among these embodiment all should be interpreted as also comprising corresponding wireless communication procedure transmitter embodiment.In these corresponding wireless embodiment, and can be replaced bywireless communication module 280 by the relevant circuit of the communication of process control loop (shown in corresponding wired embodiment).In addition, because the common architecture that is adopted for the purpose of discussing, hereinafter is referred to as process transmitter " 200 " with process transmitter 200-1 and 200-2, Fig. 2-1 and Fig. 2-2 are referred to as " Fig. 2 ".
Fig. 3 shows the block diagram ofprocess transmitter 300, and thisprocess transmitter 300 uses framework very similar second framework used with process transmitter shown in Figure 2 200.In this framework,microprocessor 230 is removed from the data routing that is used for the 4-20mA electric current on the control procedure loop 145.In order to realize this point, directly drive the output DAC part oftelecommunication circuit 240 from DSP 210.As can be seen from Figure 3, CS and spi bus are coupling betweenDSP 210 and thetelecommunication circuit 240, so that this data routing.This make from A/D converter 204 send pressure data the time be carved into the stand-by period in the moment that simulation output is updated and shorten; Because in transmitter, need communication seldom.Still pass throughmicroprocessor 230 to modulator-demodular unit (for example referring to the TXD/RXD circuit) with the digital communication of the digital communication modem portion ofcircuit 240, with the digital communication ofCAN interface 260 too.
Fig. 4 shows the block diagram of process transmitter 400, process transmitter 400 uses and Fig. 2 and process transmitter 200 shown in Figure 3 and 300 the 3rd similar framework of framework.Process transmitter 400 for example has several respects different with process controller 300.The first, process transmitter 400 comprises the additional special IC (ASIC) of the form with communication module 420.Communication module 420 is to carry out the single ASIC of following function: from the digital communication of telecommunication circuit 240 (for example, HART) modulator-demodular unit,wave filter 245, SPI toCAN interface 260 and CAN power circuit.In addition, as make with dashed lines represented, in certain embodiments, system diagnostics A/D converter 270 can also be embodied as the part ofcommunication module 420.
In order to allow that these function combinations from different circuit units are becomesingle communication module 420, DAC function and the digital modems functional separation fromtelecommunication circuit 240, this allows to realize the digital modems function in communication module.Can realize the DAC circuit in any other place with independence (stand alone) integrated circuit (IC) when needed then with replacing.In the embodiment shown in fig. 4, addDAC circuit 415 to DSP 410, DSP 410 directly communicates by letter with 4-20mA output circuit 250 with the 4-20mA electric current in thecontrol loop wiring 145 then.Except being to comprise theDAC 415 that with DSP 210 difference parts DSP410 can also omitoutput register 217 alternatively because the DAC controlling value is directly to offeroutput circuit 250, rather than bymicroprocessor 230 by interrupting handling.
Fig. 5 shows the block diagram of theprocess transmitter 500 that uses the 4thframework.In process transmitter 500, the A/D converter that is coupled tosensor 202 only comprises artificial circuit part, and does not comprise the digital circuit decimation filter that (for example, in A/D converter 204) realized in A/D converter usually.As directed, a plurality of A/D converters are merged in the single chip 504.Yet, represented as dotted line, can replace A/D converter 504 is embodied as the chip of separation.Each A/D converter provides its sensor coherent signal being coupled on a pair of high-speed data (HSD) the 1 Bit data line of DSP 510.
Realized that with above reference DSP 410 shown in Figure 4 theDSP 510 of the function that the function described is similar has realized being used for thedecimation filter 515 of A/Dfunction.Decimation filter 515 has been created many bit words (for example, 24 bit words) of expression sensor values.For this reason, decimation filter generates long word by carrying out down-sampling with lower frequency, converts high speed 1 bit signal that provides on the HSD line to many bit words.Then, as among the embodiment formerly, many bit words that the down-sampling by decimation filter can be produced are stored in the input register 212.Can compriseSPI communication register 520, thisSPI communication register 520 is used to store the data that will transmit as input and/or output register on one or more spi bus.As directed, this embodiment is not necessarily need be at the output register of DAC, becauseDAC 415 can be directly obtained data necessary from thecoprocessor 215 of DSP 510.Yet, for this purpose or other purposes, for example allowmicroprocessor 230 to read to be used to test, the value of diagnosis etc., can comprise the DAC output register.For example, show this point in the embodiment shown in fig. 8, and following will describing in further detail.
In some optional embodiment, as directed,microprocessor 230 and A/D converter 504 can for diagnose, dispose or other purposes in direct communication each other.By inprocess transmitter 500, adding INT, CS and the spi bus circuit that A/D converter 504 is linked to each other withmicroprocessor 230, be convenient to carry out this communication.In addition, can be alternatively addscrambler 506 anddemoder 508 so that the secure communication between the remainder of A/D converter 504 and process transmitter, rather than (or in addition) use HSD line is communicated by letter between A/D converter 504 and DSP 510 to process transmitter.
Inprocess transmitter 500, can use three or more ASIC configurations that simulated assembly is separated fully with digital assembly.The decimation filter function that employing is addedDSP 510 to other digital functions can be used littler geometry at digital assembly, and can obtain littler power consumption.This is important factor, because process transmitter manufacturer attempts adding increasing function to their equipment, still is subjected to the restriction of the equal-wattage limit simultaneously.
Fig. 6 shows the block diagram ofprocess transmitter 600, and thisprocess transmitter 600 uses the 5th similar framework of framework withprocess transmitter 500, but it is integrated to have an other IC.As can be seen from Figure 6, output ASIC or communication module 420 (can comprise A/D converter 270) merge to formhybrid ASIC 604, because the two all is a hybrid apparatus with A/DASIC 504.In addition, DSP ASIC 510 is merged into individual digit DSP ASIC610 with system'smicrocontroller 230, because the two all is pure digital device.This framework may use available techniques best.Best " numeral " process can be used for DSP ASIC 610, and best " hybrid " process can be used for A/D ASIC 604.
Fig. 7 shows the block diagram ofprocess transmitter 650, and thisprocess transmitter 650 uses and the 6th similar frameworks of above-mentioned framework, but it is integrated to have an otherIC.In process transmitter 650, usesingle ASIC 660 to realize A/D converter, DSP, microprocessor and communication module.In example embodiment, unique assembly that is not implemented in thesingle ASIC 660 issensor 202,output circuit 250 and optional external memory devices 232.Framework shown in Figure 7 may be sacrificed some power efficiencies owing to the combination of analog-and digital-assembly, but also provides cost savings potentially in integrated chip production.
Fig. 8 shows the block diagram of process transmitter 700, and this process transmitter 700 uses the measurement passage of isolating.In the illustrated embodiment of this framework, sensors A/D converter adopts the form of sigma-Delta (∑-Δ) modulator 706, and this sigma-delta modulator 706 provides high-speed data signal, for example those signals shown in Fig. 5-7.Although the form with sigma-delta modulator 706 illustrates, yet sensors A/D converter not necessarily all is sigma-delta modulator in all embodiments.In addition, formerly the A/D converter circuit shown in the figure can adopt the form of sigma-delta modulator.
Can be fed to data encoder 707 to the HSD line from sigma-delta modulator 706, data encoder 707 synthesizes individual traffic to the set of streams from sigma-delta modulator.This individual traffic passes through isolating transformer 708, and is provided for the data decoder 709 that is included in the DSPASIC 710.Demoder 709 is with the only data stream of this individual data flow point receipt.Then,decimation filter 515 data stream that each is independent in the DSP 710 is transformed into many bit words.Then each many bit words is stored in the data register 212.Although in some figure, utilize single square frame to showdecimation filter 515 anddata register 212, yet as shown in Figure 8, can use a plurality of decimation filters and a plurality of data register to realize these circuit units.
Except comprising data decoder 709, DSP 710 turns round very similarly with above-described framework.Coprocessor 215 is coupled todata register 212 equally, and is configured to the data in theregister 212 are carried out calculating.Comprise DAC register 712 alternatively, be used to store the data fromcoprocessor 215, these data are used as input and offer DAC415 after storage, are provided with the 4-20mA electric current in 250 pairs ofloop wirings 145 of controlling output circuit.In addition, as in the above-mentioned framework,SPI data register 520 is coupled tocoprocessor 215 and other assemblies, so that communicate by letter with the SPI of microprocessor 230.Microprocessor 230 comes control figure communication via digital communications module 742 equally.
In addition, optional communication check circuit 720 has been shown in DSP 710, whether this communication check circuit 720 detects and is interrupted with communicating by letter of sensor/sigma-delta modulator, so that can correspondingly notify themicroprocessor 230 of being responsible for the communication in the wiring of loop.In addition, compriseimpulse output circuit 725 alternatively among the DSP 710 in the flowmeter embodiment of process transmitter 700, thisimpulse output circuit 725 is coupling betweencoprocessor 215 and the output circuit 250.Impulse output circuit 725 controllingoutput circuit 250 produce pulse output, the frequency representation stream of this pulse output.Theaccumulator circuit 730 that is coupled to pulse output is configured to keep total flow based on pulse output.
In addition, comprise clock circuit 735 in process transmitter 700, this clock circuit 735 provides clock signal at the operation of assembly.Alternatively, can use second isolating transformer 740 to come additionally to provide clock signal, keep DSP and the isolation of measuring channel circuit simultaneously to DSP 710.Two other optional components in the process transmitter 700 comprise communication decoding circuit 745 and fault data memory circuit 750.Communication decoding circuit 745 is coupled to data encoder 707, is used for for multiple purpose (as, diagnostic function etc.) coded data being decoded.The data of the fault in fault data memory circuit 750 storage representation sensors or other assembly functions.
Fig. 9 shows the block diagram ofprocess transmitter 800, and thisprocess transmitter 800 uses the framework of the upgrading of expression foregoing structure (for example, not using the process transmitter 200,300 and 400 of HSD line or isolation characteristic at first).In this embodiment, spi bus that can be by using INT, CS method, realize communication between variables A/D converter by the HSD line or by the two.For the ease of communicating, provide function and scrambler shown in Figure 8 707similar scrambler 805 via the HSD line that provides from A/D converter 204.Also comprise isolatingtransformer 810, with DSP thatprocess transmitter 800 is provided and measure isolation between the passage.Ontransformer 810 two ends, transmit coded data.For these data are decoded, in DSP 810, comprise decoding and decimation filter circuit 815.Owing between HSD line and DSP 810, provide isolation, so also can between spi bus and DSP 810, comprise buffer circuit 811 (for example can comprise coding circuit, isolating transformer and decoding circuit).Other features ofprocess transmitter 800 are identical or similar with the feature with same numeral of the framework of describing with reference to other accompanying drawings.For this HSD being described and isolating the spendable various different frameworks of upgrading, in Fig. 9, the digital modems from Fig. 3 and 4telecommunication circuit 240 partly is shown theassembly 840 that separates, rather than combines withDAC 415 or with other assemblies in thecommunication module 420.
Although reference example embodiment has described the present invention, yet those skilled in the art will recognize that, can carry out the modification on form and the details under the premise without departing from the spirit and scope of the present invention.For example, can be the various features of different embodiment are combined at specific implementation.Although be exclusively used in architectural feature and/or method the action language description theme, yet will understand, might not be limited to above-mentioned special characteristic or action at theme defined in the appended claims.On the contrary, above-mentioned special characteristic and action are as the form of the example that realizes claim and disclosed.