EP0711430A1 - Regulateur de flux massique - Google Patents

Regulateur de flux massique

Info

Publication number
EP0711430A1
EP0711430A1 EP93916478A EP93916478A EP0711430A1 EP 0711430 A1 EP0711430 A1 EP 0711430A1 EP 93916478 A EP93916478 A EP 93916478A EP 93916478 A EP93916478 A EP 93916478A EP 0711430 A1 EP0711430 A1 EP 0711430A1
Authority
EP
European Patent Office
Prior art keywords
signal
routine
flow
mass flow
tested
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.)
Withdrawn
Application number
EP93916478A
Other languages
German (de)
English (en)
Other versions
EP0711430A4 (fr
Inventor
Michael Dean Upchurch
Richard Lee Donaldson
James H. Doyle
Michael J. Doyle
Robert Laragione
Kim Ngoc Vu
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.)
Unit Instruments Inc
Original Assignee
Unit Instruments 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 Unit Instruments Inc filed Critical Unit Instruments Inc
Publication of EP0711430A4 publication Critical patent/EP0711430A4/fr
Publication of EP0711430A1 publication Critical patent/EP0711430A1/fr
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D7/00Control of flow
    • G05D7/06Control of flow characterised by the use of electric means
    • G05D7/0617Control of flow characterised by the use of electric means specially adapted for fluid materials
    • G05D7/0629Control of flow characterised by the use of electric means specially adapted for fluid materials characterised by the type of regulator means
    • G05D7/0635Control of flow characterised by the use of electric means specially adapted for fluid materials characterised by the type of regulator means by action on throttling means

Definitions

  • the invention relates to a mass flow controller that may be controlled by a host process controller. More particularly, the invention relates to a mass flow controller having an internal digital linearizer.
  • thermal mass flow sensing element which usually comprises a pair of sensing windings wound about a sensor tube through which a portion of a flow of gas travels, is nonlinear with respect to the actual mass flow rate of gas or vapor through the sensor tube.
  • a mass flow controller includes a segment generator comprising a plurality of precision limiters having operational amplifiers, diodes and potentiometers.
  • the segment generator provides piecewise linearization to the bridge output signal of the mass flow controller.
  • this type of segment generator must be adjusted by hand when the mass flow controller is manufactured and retains its hand adjustment settings even when the mass flow controller is incorporated in a gas shelf of a diffusion furnace or gas supply system of a chemical vapor deposition apparatus, or a plasma system or the like.
  • the segment generator only will adjust at four points along the flow curve, the 25 percent, 50 percent, 75 percent and 100 percent flow points leaving some nonlinear distortion between those points which may not be zeroed out of the mass flow controller.
  • Conventional thermal mass flow controllers also suffer from the disadvantage that their response may change as they age in a gas shelf, as parts are worn or as material accumulates in the sensor tube. As a result, the response of the mass flow controllers may shift while the manual settings of their linearizing segment generators do not change.
  • thermal mass flow controller that may be recalibrated in situ and which provides highly accurate response to a given flow command signal.
  • the present invention comprises a mass flow controller, more specifically a mass flow controller having a sensor that may respond voluntarily with respect to the rate of flow of gas.
  • a corrected sensed mass flow signal is produced by the inventive apparatus and used as a control signal.
  • the mass flow controller receives a linear mass flow command or set point signal from the host process controller and produces a translated mass flow set point.
  • Such a translated set point signal is in the form of an analog signal which conventionally may assume any value between zero and five volts with zero volts representing zero mass flow rate and five volts representing 100 percent or full flow through the mass flow controller.
  • the mass flow controller may flow gas at a 15 percent or 25 percent mass flow rate because the mass flow controller is responding nonlinearly to the linear mass flow command signal.
  • the mass flow controller has stored, in a nonvolatile memory connected to a microcontroller, a multiple entry table of values which represents mass flow offsets or mass flow corrections.
  • the linear mass flow command signal is digitized by an analog-to-digital converter in the microcontroller, a processing unit of the microcontroller, in response to the flow command digitized signal, accesses a lookup table within the nonvolatile memory of the microcontroller, and the processing unit of the microcontroller generates a digitized mass flow correction signal.
  • the digitized mass flow correction signal is fed to a digital-to- analog converter in the microcontroller.
  • the digital- to-analog converter produces an analog flow command correction signal.
  • the analog flow command signal is added with the linear mass flow command correction signal received from the host process controller to produce a translated or corrected mass flow command analog signal which is then compared to a corrected flow signal.
  • the thermal mass flow controller also includes a sensor output pin or node which generates a sensed mass flow signal which may be perturbed by the nonlinear response of the mass flow controller.
  • the sensed mass flow signal is received by the apparatus and is digitized.
  • the processing unit accesses a flow correction value from the EPROM.
  • the flow correction value is supplied to the digital-to-analog converter which produces an analog sensed flow correction signal.
  • the analog sensed flow correction signal is subtracted, in a summing amplifier, from the analog sensed mass flow signal to yield a translated or linearized mass flow rate signal.
  • the linearized mass flow rate signal is supplied to a comparator and to the host process controller.
  • the host process controller sends a linear zero to five volt mass flow command signal and receives back a linear second mass flow rate signal in a fashion which is completely transparent to the host process controller.
  • the signals are modified by the inventive apparatus so that a nonlinearly responding mass flow controller can operate in response to a linear signalling host process controller.
  • the calibration system includes means for sweeping through a set of calibration values using a sine wave signal.
  • the sine wave signal has a period approximately ten times longer than the time constant of the mass flow controller.
  • One of the problems which has been encountered in the past is that in order to calibrate mass flow controllers, settling time must be allowed for after each commanded flow. The settling time, for instance, for four or five points for a conventional flow controller might require a calibration time of one half hour or more.
  • the use of the single frequency or sine wave curve allows a large number of points, such as 256 points, to be rapidly swept through in the space of only about thirty seconds.
  • the lag primarily due to the mass flow controller time constant causes a constant phase shift to be effected because only a single frequency is being input into the mass flow controller.
  • the phase shift may be matched by the calibrator after a first sine wave sweep. After the second sine wave sweep, the phase adjusted flow signal is compared to the setpoint on a point by point basis, allowing a full 256 point calibration table to be generated in only one minute. The generated calibration table is then sent via a digital link to the mass flow controller where it is stored in the nonvolatile memory of the microcontroller.
  • the non-volatile memory has sufficient space to store up to ten tables each of which, for instance, may be representative of the mass flow rate calibration offsets for a different gas species, e.g., nitrogen, phosphine, oxygen, phosphorus oxychloride, diborane, sulfur hexafluoride, silane and the like.
  • a different gas species e.g., nitrogen, phosphine, oxygen, phosphorus oxychloride, diborane, sulfur hexafluoride, silane and the like.
  • FIG. 1 is a block diagram of a compensated thermal mass flow controller embodying the present invention
  • FIG. 2A is a schematic diagram of a portion of the block diagram including signal summing circuits of FIG. 1;
  • FIG. 2B is a schematic diagram of a portion of the block diagram of FIG. 1 including a microcontroller and memory;
  • FIG. 2C is a schematic diagram of a portion of the block diagram of FIG. 1 including signal summing circuits
  • FIG. 3 is a schematic diagram of a portion of the block diagram of FIG. 1 including a soft start circuit
  • FIG. 4A is a schematic diagram of a portion of the block diagram of FIG. 1 including comparators for producing an error signal and a valve driven circuit;
  • FIG. 4B is a schematic diagram of a portion of the block diagram of FIG. 1 including an auto shutoff circuit
  • FIG. 5 is a schematic diagram of a portion of the block diagram of FIG. 1 including a sensor tuning circuit
  • FIG. 6A is a schematic diagram of a portion of the block diagram of FIG. 1 including a constant current source for a sensor;
  • FIG. 6B is a schematic diagram of a portion of the block diagram of FIG. 1;
  • FIG. 7 is a perspective view of the compensated thermal mass flow controller of FIG. 1;
  • FIG. 8 is a block diagram of a mass flow controller embodying the present invention connected in a calibration system;
  • FIG. 9 is a block diagram of a mass flow controller coupled to a host computer and a gas source;
  • FIG. 10 is a flow chart of a startup routine for the execution in the microcontroller of the mass flow controller;
  • FIG. 11 is a flow chart of an idle loop routine
  • FIGS. 12A, 12B and 12C are flow charts of a dynamic flow correction routine
  • FIG. 13A is a flow chart of a command reset routine
  • FIG. 13B is a flow chart of a software set routine
  • FIG. 14 is a flow chart of a command calibration routine
  • FIG. 15 is a flow chart of a command transmit status routine
  • FIG. 16 is a flow chart of command select table routine
  • FIG. 17 is a flow chart of a command calibrate routine which is continued through FIG. 18;
  • FIG. 19 is a flow chart of a command upload routine which is continued on FIG. 20;
  • FIG. 21 and FIG. 22 are flow charts of a command download routine
  • FIG. 23 is a flow chart of a command routine for initializing the system memory
  • FIG. 24A is a flow chart of an address checking routine
  • FIG. 24B is a flow chart of a system memory checking routine
  • FIG. 25 is a flow chart of a calibration page verify routine
  • FIG. 26 is a flow chart of a routine for transferring data from internal RAM buffers to the EEPROM in the microcontroller;
  • FIG. 27A is a flow chart of a command packet error routine
  • FIG. 27B is a flow chart of an upload and download communication error routine
  • FIG. 28 is a flow chart of a flow calibration buffer routine
  • FIG. 29 is a flow chart of a check command routine
  • FIG. 30A is a flow chart of an initialization routine
  • FIG. 30B is a flow chart of a port initialization routine
  • FIG. 30C is a flow chart of a communications initializing routine
  • FIG. 30D is a flow chart of an analog-to- digital converter initialization routine
  • FIG. 31 is a flow chart of an initialization status routine
  • FIG. 32 is a flow chart of an initialization adjust routine
  • FIG. 33 is a flow chart of a timer zero initialization routine
  • FIG. 34 is a flow chart of a timer two disabling routine
  • FIG. 35 is a flow chart of a timer one initialization routine for setting a baud rate for communications
  • FIG. 36 is a flow chart of a serial 10 initialization routine for disabling serial 10 fort 1;
  • FIG. 37 is a flow chart of an initialization routine for transmission and receiving
  • FIG. 38 is a flow chart of a check sum verification routine for a receive operation
  • FIG. 39 is a flow chart of a check sum routine operation flow chart for verify operation
  • FIG. 40 is a flow chart of a transmit buffer routine
  • FIG. 41A is a flow chart of a timer routine and is continued in FIG. 41B;
  • FIG. 42 is a flow chart of an analog-to- digital conversion interrupt handler
  • FIG. 43 is a flow chart of an analog-to- digital conversion calibration mode routine
  • FIG. 44 is a flow chart of a flow mode miscellaneous address routine
  • FIG. 45 is a flow chart of a UART interrupt routine
  • FIG. 46 is a flow chart of a transmit byte routine
  • FIG. 47 is a flow chart of a receive byte routine
  • FIG. 48 is a flow chart of a break handler routine
  • FIG. 49 is an interrupt vector table
  • FIG. 50 is an evert vector table.
  • the thermal mass flow controller 10 includes a bypass block 12 having connected to it an inlet port 14 for receiving a flow of process gas or vapor and an outlet port 16 for exhausting a flow of process gas or vapor.
  • a sensor unit 18 is connected to the bypass block 12 to receive a part of the flow.
  • a valve 20 is likewise connected to the bypass block 12 to control the flow rate of the gas.
  • a control circuit 22 having an analog signal port 24 and a digital signal port 26 is connected to the sensor unit 18 and the valve 20.
  • the control circuit 22 receives electrical signals from the sensor unit 18 related to the rate of flow of gas through the sensor unit 18.
  • the control circuit 22 produces a valve driver signal for controlling the valve 20 to control the rate of flow of gas or vapor through the mass flow controller 10.
  • Constant current source 26 for providing current to the sensor unit 18 is shown in FIG. 6A.
  • the constant current source has a node 28 energized by a positive 12 volt potential which in turn has a resistor 30 connected thereto.
  • a zener diode 32 is connected to the resistor 30 and is grounded at a ground 34.
  • a second zener diode 36 is connected to the junction of the ground 34 and the resistor 32.
  • a potentiometer 40 is connected across zener diodes 32 and 36 and a resistor 42 is connected from potentiometer 40 and zener diode 36 to a negative 12 volt potential node 44.
  • Regulated voltage from the resistor 30 is fed to a resistor 46 which is in turn fed to an operational amplifier 48 at its inverted terminal.
  • the operational amplifier has a capacitor 50 connected in a feedback loop from its output terminal to its non-inverting terminal.
  • An NPN transistor 52 having a base 54, a collector 56 and an emitter 58 is connected at its base 54 to the output of the operational amplifier 48 to be driven thereby.
  • the collector 56 is energized from a 12 volt node 60.
  • the emitter 58 is AC coupled via a capacitor 62 to ground.
  • a constant current line 64 is connected to the junction of the emitter 58 and to the base 62 and supplies constant current to the sensor 18, which is shown in FIG. 5.
  • the sensor 18 includes a first temperature dependent resistance element 66 which is helically wrapped around a tube and a second temperature dependent resistance element 68 which supply a sensor output voltage at a lead 70.
  • the resistance 68 is connected to a leads 72 which is connected to a resistor 74 coupled to the junction of the capacitor 50 and the inverting terminal of the operational amplifier 48.
  • a capacitor 76 is connected from resistor 74 to ground.
  • a pair of resistors 78 and 80 are connected between resistor 74 and ground.
  • the constant current source 26 supplies a constant amount of current to the sensor unit 18 causing the same current to always flow through the resistances 66 and 68 despite changes in the flow.
  • a pair of taps 82 and 84 is respectively connected to leads 64 and 72.
  • a resistor 86 is connected to lead 82, a potentiometer 88 having a sweep arm 90 is connected to the resistor 86 and resistor 92 is connected from the potentiometer 88 to the lead 84 so that the tapped voltage may be adjusted to select a nominal zero point for the sensor. That voltage is supplied to an operational amplifier 96 via a lead 98.
  • the lead 70 is connected through a resistor 100 to a lead .102 which is also connected to the operational amplifier 106.
  • a capacitor 104 is connected between the resistor 100 and ground.
  • the operational amplifier 96 which comprises a preamplifier includes a capacitor 106 connected in a feedback loop as well as resistors 108 and 110 connected in the feedback loop and a grounded resistor 112 connected from the junction of resistors 108 and 110 to ground.
  • the preamplifier develops an output signal at a lead 116, which is supplied to a tuning circuit 120.
  • the tuning circuit 120 includes a resistor 122 connected to a non-inverting terminal of an operational amplifier 124.
  • a resistor 126 and a capacitor 128 are connected in series between the resistor 122 and ground.
  • a feedback capacitor 130 is connected in a feedback loop from the output terminal of the operational amplifier 124 to its inverting terminal.
  • a resistor 132, a resistor 134, a resistor 136 and a resistor 138 are likewise connected in a feedback loop and a resistor 140 is connected between resistor 132 and ground.
  • the resistor 142 is connected to potentiometer 136 and through a capacitor 144 to ground.
  • a resistor 150 is connected to the resistor 138 and via a capacitor 162 to ground.
  • a resistor 154 and a capacitor 156 are connected between the resistor 150 and the inverting terminal of the operational amplifier 124.
  • An output resistor 160 is connected to the junction of the resistor 132 and the output terminal of the operational amplifier.
  • the tuning network matches the electrical response of the sensor to other electrical portions of the mass flow controller and provides an output at a lead 162.
  • That output of the tuned response is then supplied to an amplifier 164 which provides a full scale adjustment control comprising a potentiometer 166 connected to a grounded resistor 168.
  • a tap resistor 170 is connected to the sweep arm of the potentiometer and to the non-inverting terminal of the amplifier.
  • a capacitor 172 is connected between the resistor 166 and the inverting terminal of the amplifier.
  • the amplifier 164 provides an adjusted flow output at a line 180.
  • Line 180 is coupled to a line 182.
  • the adjusted flow signal on line 182 is fed to a resistor 184 connected thereto which has a grounded resistor 186 connected to it.
  • a node of the resistors 184 and 186 is connected to a summing amplifier 190 at its non-inverting terminal.
  • the summing amplifier also receives a correction signal at its inverting terminal as will be described hereinafter.
  • the sum of the correction signal and the adjusted flow signal provides a corrected flow signal at an output 192 which is supplied to
  • the adjusted flow signal is also fed to a low set point speedup circuit 200 having an amplifier 2 ⁇ 2 connected via a resistor 204 to the lead 182 to receive the adjusted flow signal.
  • the amplifier includes a. resistor 206 and a capacitor 208 connected in the feedback path from its output terminal to its invexting terminal at the resistor 204.
  • a 15 volt node 210 is connected to a voltage divider comprising a resistor 212, a potentiometer 214 and a grounded resistor 21 ⁇ »
  • the grounded resistor 216 is also coupled to a grounded capacitor of the amplifier 202.
  • the amplifier 202 outputs a signal at a resistor 222 which drives a diode 224 connected thereto.
  • a disabling circuit 230 is connected to the resistor 232 and includes a drive to the resistor 242.
  • the transistor 242 will cause the transistor 246 to become conducting pulling the resistor 22 to ground reverse biasing the diode 224.
  • the signal from the speedup circuit is supplied to a low pass network 250 which supplies a signal to an output amplifier 260 driving a resistor 262.
  • the low set point speedup circuit 200 also ultimately drives a lead 270 which controls the biasing of a darlington pair of resistors used to control the valve driver circuit.
  • the cutoff signal from resistor 240 is also supplied to a valve driver cutoff circuit 280 comprising a first transistor 282 and a second transistor 284.
  • Transistor 284 is connected to a lead 286 which receives a valve driver signal in which when switched on will pull lead line 286 up to cutoff a darlington transistor pair driving the valve 20.
  • the line 239 is in turn biased by a transistor 290 as shown in FIG. 4B which is controlled from a line 292 coupled through a resistor 294 to a node 296 which is a source of negative 15 volt pull up potential.
  • the lead 292 is also coupled via a diode network 300 to a jay pin connector 302 which when driven with an external signal through the port 24 causes the valve driver circuit to be pulled substantially down to zero whether or not
  • the analog input terminal 24 includes a variety of input pins included a set point input pin 330 which is coupled to a lead 332 to deliver a raw set point signal to other portions of the system.
  • the raw set point signal which is received from a host computer 334, which may be a direct digital controller or the like is used to cause the mass flow controller 10 to control gas flowing from a gas source 336 such as a gas bottle through a gas line 338 connected to the inlet 14.
  • the mass flow controller 10 responds to the signals received at its input 424, in particular the raw set point signal.
  • the raw set point signal is fed via the line 332 to a summing amplifier 334 and to a resistor 336.
  • the resistor 336 is in turn connected to a lead 338 which is connected via a lead 338 into the microprocessor 340 which in this embodiment comprises a complete microcontroller, specifically a Sygnetics 87C552 having on-board analog-to-digital conversion systems as well as pulse with modulators.
  • a databus 342 is connected to the micro ⁇ controller 340 and an address bus 344 is likewise connected to the microcontroller 340.
  • the address bus and databus are connected to a latch 346 and to an EEPROM 348 for non-volatile storage of gas tables comprising calibration data for the mass flow controller 10.
  • the microcontroller includes a PWMO port connected to a line 350 and a PWM1 port connected to a line 352. These lines supply pulse with modulated output signals which are meant to be respectively correction signals for the corrected set point and for the corrected flow signal.
  • the flow signal 352 on line 352 is fed to a filter 354 which produces an effective output signal at a lead 356 comprising a correcting flow signal. That correcting flow signal is fed to an amplifier 358 which provides an amplified corrected flow signal via a resistor.360 to the flow summing amplifier 190.
  • the set point signal on the lead 350 is fed to a filter 370 which provides a DC output signal on a line 372 which output signal is fed to a set point output amplifier 374.
  • the signal from the lead 372 is fed through a resistor 390 to a lead 392 and via a capacitor 394 and a resistor 396 to a lead 398.
  • the lead 398 is coupled to a resistor 400 which is also coupled to the lead 332 feeding the summing amplifier 334 to provide a corrected set point signal at an output 402 of the summing amplifier 334.
  • the microcontroller as will be seen hereinafter, by accessing the lookup tables in the EEPROM, corrects both the set point and the flow signals prior to supplying them to other parts of the circuit.
  • a RS485 serial communications circuit specifically a 75ALS178D referred to by numeral 450 is coupled to the microcontroller and via a pair of transceiver lines 452 and 454 to the serial port 26 for communication serially with a host computer or with a calibrator.
  • the corrected flow signal on line 194 is fed to a post filter 460 comprising a resistor 462 having a pair of grounded capacitors 464 and 466 connected thereto.
  • a resistor 468 is connected to the resistor 462, a resistor 470 is connected to the resistor 468 which is in turn connected to an amplifier 472 at its non-inverting terminal.
  • the amplifier 472 has a capacitor 474 connected in a feed ⁇ back loop and a resistor 476 connected to the output thereof.
  • a resistor 478 is also connected in the feed ⁇ back loop from the resistor 476 to the non-inverting terminal.
  • a pair of capacitors 480 and 482 are connected between the resistor 470 and the resistor 476.
  • a grounded capacitor 484 is connected to the non- inverting input terminal.
  • the filter acts primarily as a low pass filter and provides a low pass filtered corrected flow output signal on an output lead 490. That output signal on lead 490 is also supplied to the analog connector 24 to be fed back to the host computer.
  • the corrected set point is fed to a buffer amplifier 500 via a resistor 502, resistor 504.
  • a ground capacitor 506 provides low pass filtering.
  • a resistor 510 is connected in the feedback loop of the amplifier 500.
  • the output of the amplifier 500 drives both a direct connection 512 and a soft start system 514.
  • the soft start system comprises a amplifier 516 connected to a combination diode network 518 and a capacitive network 520.
  • the diode network 518 and the capacitive network 520 controls and steers current from a current source 522 and a current source 524 to provide a linear ramp voltage at a resistor 526. That ramp voltage is fed to an amplifier 528 which drives a resistor 530 to provide a ramp voltage at a lead 534.
  • the soft start function however can be selectively enabled or disabled by a field effect transistor 536 connected via a resistor 538 to the input terminal of the amplifier 528.
  • the transistor 536 is controlled by a signal through a resistor 540 connected to the valve off lead.
  • the transistor 536 effectively disables the soft start system causing the corrected set point signal to be fed through line 512 to a resistor 550, also coupled to the line 534.
  • a buffered set point line 552 is connected to the junction of line 512 and the resistor 560 to supply a buffered set point signal to an auto shut off circuit 570, which may be seen in FIG. 4B.
  • FIG. 4B FIG.
  • FIG. 4B shows the buffered set point circuit which comprises a differen ⁇ tial amplifier 572 having its inverting terminal driven by a voltage divider 574 and its non-inverting terminal receiving the buffered set point signal through a resistor 576.
  • the output from the circuit is driven from the resistor 578 through a switching diode 580 to the line 292.
  • the differential amplifier 572 biases the line 292 to provide a positive valve off signal to other components.
  • a valve off signal on the line 239 for instance, is supplied via a resistor 600 to a field effect transistor 602 which drives a resistor 604 and may be used to crowbar the soft start set point signal should soft start not be desired.
  • the buffered set point signal on line 552 is also supplied to a line 610 which controls a comparator shown in FIG. 4A. More specifically, the comparator is identified by numeral 612 and receives the buffered set point signal via lead 610 supplying a resistor 614 connected to its input terminal.
  • the adjusted flow signal is fed via a line 616 connected to the line 182 through a resistor 618 to the non-inverting terminal of the amplifier 612.
  • An output signal, which is actually the error signal, the difference between the adjusted flow signal and the corrected set point signal, is provided on line 286 to a base of a darlington pair 630 shown in FIG. 6B.
  • the darlington pair 630 is connected to a solenoid 640 of the valve 20 and thereby controls the position of the valve as is conventional in the mass flow controller art.
  • a startup routine is shown therein which is entered when the mass flow controller 10 is started up at a step 702.
  • the PWMP variable is set to zero and the pulse width modulator variables are set to mid-range in the step 704.
  • Register bank zero is selected in the step 706 and RAM is initialized to zero in a step 708.
  • the interrupts are disabled.
  • the stack pointer is initialized.
  • INIT ALL is called in step 714 after which a test is made in a step 716 to determine if the system memory valid flag is set. If it is, control is transferred to a step 718 where the calibration page is tested for valid. If the calibration page is valid, the DFC enable flag is tested in a step 720. If any of steps 716 through 720 are negative after testing, the idle loop is entered at step 722. If DFC enable flag is set, the receiver is enabled in step 722 and the DFC routine is entered at a step 724.
  • an idle loop runs as may best be seen in FIG. 10.
  • the idle loop has an entry point at step 726, following which the process mode variable is set to zero at step 28.
  • the address flag, STX flag, CMD flag, and CMD busy are all set to zero at step 730, and the INIT COM routine is called at step 732.
  • the receiver is enabled at step 734.
  • the interrupts are enabled at step 736.
  • the routine may also be entered at a step 738 from W8_4 command if that is executed, or control is passed to a test step 740, testing to see if the command busy flag is set. If it is, the transmit busy flag is tested in step 742. If transmit is not busy, the command busy is set to zero in a step 744.
  • Control is then transferred back to step 740. If the command is not busy, the system memory flag is checked for validity in a step 746. If it is valid, the verify calibrate page routine is called in step 748, after which the calibrate page valid is tested for in a step 750. If the system memory is not valid, control is transferred to a step 752, where communication error is tested for. If there is a communication error, the command packet error routine is accessed in step 754. If there is no communication error, receiver busy is tested for in step 756. If the receiver is not busy, command error is tested for in step 758. If there is no command error, transfer is controlled to the command vector in step 750. If there is a command error, the command packet error routine is entered in step 754.
  • the dynamic flow correction routine is carried out. It is entered at a step 770, following which the interrupts are set in a step 772, and the 10MS flag is tested for in a step 774. If the flag is set, system memory valid step is tested in step 776. If it is not set, the FCW8 routine is entered in step 778. If the system memory is not valid in step 776, software reset is entered in a step 780. If the system memory is valid, the default page override flag is tested for in step 782. If the default page override flag is set, DPTR is set equal to default page in step 784. If it is not set, DPTR is set equal to command page in step 786.
  • step 790 the 10MS flag is set to zero and FC wait is entered in step 792.
  • FC wait is set forth in FIG. 12B where a command busy flag is tested for in a step 794. If it is busy, DFC enable is tested for in a step 796. If the command is not busy, COM ERROR is tested for in a step 798. If COM ERROR is not set, receive busy is tested for in a step 780. If there is a COM ERROR, transfer is controlled to the command packet error in a step 802.
  • step 804 If the receive is not busy, command error is tested for in a step 804, and if there is no error, transfer is switched to the command vector routine, if the DFC enable is positive, the one millisecond flag is tested in step 808. If it is negative, transfer is switched to the software reset routine in a step 710. The pin J input is tested for in a step 812. If it is negative and miscellany is busy, flag is tested for in a step 814. If it is positive, the one millisecond flag is set in the step 816 equal to zero, following which in the step 818 the DFC loop routine is entered. If the miscellaneous busy flag is not set, and auto zero enable routine is entered in a step 720 where a flag is tested for auto zero if it is positive.
  • Auto zero time out is tested for in a step 822. If auto zero is timed out, the auto zero routine is entered in a step 824. If auto zero enable in step 820 is negative, auto zero no adjust is entered in a step 826. The auto zero routine is substantially set forth in FIG. 12C. Following step 824, the accumulator is loaded with the flow reading. The carry is loaded with zero in a step 828. The high byte of the flow reading is tested for equal to zero in a step 830. If it is set, control is transferred to a step 832. If it is not set, control is transferred to a step 834.
  • step 832 if a flow reading is zero, control is trans ⁇ ferred to a step 836 where a decrease adjustment value following a right to the pulse width monitoring ports takes place.
  • Step 834 causes an increase adjustment to be made.
  • the step 840 is executed following step 826 where the DAC NO value is written to the pulse width modulator ports.
  • the command reset routine is set forth therein and begins with an entry point step 850 following which the analog-to-digital converter interrupts are disabled in step 852.
  • the TXDPTR is set equal to LBUF in step 854.
  • the transmit count is set equal to 8 in step 856.
  • the W8_4_TX variable is set equal to one in step 858.
  • TX buffer is called in step 860 and control is transferred to the software reset routine in step 862.
  • the purpose of the routine is to reply to a reset command.
  • the software is reset as shown in FIG. 13 by the entry point at step 864.
  • the interrupts are disabled at step 866.
  • Register bank zero is selected at step 868 and zero is pushed twice in steps 870 and 872 following which control is transferred to the RETI routine in step 874.
  • a command DFC entry routine is set forth in FIG. 14 beginning with step 880 following which the analog-to-digital converter interrupts are disabled in step 882.
  • Default page one override is set equal to one in step 884.
  • the command page is set equal to the buffer plus an offset of two in step 886, and the verify calibration page routine is called in a step 888. After returning, the command page valid flag is tested in a step 890.
  • control is trans ⁇ ferred to a step 892 where the default page override and slave mode variables are set equal to zero. If the command page is valid, solo mode is disabled in a step 894 and LBUF plus two is set equal to the command page in a step 896. Following step 892, boundary errors are tested for in step 898. If there is no boundary error, control is transferred to a step 900 where the buffer at fifth position is set equal to process mode, and the
  • LBUFFER variable at six position is set equal to system status. If there is a boundary error, the LBUFFER plus two position is loaded with binary ones in a step 902. Following step 900, the transmit pointer variable is set equal to LBUFFER to transmit count variables set equal to 8, and the W8_4_TX is set equal to one in a step 904. The TX buffer is called in a step 906. A boundary error is tested for in a step 908. If there is a boundary error, control is standard to software reset step 864. If there is none, communications are initiated by calling INIT COM in a step 910. Command flag for busy and the receive busy are set respectively to zero, and one in a step 912 following which control is transferred to the DFC entry routine in a step 914.
  • the command transmit status routine is shown therein which initiates at a step 916.
  • the command TXD variable is set to one.
  • TXD valid is set to zero in step 918.
  • TXD pointer is set to LBUF and TXD count set to 10 in step 920.
  • the analog- to-digital converter interrupts are enabled at step 922 and a test is made to determine if miscellaneous busy flag is step in the step 924. If it is not set, load calibration buffer is called in a step 926, and W8_4_TX is called in step 928. TX buffer is called in step 930. Communication error is tested for in step 932. If there is an error, control is transferred to the software reset step 864. If there is no error, DFC enable is tested for in step 934. If DFC enable is negative, the EXEC routine is entered in step 936. If it is positive, control is transferred to DFC loop in step 938.
  • the purpose of the aforementioned routine is to send back current readings for the set point, the flow rate, etc., from the mass flow controller 10 to a calibrator while calibration is taking place.
  • Such calibrator may comprise the calibrator 1000 which is connected to a source of gas 1002 and to a standard mass flow meter 1004. Gas is flowed from the gas source 1002 through the calibrator 1000, the standard mass flow meter 1004, and the mass flow controller 10 is then flowed back into the calibrator 1000. Information from the mass flow controller 10 is transferred out of the serial communication port 26 to a computer 1006 from which point it is transferred into a calibrator over a pair of busses 1008 and 1010.
  • a calibration page or calibration page table is to be selected, selection takes place in a command select table routine as set forth in FIG. 16. That routine is entered at a step 1020 following which the default page override is tested for in a step 1022. If the default page override is negative, default page over is set equal to one in a step 1024. The command page is set equal to DBUF plus two in the step 1026. The verified calibration page routine is called in a step 1028. If the default page override is set, variable R7 is set equal to command page in a step 1030. The command page is set equal to DBUF plus two in step 1032, and the verified calibration page is called in a step 1034. Command page valid is then tested for in a step 1036.
  • command page is set equal to R7 in a step 1038. If it is valid/ control is transferred to step 1040 where W8_4_TX is set equal to one. Following step 1028 command page valid is tested for in a step 1042. If the command page is valid, control is transferred to step
  • step 1040 If it is not valid, DBUF plus two is set equal to all binary ones in a step 1044. Following step 1040 the transmit buffer routine is called in a step 1046 and communications error is tested for in a step 1048. If there is such an error, software reset is executed at a step 864. If there is no error, the DFC loop is entered at a step 1050.
  • the command calibrate routine is set forth therein which is executed when the calibrate mode is entered by the mass flow controller 10.
  • the routine is entered at a step 1052 following which CAL enable is set to one in a step 1054.
  • DFC enable is set to zero in that same step.
  • the analog-to-digital converter interrupts are disabled in a step 1056.
  • the TXD pointer is set in the buffer.
  • the TXD count is set to 10 in a step 1058.
  • the DBUF plus two contents are tested in a step 1060. If they are set, PW high and PW low are set respectively to PWM0 and PWM1 in a step 1062.
  • step 1064 If they are not set, they are set respectively to DBUF plus two, DBUF plus three, in a step 1064.
  • step 1066 LBUF plus two is set to PW high, LBUF plus three is set to PW low.
  • PWMO is set to PW high, PWM1 is set to PW low.
  • step 1070 TXCD valid flag is set to zero.
  • step 1072 bank 3R0 is set to LBUF, bank 3R2 is set to four, bank 3R4 is set to starting analog-to-digital converter channel zero. Control is then transferred to the routine shown in FIG. 18 at a step 1074 where the analog-to-digital converter interrupts are enabled.
  • TXCD valid flag is tested for in a step 1076, and if it is valid, the analog-to-digital converter interrupts are disabled in a step 1078.
  • LBUF plus fourteen is then set equal to the system status in a step 1080 and W8_4_TX is set equal to one in the step 1082.
  • the TX buffer is then called in a step 1084, and communication error is tested for in the step 1086. If there is such an error, control is transferred to software reset step 864. If there is no error RX busy is set to one and command busy is set to zero in a step 1088. Communication is then tested for again in the step 1090. If there is an error, control is transferred to the software reset step.
  • step 1092 If there is no error, receive busy is tested for in a step 1092. Control is then transferred to test for whether the command is a calibrate command. If it is, command calibrate is called in a step 1096. If it is not, the command is tested to see if it is a reset command in a step 1098. If it is, command reset is entered. If it is not, software reset is entered in a step 864.
  • a command upload routine is set forth in FIG. 19 which allows the microprocessor portion of the microcontroller to transmit the contents of the EEPROM to the host computer.
  • the command upload step is entered at step 1102 and the analog-to-digital converter interrupts are disabled at step 1104.
  • the packet size is set to DBUF plus two, packet count to DBUF plus three, address high to DBUF plus four, and address low to DBUF plus five.
  • Check address is called in the step 1108, and a boundary error is tested for in step 1110. If there is such an error, UL_COM_ERROR is called in a step 1112. If there is no boundary error, the packet count is tested for in step 1114. If the packet count is not greater than zero, control is transferred to step 1112. If it is greater than zero, in step 1116 DPH is set to address high, DPL is set to address low.
  • step 1118 Rl is set to LBUF plus two, R3 is set equal to packet size.
  • the accumulator is set equal to the address of DPTR.
  • the address of Rl is set equal to accumulator in a step 1122.
  • R3 is set equal to R3 minus one in a step. In other words, R3 is decremented.
  • R3 is tested in a step 1124 to determine whether it is equal to zero.
  • the routine continues on FIG. 19 with W8_4_TX variable is set equal to one in step 1126.
  • the transmit buffer is called in step 1128. Communications error is tested for in step 1130. If there is such an error, UL_COM_ERROR is accessed in step 1132.
  • step 1134 packet count is decremented in step 1134 and is tested for in step 1136. If the packet count is zero, control is transferred to the executive in step 1138. If it is not yet reached zero, the receive buffer is initialized to zero in step 1140. Receive busy is set equal to one, and command busy to zero in step 1142. Communications error is tested for in step 1144. If there is an error, control is transferred to a step 1146 where UL_COM_ERROR is called. Receive busy is tested for in step 1146. If receive busy flag is negative in step 1146, the command is tested for to determine whether it is an upload in step 1150. If it is an upload, packet size is tested for DBUF plus two in step 1152.
  • Packet count is tested in step 1154, address high is tested in step 1156, and address low is tested in step 1158. If all the tests are positive, control is transferred to command upload in step 1160. In the event the command is not an upload in step 1150, command is tested for reset in step 1162, and if there is a command reset, command reset is accessed in step 1164.
  • a command downward routine is set forth for execution on the microcontroller in FIG. 21.
  • Command download is entered at a step 1170 following which the analog-to-digital converter is disabled at a step 1172.
  • Packet size, packet count, address high, and address low are loaded into the data buffer vector in step 1174 and check address is called in step 1176.
  • Boundary errors are tested for in step 1178. If there are any, DL_COM_ERROR is called in step 1180. If there are none, packet count is tested in step 1182, and if the packet count is zero, DL_COM_ERROR is called. If it is not zero, the receive pointers, transmit pointers, and transmit and receive counts are loaded in step 1184.
  • step 1186 W8_4_TX is set equal to one and transmit buffer is called in step 1188.
  • the remainder of the routine is set forth in FIG. 21 following step 1188.
  • Communication error is tested for in step 1190. If there is an error, the software reset is called in step 864. If there is no error, receive busy is set in step 1192. Communication error is tested again in a step 1194. If there is no error, receive busy is tested for in step 1196. If there is an error, DL_COM_ERROR is accessed in the step 1198. The command is tested to see if it is a download command in a step 1200. If it is, the command is used to have MEM_FILL called in a step 1202.
  • step 1204. If it is not, the command is tested for reset in step 1204. If there is a command reset, the command reset routine is called in step 1206. Following the memory fill step 1204, data compare error is measured for in a step 1208. If there is a data compare error, DL_COM_ERROR is called in a step 1210. If there is no data compare error, the data buffer is filled with the packet size, packet count, address high, address low, and system status in the step 1212. W8_4_TX is set equal to one in step 1214. Transmit buffer is called in step 1216. Communication error is tested for in step 1218. Packet count is tested for in step 1220, and DLNEXT is called in step 1222.
  • a command initial ⁇ ization is for system memory is set forth therein which begins with a step 1224 following which the analog-to- digital converter is disabled in a step 1226.
  • System memory valid is set equal to zero in a step 1228.
  • DPTR is set equal to the system memory length.
  • R2 is set equal to data pointer high, R3 is set equal to data pointer low in the step 1230.
  • DPTR is then loaded with system MEM_BASE in a step 1232.
  • ACC and R4 are set equal to zero in step 1234 and ACC accesses the data pointer in step 1236.
  • ACC is incremented and loaded in R4 in step 1238 and R3 is decremented in step 1240. If it tested for in step 1242.
  • R2 is decremented in step 1244 and tested for in step 1246. If it is not low, control is transferred back to step 1236. If R2 is equal to zero control is transferred to a step 1248 to determine if the right has timed out. If it has, the data pointer is set to ACC at step 1250 and the check system memory routine is called in step 1252. The LBUFFER is then filled with the status, the sum written, and the sum read in step 1254, and W8_4_TX is loaded with one in step 1256. Transmit buffer is called in step 1258. Communication error is tested for in step 1260. If there is an error, software reset is entered in step 864. System memory valid is tested for in step 1262 and the executive routine is entered in a step 1264.
  • a check address routine is set forth in FIG. 24A, which is entered at a step 1266. Address high is tested to see whether it is greater than 40 in step 1268 or less than 20 in a step 1270. If it is greater than 40, LBUF plus four is loaded with F8 in a step 1272. If it is less than 20, LBUF is loaded with Fl in a step 1274. Boundary error is set equal to one in step 1276, and the routine returns in step 1278.
  • the checks S memory routine is provided for in FIG. 24B which occurs upon power up at step 1280. System memory valid is set to zero in step 1282. In step 1284 DPTR is set with the system memory length.
  • DPTR is then loaded with system memory base.
  • ACC is set equal to zero and R4 is set equal to zero in step 1286.
  • ACC is set to the address of the data pointer in step 1288.
  • the ACC variable is incremented in step 1290, and the R3 contents are decremented at step 1292.
  • R3 is tested in step 1294, R2 is decremented in the step 1296, and tested for in step 1298.
  • R5 is set equal to the system memory check sum in a step 1300. Check sums are compared in step 1302, and, if equal, system memory valid is set in step 1304 following which the routine returns in step 1306. If the check sums are unequal, the system memory flag is reset in a step 1308 prior to return.
  • Calibration page is verified in a routine set forth in FIG. 25 beginning with a step 1310.
  • step 1312 calibration page valid and command page valid flags are set to zero.
  • System memory valid is tested in step 1314. If it is not valid, return occurs in step 1316.
  • Default page is tested in a step 1318 and cali- bration page valid flag is set equal to one in step
  • step 1320 Default page override is tested for in step 1322. If default page override is set in step 1324, command page valid is tested for in step 1326. Command page valid flag is loaded with one in step 1328. Boundary error is set equal to zero in the same step. If the command page is not valid, boundary error is set equal to one in the step 1330 after which routine returns in a step 1332.
  • the memory fill routine is provided as set forth in FIG. 26.
  • the MEM_FILL routine is entered in a step 1334.
  • step 1336 ACC accesses receive data pointer is incremented by two and registers zero and seven are loaded.
  • step 1338 data pointer high and data pointer low are set equal to address high and address low respectively.
  • step 1340 ACC is set to the receive count and is decremented by three. R2 and R6 are then loaded with ACC.
  • a loop is entered in step 1342. RO is incremented in step 1344.
  • Data pointer is set to the ACC in step 1346 and is incremented in step 1348.
  • R2 is decremented in step 1350 and is tested for in 1352.
  • step 1354 right time out is tested. If it has timed out, R0 is set equal to R7.
  • DPH is set to address high.
  • DPL is set to address low in step 1358.
  • R2 is set equal to R6 in step 1360 and ACC points to the data pointer in step 1362. ACC is then tested to determine whether it is at R0 in step 1364. If it is, the data pointer is incremented in step 1366.
  • R0 is incremented in step 1368.
  • R2 is decremented in step 1370 and is tested for in step 1372. In the event that the test of step 1364 is negative, data command error flag is set equal to one in step 1365 and return is entered in step 1374.
  • a routine is set for in FIG. 27A wherein gas P stack pointer is tested to see if it is equal to stack base. If it is not, a software reset is transferred to in step 864. If it is, the executive routine step is entered in step 1380.
  • step 1382 or 1384 If either a download command error or upload command error are encountered as steps 1382 or 1384, as set forth in FIG. 27B, data buffer plus one is loaded with EE. W8_4_TX is set equal to one in step 1386. Data buffer plus six is equal to system status in step 1388. Transmit buffer is called in step 1390, and software reset is entered in step 1392.
  • a load calibration buffer routine is set forth in FIG. 28 which is initiated at a step 1394.
  • the LBUFFER is filled from addresses 2 through 14 with PWMO, PWM1, set point high break, set point low break, temperature high break, temperature low break, flow out high byte, flow out low byte, valve out high byte, valve out low byte, general purpose flags, process mode, and systems status variables.
  • copy TXCD is set equal to zero and TXCD valid is set equal to one, and the routine exits at a step 1400.
  • the check man routine is set forth in FIG. 29 which is entered in the step 1402. Transmit busy or command busy are tested for in a step 1404.
  • step 1408 DBUF plus zero is tested for equality with STX. If it is not, the STX flag is set in a step 1410 following which command flag is set in a step 1412. In the event that 1408 test is positive, the STX flag is set equal to one in the step 1416. CMD is set equal to DBUF one in the step 1416. CMD variable is tested to determine whether it lies in the range 0 to 15 in a step 1418. If it does not, step 1412 is executed. If it does, command flag is set equal one in step 1420 and R2 is loaded with CMD multiplied by four in step 1422 while data pointer points to the command table. In step 1424, command busy is set equal to one and in step 1428 the routine is returned from.
  • the master initialization routine is set forth in FIG. 30A and is entered at a step 1430.
  • the INIT status, INIT ports, INIT COM, INIT adjust, INIT ADC, INIT TMR0, and INIT TMR2 routines are called.
  • the start MFC INIT flag is set equal to one.
  • the routine is exited.
  • the INIT ports routine is set forth in FIG. 3OB. It is entered in a step 1438. Ports P0 through P4 are loaded with all binary ones in a step 1440. Routine is exited in a step 1442.
  • the INIT communication routine is set forth in FIG.
  • step 1446 INIT SIOl, INIT UART, and INIT TMR1 are called.
  • the routine is exited in a step 1448.
  • the INIT analog-to-digital converter routine is set forth in FIG. 30D and is entered in a step 1450.
  • bank 30 is set equal to miscellaneous analog
  • bank 3 register 1 is set equal to zero
  • bank 3 register 2 is set equal to four
  • bank 3 register 3 is set equal to 8 as are bank 3 register 4 and 5
  • bank 3 register 6 is set equal to table base high
  • bank 3 register 7 is set equal to table base low.
  • ADCON is set equal to zero.
  • the routine is exited in step 1456.
  • the INIT status routine previously referred to is set forth in FIG. 31 and is entered at a step 1460.
  • the start MFC flag is tested for in step 1462. If it is not set, ACC is loaded with system status in step 1464, and ACC is tested for zero in step 1466. If ACC is not zero, the process mode timer status, EIA status, COM flags, command flags, and general purpose flags are all set equal to zero in step 1468.
  • Check system memory is called in step 1470. System memory valid flag is tested for in 1472, and, if not valid, process mode equals zero is set in 1474 following which the routine is exited in step 1476. If the system memory is valid, verified calibration page is called in step 1478.
  • Calibration page valid is tested for in step 1480. If it is not valid, solo mode flag is set to zero in step 1482. If it is valid, solo mode is set to one and DFC enable is set to one in step 1484. Default page override is tested in step 1486. Command page valid is tested in step 1488 following which default page override is tested again at step 1490. If the command page or default page are not valid, the slave mode is set to zero and DFC enable set to zero in step 1492. If they are both valid, slave mode is set to one, as is DFC enable in step 1494. Auto zero range error flag is tested for in step 1496. If there is no error, auto zero enable is set to one in step 1498, and the routine is exited in step 1500.
  • the INIT adjust routine is set forth in FIG. 32 and initiates with a step 1502.
  • System memory flag is tested for validity in step 1504, and, if it is valid, DPTR, ACC, and PWH are all loaded in step 1506.
  • DPTR is incremented in step 1508 and the pulse width modulator variables are loaded in step 1510. If the system memory is not valid, the pulse width modulator variables are set equal to mid-range in a step 1512. The route is returned from in a step 1514.
  • the timer In order to establish a real time clock function within the microcontroller, the timer must first be initialized.
  • the initialization routine is carried out as set forth in FIG. 33 where the routine is entered in the step 1516 following which the R0 register and bank 2 set equal to 4, Rl to 10, and R2 to 100 in step 1518.
  • TMOD variable is loaded in step 1520.
  • Timer zero high is set at step 1522, as is timer zero low.
  • Timer is started in step 1524 and an interrupt is enabled at step 1526 after which the routine returns in the step 1528.
  • the second software timer is disabled in the routine set forth in FIG. 34. That routine is entered in a step 1530 following which the variables of interest are disabled at step 1532, and the routine is exited in step 1534.
  • a bard rate generator timer is initialized and started beginning with step 1536.
  • the TMOD variable is loaded.
  • SMOD is divided by 16.
  • timer high and low variables are set, and in step 1544 the time is started.
  • the routine is exited in step 1546.
  • the SIO function is disabled in the INIT SIO routine in FIG. 36.
  • the routine is entered.
  • the variables are disabled in step 1550.
  • the routine is exited in step 1552.
  • the universal asynchronous receiver transmitter function is initialized. That is the function that controls the serial transmission through the port 26.
  • the routine is entered in a step 1554 following which in step 1556 the receive and transmit pointers and counters are loaded.
  • Registers 0 through 3 are then loaded with those values in step 1558.
  • Start MFC initialization flag is tested for in step 1560. If it is set, UART mode is set to one in step 1562, the receiver is enabled, and the UART interrupts are enabled, following which in the step 1564 the W8_4_BRK and W8_4_ADR flags are set. The routine is exited in step 1566. In the event that step 1560 test is negative, system memory is tested in step 1562. If it is not valid, the RS485 address variable is loaded with all ones in step 1564, and control is transferred to step 1562.
  • a verify receive check sum routine begins with a step 1568 following which R0 is loaded with the receive pointer, R2 is loaded with the receive counter less one, ACC is set equal to zero in step 1570, and check sum error is set equal to zero.
  • the ACC and R0 variables are incremented, R2 variable is decremented in step 1572, and R2 is tested in step 1574.
  • the ACC is tested for equality with check sum in step 1576. If it is not, error is flagged in step 1578 and routine is entered in step 1580. If there is no check sum error, step 1582 is entered, following which the routine returns.
  • the transmit check sum may be calculated as set forth in FIG. 39.
  • the routine is entered in step 1582.
  • Rl is set equal to transmit pointer, R3 to transmit counter minus one, and ACC to zero in step 1584.
  • ACC is added to the contents of Rl, Rl is incremented, and R3 is decremented in step 1586.
  • R3 is tested in step 1588. If it is zero, check sum is equal to ACC in step 1590, and the routine returns in step 1592.
  • a transmit buffer routine is set forth indicated in FIG. 40.
  • the routine is entered in step 1594.
  • the UART interrupts are enabled in step 1596.
  • Transmit check sum routine is called in step 1598, and the bank 1 registers 1 and 3 are loaded with the transmit pointer and count while the transmit busy flag is set equal to one in step 1600.
  • Break detect is tested for in step 1602. If it is positive, the transmitter is enabled in step 1604, and zeroes are transmitted in step 1606.
  • the TXPC address is set equal to one in step 1608 and W8_4_TX is tested in step 1610. If it is positive, transmit busy is tested in 1612. If it is negative, the routine returns in step 1614.
  • the real time timer functions are initiated and provided in the routine set forth in FIGS. 41A and 41B.
  • the routine is entered in the step 1616 following which register bank 2 is selected, ADC conversion is initiated, and timer tick is set equal to one in step 1618.
  • Right R0 is decremented in step 1620 and is tested for in 1622. It is set equal to four in step 1624 and one MS is set equal to one in the same step.
  • DFC enable is tested for in step 1626.
  • Calibration enable is tested in step 1628. If it is negative, select register bank is accessed in step 1630, and routine is exited in step 1632. In the event that the DFC is enabled, the pin J flag is done in step 1634. If pin J is enabled, set point is selected in step 1636.
  • step 1638 If not, auto zero timer is enabled in step 1638 and flow is selected in step 1640, following which auto zero timer is enabled in step 1642, and R4 is set equal to auto zero time.
  • Rl is decremented in step 1644 and is tested for in step 1646.
  • Rl is loaded with 10 and R2 is decremented in step 1648.
  • R2 is tested in step 1650.
  • R2 is set equal to 100 in step 1652.
  • the auto zero timer enable is tested for in step 1654.
  • R4 is decremented in step 1656 and is tested for in step 1658.
  • Auto zero timer enable is set to zero, auto zero time out flag is set to one in step 1660, after which control is transferred back to step 1630.
  • the routine is provided as set forth in FIG. 42 which routine is entered in a step 1662.
  • the register bank 3 is selected in step 1664.
  • DFC enable is tested in step 1666. If the flag is not set, calibration enable is tested in step 1668 and calibration mode ADC routine is entered in step 1670. If the DFC is enabled, miscellaneous convert flag is tested in step 1672 and FM miscellaneous is called in step 1674. If miscellaneous convert flag is not set, flow command is tested in step 1676, and, if positive, ACC is loaded and Rl is set equal to ACC times two. P2 is loaded with ACC in step 1686. PWMO and PWM1 are then loaded in step 1688 through 1702.
  • R2 is decremented and tested for zero in step 1704 and 1706.
  • the analog-to-digital converter is reset in 1710.
  • Register bank 0 is selected in 1712 and the routine is exited in step 1716.
  • the calibration mode ADC routine is provided in FIG. 43, which is entered in a step 1720.
  • ACC is set equal to ADCON, R3 to ADC high in step 1722.
  • ACC data is formatted in step 1724 and R0 is incremented in step 1726.
  • ACC is set equal to six in step 1728, and RO and R4 are both incremented.
  • R2 is decremented in step 1730 and is tested for in step 1732.
  • transmit command valid is set, RO is loaded with LBUFFER plus four, R2 is set equal to four, R4 is set equal to eight, and control is transferred back to step 1710.
  • an incrementing routine FM_MISC is provided as set forth in FIG. 44.
  • the analog-to-digital channel is loaded into RO, RO is incremented by one in step 1740.
  • the ADC load channel is then loaded.
  • R0 is incremented again in step 1744.
  • R3 is decremented in step 1746 and is tested in step 1748.
  • miscellaneous busy flag is set to zero, R0 is set to miscellaneous analog, R3 is set to eight, R4 is set to seven.
  • step 1752 R5 is incremented, and miscellaneous convert is set to zero.
  • the UART interrupt routine is provided as set forth in FIG. 45 which begins with a step 1754, following which register bank 1 is selected in step 1756.
  • BRK_DETECT flag is set equal to zero in step 1758, and the transmitter interrupt is tested for in step 1760. If there is an interrupt, transmit byte is called in step 762. If not, receiver interrupt is tested for in step 1764. If there is a receiver interrupt, receiver byte is called in step 1766.
  • the UART is reset in step 1768.
  • W8_4_BRK flag is set equal to one in step 1770.
  • the UART interrupt is enabled in step 1772.
  • Register bank 0 is selected in step 1774, and the routine is exited in step 1776.
  • the transmit byte routine is set forth in FIG. 46 and is initiated in step 1778.
  • TI is set equal to zero in step 1780.
  • the W8_4_BRK flag is tested in step 1782. If it is positive, the transmit break byte flag is tested in step 1784, and the W8_4_BRK flag is set equal to zero in step 1786 following which the transmit break byte flag is set equal to zero in step 1788.
  • Break detect is set equal to one in step 1790 and UI exit is called in step 1792.
  • step 1794 is entered where more to send is tested for. If the flag is positive, Rl is incremented, R3 is decremented in step 1794, and UI exit is called in step 1796. If it is negative, W8_4_BRK flag is set in step 1798. Receive busy is set and transmit busy is reset following which the break handler is called in step 1800.
  • step 1802 The receive byte routine where the UART interrupt is set forth in FIG. 47 beginning at step 1802, Rl is set equal to zero in step 1804, W8_4_BRK is tested in step 1806, and, if positive, the break handler is called in step 1810. If negative, ACC is set equal to SO buffer and W8_4_ADR is tested in step 1814 which, if positive, ACC is tested for as the RS485 address in step 1816. If step 1814 is negative, step 1820 is entered and W8_4_STX is tested for which, if negative, transfers control to step 1826 where R0 is loaded with ACC and address and then incremented. R2 is decremented in step 1828 and is tested for in step 1832 following which UI is exited in step 1834.
  • step 1816 result is positive
  • step 1818 is entered and a W8_4_ADR flag is set equal to zero.
  • Address flag is one, W8_4_STX is set equal to one, following which the variables are loaded in step 1824, if the result of step 1822 is positive.
  • the W8_4_BRK and W8_4_ADR flags are set equal to one in step 1836 and the routine is exited in step 1838.
  • the break handler is set forth in FIG. 48.
  • the routine is entered in step 1840.
  • the RS485 or serial output at port 26 is disabled in step 1842.
  • Transmit break byte flag is set in step 1850.
  • the SO buffer is loaded with zeroes in step 1852 and the routine is exited in step 1854.

Abstract

Régulateur (10) de flux massique comprenant un bloc (12) de dérivation de base auquel est raccordé un capteur (18) de flux. Le capteur (18) de flux produit un signal de flux en réponse à un flux de gaz. Un signal de valeur de consigne est reçu puis combiné à un signal de correction de valeur de consigne produit à l'intérieur, pour obtenir un signal de valeur de consigne corrigé. Ce signal de valeur de consigne corrigé est comparé au signal de flux pour produire un signal d'erreur. Ce signal d'erreur sert à commander une vanne (20) reliée au bloc (12) de dérivation pour réguler le flux de gaz.
EP93916478A 1992-06-12 1993-06-10 Regulateur de flux massique Withdrawn EP0711430A1 (fr)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US89819592A 1992-06-12 1992-06-12
US898195 1992-06-12
PCT/US1993/005542 WO1993025950A1 (fr) 1992-06-12 1993-06-10 Regulateur de flux massique

Publications (2)

Publication Number Publication Date
EP0711430A4 EP0711430A4 (fr) 1996-01-04
EP0711430A1 true EP0711430A1 (fr) 1996-05-15

Family

ID=25409082

Family Applications (1)

Application Number Title Priority Date Filing Date
EP93916478A Withdrawn EP0711430A1 (fr) 1992-06-12 1993-06-10 Regulateur de flux massique

Country Status (2)

Country Link
EP (1) EP0711430A1 (fr)
WO (1) WO1993025950A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3872776B2 (ja) * 2003-07-16 2007-01-24 東京エレクトロン株式会社 半導体製造装置及び半導体製造方法
FR2864905B1 (fr) 2004-01-09 2006-07-14 Airbus France Dispositif d'extinction de feu
FR2870459B1 (fr) 2004-05-19 2006-08-25 Airbus France Sas Dispositif d'extinction de feu par injection d'un gaz genere par la combustion d'un bloc pyrotechnique
FR2879107B1 (fr) 2004-12-09 2007-04-06 Airbus France Sas Dispositif pour augmenter l'efficacite du gaz de pressurisation dans une bouteille d'extincteur
JP2011500242A (ja) 2007-10-30 2011-01-06 エアバス・オペレーションズ 漏出防止性を強化した流体射出装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03204705A (ja) * 1990-01-08 1991-09-06 Hitachi Metals Ltd マスフローコントローラの制御回路
US5062446A (en) * 1991-01-07 1991-11-05 Sematech, Inc. Intelligent mass flow controller
US5129418A (en) * 1989-11-14 1992-07-14 Stec Inc. Mass flow controller with supplemental condition sensors
WO1992021006A2 (fr) * 1991-05-17 1992-11-26 Unit Instruments, Inc. Procede et appareil de traduction du signal d'un debitmetre massique

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4658855A (en) * 1980-10-03 1987-04-21 Silicon Valley Group Mass flow controller
US4487213A (en) * 1982-09-09 1984-12-11 Omicron Technology Corporation Mass flow controller apparatus
JP2814379B2 (ja) * 1988-06-20 1998-10-22 忠弘 大見 マスフローコントローラ
US4877051A (en) * 1988-11-28 1989-10-31 Mks Instruments, Inc. Flow controller
US5080131A (en) * 1989-09-26 1992-01-14 Lintec Co., Ltd. Mass flow controller
US5100100A (en) * 1990-09-12 1992-03-31 Mks Instruments, Inc. Fluid control and shut off valve
US5141021A (en) * 1991-09-06 1992-08-25 Stec Inc. Mass flow meter and mass flow controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5129418A (en) * 1989-11-14 1992-07-14 Stec Inc. Mass flow controller with supplemental condition sensors
JPH03204705A (ja) * 1990-01-08 1991-09-06 Hitachi Metals Ltd マスフローコントローラの制御回路
US5062446A (en) * 1991-01-07 1991-11-05 Sematech, Inc. Intelligent mass flow controller
WO1992021006A2 (fr) * 1991-05-17 1992-11-26 Unit Instruments, Inc. Procede et appareil de traduction du signal d'un debitmetre massique

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PATENT ABSTRACTS OF JAPAN vol. 15 no. 477 (P-1283) ,4 December 1991 & JP-A-03 204705 (HITACHI METALS) 6 September 1991, *
See also references of WO9325950A1 *

Also Published As

Publication number Publication date
WO1993025950A1 (fr) 1993-12-23
EP0711430A4 (fr) 1996-01-04

Similar Documents

Publication Publication Date Title
EP0584242B1 (fr) Appareil pour l'étalonnage d'un contrÔleur de débit massique
EP0830563B1 (fr) Detecteur intelligent de position angulaire lineaire
EP0771407B1 (fr) Dispositif et procede d'etalonnage sur le site destines a la correction non lineaire d'un detecteur/transmetteur de debit
US4896282A (en) Flow computer calibration technique
US20020082799A1 (en) Measuring transducer with a corrected output signal
US5311762A (en) Flow sensor calibration
US7577539B2 (en) Sensor interface and sensor calibration technique
US4658855A (en) Mass flow controller
CA2433030A1 (fr) Procede et appareil d'etalonnage et de compensation de capteurs
US20040070495A1 (en) Sensor signal conditioner
WO1993025950A1 (fr) Regulateur de flux massique
US4379520A (en) Temperature regulating system for air conditioning or heating plants, preferably in railway vehicles
EP1083411A1 (fr) Système de mesure et de contrôle temporel pour un débitmètre à fil chaud
EP2745284B1 (fr) Diagnostics de courant de boucle de contrôle de processus à deux fils
JPS61284610A (ja) 熱線式空気流量計の調整方法及び装置
US5345064A (en) Temperature probe conditioner circuit
JP2001174304A (ja) 演算装置内蔵センサ
JPH04262408A (ja) マスフロー・コントローラ
ITMI961985A1 (it) Dispositivo e procedimento atti alla regolazione della temperatura di una resistenza di misurazione rilevante la portata di un fluido che
JP2541438B2 (ja) 信号入力回路
JPS60257629A (ja) 受信装置
JP2668166B2 (ja) データ伝送システムにおける端末調整装置
JPH03204705A (ja) マスフローコントローラの制御回路
CN104635566A (zh) 多种替选的自动化输入系统和方法
JP3143023B2 (ja) 流量演算器

Legal Events

Date Code Title Description
A4 Supplementary search report drawn up and despatched
AK Designated contracting states

Kind code of ref document: A4

Designated state(s): DE FR GB IT NL SE

PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 19950304

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE FR GB IT NL SE

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 19970103