The application requires on May 2nd, 2008 to submit to, and number of patent application is the rights and interests of 61/049828 provisional application, and the disclosure of this provisional application is incorporated among the application.
Embodiment
The invention provides a kind of new method that is used for determining the sensor line integrality, this method can be used for distinguishing the condition and the broken string incident of superpotential/under-voltage.Circuit is applied in bias voltage, makes at reading during the broken string incident it is that the amplitude order of magnitude outside the normal measurement range at sensor is so that can make a distinction with the superpotential/under-voltage condition of standard.When sensor line is complete, bias voltage will cause in the zone of voltage readings outside the normal measurement range of sensor.For example, the voltage of being exported by power supply may apply the bias voltage that quantity is measuring voltage maximal value twice to sensor, or alternatively applies the bias voltage that quantity is ten times of measuring voltage maximal values.Like this, the voltage readings that is used for non-break-line condition can obviously not be subjected to the effect of signals that sensor receives.
By to after the sensor reading sampling broken string watch-dog being sampled, have only the current state of this broken string watch-dog to be used to trigger new broken string incident.Yet, in order to eliminate the intermediate data result who produces owing to asynchronous broken string incident, the current state of broken string watch-dog and before state can be used for indicating whether this circuit was complete before the process values of sensor sends to central controller.
Fig. 1 shows the system that is used to detect broken string, and analog to digital converter 100 (referring to A/D converter 100 here) comprises input 101,102,103 and 104.The input of A/D converter 100 can be paired poor with measuring voltage.For example, the input 101 and the input 102 (referring to import A or first group of input here) but the voltage difference at survey sensor 120 two ends.Sensor 120 can be thermopair (referring to TC here), or other suitable based on physical quantity measurement and produce the sensor element of voltage difference.Sensor 120 is measured the physical quantity that voltage 121 is driven.
A/D converter 100 also comprises imported for 103 and 104 (referring to import B or second group of input here), and these two inputs are the paired voltage in order to measurement indication break-line condition.A/D converter 100 is communicated by letter with controller 130, and this controller 130 is operating as the digitizing reading of two voltage differences of analyzing input a/d converter 100.A/D converter 100 can replace to two A/D converters, and for example an A/D converter has input 101 and 102, and another A/D converter has input 103 and 104.
In Fig. 1, power supply 140 is used for driving broken wire detection system.Power supply 140 can be variable direct voltage source.Replace, power supply 140 also can be a current source, and this current source operation breaks to detect for the electric current that drives the system that flows through.Switch 150 is used for voltage or electric current output from power supply 140 are applied in the system in order to detect broken string.Switch 150 is connected on the sensor circuit by diode 151, and is connected to ground 161 by resistance 152.Circuit shown in Figure 1 also can adopt the replacement of diode and resistance to arrange that any amount of discrete linear element (referring to resistive element here) also can adopt according to mode as known in the art.Second source 141 drives reference sources 110, and this second source 141 can be that variable direct voltage source maybe can be used for drive current and flows through system to detect the current source of broken string, and it is interchangeable to be another output of power supply 140.Reference source 110 is for system provides reference voltage, and this reference voltage can be input in the A/D converter 110.Input 104 can read-out system reference voltage 111.Reference voltage 111 can be set to 2.5V.Alternatively, reference voltage 111 can be set to any suitable reference voltage.
Input 101 and 102 at A/D converter 100 can survey sensor output voltage 112.When switch 150 closures were moved to allow broken wire detection system, sensor output voltage 112 can be 1.5V.Sensor output voltage 112 and reference voltage 111 for example can differ-1V, and this has represented the voltage drop at resistance 113 two ends.This broken string pressure reduction shows and has break-line condition.The full scale voltage conditions of A/D converter 100 input 101 and 102 can be+/-1.5V.In Fig. 1, sensor output voltage 112 can be isolated by resistance 114 and ground 160.
In the explanation of Fig. 1 circuit function, use thermopair/voltage input to explain sensor line integrality supervisory circuit below as the diagram purpose.When determining the integrality that circuit connects, switch 150 is closed.The difference input B (input 103 and 104) of A/D converter 100 works, and input A (input 101 and 102) is inoperative.Closing Switch 150 is connected to sensor line with power supply 140 (referring to Vpwr here, for example 5V).This will cause the electric current sensor line of flowing through.The pressure drop at resistance 113 two ends between the B input is directly measured by the input B of A/D converter 100.By this voltage, the impedance of sensor line can be calculated by the CPU in the controller 130 that is coupled to A/D converter 100.
When the voltage 121 of survey sensor 120 (referring to occasionally TC of thermoelectricity here), switch 150 disconnects.The difference input A of A/D converter 100 works, and input B is inoperative.The process values of voltage 121 or TC electromotive force are measured.Flow through and be arranged in resistance 113 between reference voltage 111 (refer to Vref and for example 2.5V) and the ground 160 and 114 bias current here sensor output voltage 112 (refer to here import common mode voltage) is set to Voffset (as 1.5V).This makes and can measure nearly+/-full scale of Voffset (for example+/-1.5V).Lower voltage can be measured to obtain more gain by the internal programmable gain amplifier (PGA) that A/D converter 100 is set.Resistance 152 can apply the negative diode 151 that is biased into, and diode 151 is coupled to switch 150 (referring to the burn out detection switch here) and power supply 140 on the sensor circuit, thus the interference of avoid breaking circuit and TC/ tension measuring circuit.
Fig. 2 shows the exemplary method of being carried out by controller 130.The method is by operation 200 beginnings, and its indicating module starts.This method advances to operation 210 from operating 200, operation 210 indication initialization and these modules of parametrization.This flow process advances to operation 220 then, operation 220 indication fetch channel data (N).Channel data (N) representative sensor data, therefore can representative graph 1 in the input end 101 of A/ D converter 100 and 102 input.This flow process then advances to operation 230, and operation 230 indications begin broken string conversion (N).This process has been represented among the closure of switch 150 and Fig. 1 and has been read the input 103 of A/ D converter 100 and 104 beginning.This flow process continues to advance to decision steps 235 from operating 230, and whether this decision steps inquiry conversion is finished.If conversion is not finished, this flow process turns to decision steps 235 once more, and whether the inquiry conversion is finished once more.
When converting and therefore replying when being sure of decision steps 235, this flow process advances to operation 240, and broken string data (N) are read in its indication.Broken string data (N) are the input end 103 of A/D converter 100 among Fig. 1 and 104 input.This flow process advances to operation 250 then, its indication beginning passage conversion (N+1).This flow process advances to decision steps 260 from operating 250, and it inquires whether broken string data that read for the N-1 time and the broken string data that read for the N time all are ready to.Therefore burn out detection is before the fetch channel data and begin immediately afterwards, if to decision steps 260 the answer is in the negative (promptly, if before passage and afterwards any in the reading indicated broken string), then flow process continues to advance to operation 265, and it has indicated a broken string diagnosis of report (referring to rub-out signal here).Therefore operation 265 has represented alarm, signal and/or visual output of giving people or other machines.If to replying of decision steps 260 is sure (that is, if not broken string indication in the reading before or after passage reads), then this flow process advances to operation 270, and it has indicated process/ratio channel data (N).Operation 270 can comprise that also record measurement data and output data are to being used to operate or another system of monitor procedure.
After operation 270 treatment channel data, flow process advances to operation 280, and it has indicated report channel data (N).This flow process from operate 280 and operation 265 advance to decision steps 290, whether its inquiry passage conversion (N+1) is finished.If to replying of decision steps 290 negate, this flow process is transformed into decision steps 290 once more, so this is the effective time-out between passage converts.The replying of problem that proposes in to decision steps 290 is sure, and this flow process advances to operation 220.
The replacement of flow process is arranged and also be can be depending on shown in Fig. 1 slewing rate possible in the system among Fig. 2.For example, indicated the operation 250 of beginning passage conversion (N+1), in the example embodiment of replacing, can before decision steps 290, carry out immediately.
The method of integrality that is used to guarantee each process values of measurement shown in Figure 2 can be summarized as follows.Switch S 1 closure is measured the input B on the A/D converter.Control CPU can calculate the electric current of the sensor of flowing through and judge that circuit is whether complete and have the impedance of appointment, also refers to acceptable scope here.Next, switch S 1 can disconnect, and measures input A.This value is by control CPU convergent-divergent and storage.Then, switch S 1 is closed again, and B is measured once more in input, and computational scheme impedance once more.Be in effective connection if these two line impedance result of calculations are found, in other words,, regard as effectively from the process values of the storage of sensor (input A) so and be sent in the system if these two impedance readings all fall in the acceptable scope.If one or two impedance readings is fallen outside design specification or the tolerance interval, so Cun Chu process values not the system of being sent to go.But transmission lines mistake in this case.This sequence is to all repeating each measuring period, thereby avoided invalid process values (because line errors) to be sent to central controller.Fig. 2 shows the instantiation procedure cycle, and Fig. 3 shows signal sequence.
Fig. 3 provides the timing waveform 300 of representing the unlike signal on each different passage.Broken string enable signal 310 is presented at the top of timing waveform 300.Middle waveform is that passage enables 320, and the waveform of bottom is that process/ratio enables 330.At WB (N-1) 340, on WB (N) 342 and the WB (N+1) 344, it is " disconnections " or positive that broken string enables 310.When broken string enabled 310 disconnections, it was closed that passage enables 320.On passage (N) 350 and passage (N+1) 352, it is " disconnections " or positive that broken string enables 320.Process/ratio enables 330 and enables 320 at passage and disconnect when disconnecting, yet process/ratio enables 330 and can not continue during passage enables whole positive signals on 320.Process/ratio enables 330 and comprises ratio (N-1) 360, ratio (N) 362 and ratio (N+1) 364.
Fig. 4 is the high level block diagram of computing machine according to an embodiment of the invention.Computing machine 400 can be for example as 130 operations of the controller among Fig. 1.Controller 130 can be programmable logic controller (PLC) (PLC), the operation in the time of can describing PLC as controller 130 uses equally to the description of computing machine 400 below.In addition, the step of describing at Fig. 2 above computing machine 400 can be carried out.Computing machine 400 comprises processor 410, and this processor has defined the operation of the computer program instructions control computer of these operations by execution, and these computer program instructions can be stored in the recording medium of embodied on computer readable.Computer program instructions can be stored in the storer 420 (for example disk, database), and loads into internal memory 430 when the instruction of expectation computer program.Therefore, computer operation will be defined by the computer program instructions that is stored in internal memory 430 and/or the storer 420, and computing machine 400 will be controlled by the processor 410 of computer program instruction.Computing machine 400 comprises that also one or more network interfaces 440 are used for communicating by letter with other device, other computing machine for example, server, or website.Network interface 440 can be for example local network, wireless network, enterprise network or internet.When computing machine 400 was PLC, network interface 440 can be Industrial Ethernet or industrial field bus.Computing machine 400 also comprises I/O 450, and it has represented the device that allows user and computing machine 400 mutual (for example display, keyboard, mouse, loudspeaker, button, network camera or the like).The enforcement that it will be recognized by those skilled in the art actual computer also can comprise other assemblies, and Fig. 4 is the high level display of some assemblies that is used for such computing machine of illustration purpose.
Above-mentioned detailed description should be understood that it is explanation and example to each aspect of the present invention, and it is unrestricted, in this disclosed scope of the present invention is not to be limited by top detailed description, but determine according to the claim that the maximum magnitude that Patent Law can allow is explained.Be appreciated that the embodiment that shows and describe is used for explaining principle of the present invention here, only otherwise deviate from the spirit and scope of the present invention, those skilled in the art can carry out various changes to the present invention.