Summary of the invention
Technical matters to be solved by this invention provides a kind of method and apparatus that makes moisture analyzer depress temperature control in different electric.
The present invention is that to solve the problems of the technologies described above the technical scheme that adopts be to propose a kind of method that makes moisture analyzer depress temperature control in different electric; This moisture analyzer comprises and receives thyristor controlled heating fluorescent tube that this method may further comprise the steps: obtain and the relevant information of this moisture analyzer institute working electric network voltage; Calculate the needed instantaneous heating power of this heating lamp management and control temperature; This instantaneous heating power is limited within the rated power scope of this heating fluorescent tube; Produce this pairing phasing degree of instantaneous heating power according to the information calculations relevant with this line voltage; And, utilize this heating fluorescent tube of this SCR control to carry out temperature control according to this this controllable silicon of phasing degree triggering.
In one embodiment of this invention, the step of obtaining the information relevant with this moisture analyzer institute working electric network voltage comprises: judge that the class under this line voltage is 110V shelves or 220V shelves.
In one embodiment of this invention, the step of obtaining the information relevant with this moisture analyzer institute working electric network voltage comprises: the actual value that detects this line voltage.
In one embodiment of this invention; The step that produces this pairing phasing degree of instantaneous heating power according to the information calculations relevant with this line voltage comprises: if current input voltage is the 110V shelves, then calculates and produce this pairing phasing degree of instantaneous heating power under the 110V alternating voltage; And if current input voltage is the 220V shelves, then calculates and produce this pairing phasing degree of instantaneous heating power under the 220V alternating voltage.
In one embodiment of this invention, the step that produces this pairing phasing degree of instantaneous heating power according to the information calculations relevant with this line voltage comprises: calculate under the actual value of this line voltage and produce this pairing phasing degree of instantaneous heating power.
In one embodiment of this invention, the algorithm that calculates the needed instantaneous heating power of this heating lamp management and control temperature comprises fuzzy algorithm or PID algorithm.
In one embodiment of this invention, this moisture analyzer only uses a kind of heating fluorescent tube, and the rated voltage of this heating fluorescent tube is 110V or 220V.
In one embodiment of this invention;, also comprise after calculating the needed instantaneous heating power of this heating lamp management and control temperature from the initial stage that cold conditions begins to heat at each heating fluorescent tube: will this instantaneous heating power be limited in and start-up time of heating fluorescent tube in the relative restrictions power.
In addition; The present invention proposes a kind of device that makes moisture analyzer depress temperature control in different electric; This moisture analyzer comprises and receives thyristor controlled heating fluorescent tube that this device comprises: the network voltage detection circuit, obtain and the relevant information of this moisture analyzer institute working electric network voltage; Power computation module is calculated the needed instantaneous heating power of this heating lamp management and control temperature, and this instantaneous heating power is limited within the rated power scope of this heating fluorescent tube; Module is calculated at the phasing degree, produces the pairing phasing degree of required instantaneous power according to the information calculations relevant with this line voltage; And thyristor gating circuit, trigger this controllable silicon according to this phasing degree, utilize this heating fluorescent tube of this SCR control to carry out temperature control.
In one embodiment of this invention, this network voltage detection circuit is in order to judge that the class under this line voltage is the circuit of 110V shelves or 220V shelves.
In one embodiment of this invention, this network voltage detection circuit is the circuit in order to the actual value that detects this line voltage.
In one embodiment of this invention, if current input voltage is the 110V shelves, then this phasing degree is calculated module and is calculated 110V alternating voltage this pairing phasing degree of instantaneous heating power of generation down; And if current input voltage is the 220V shelves, then this phasing degree is calculated module and is calculated the 220V alternating voltage and produce this pairing phasing degree of instantaneous heating power down.
In one embodiment of this invention, this phasing degree is calculated module and is calculated this pairing phasing degree of instantaneous heating power of generation under the actual value of this line voltage.
In one embodiment of this invention, this power computation module is used fuzzy algorithm or the needed instantaneous heating power of this heating lamp management and control temperature of PID algorithm computation.This power computation module further is limited in this instantaneous heating power within the rated power scope of this heating fluorescent tube.
In one embodiment of this invention, this moisture analyzer only uses a kind of heating fluorescent tube, and the rated voltage of this heating fluorescent tube is 110V or 220V.
In one embodiment of this invention, from the initial stage that cold conditions begins to heat, this power computation module further will this instantaneous heating power be limited in and start-up time of heating fluorescent tube in the relative restrictions power at each heating fluorescent tube.
In sum, the information that the present invention provides according to hardware is judged the voltage of electrical network, calculate the instantaneous heating power of the required output of temperature control, and instantaneous heating power is limited within the rated power scope; Calculate the phasing degree under the current line voltage, trigger controllable silicon thus, thereby the feasible moisture analyzer that the heating fluorescent tube of certain rated voltage (like 110V or 220V) is installed can both temperature control work under different line voltages.
Embodiment
As shown in Figure 1, this is a method flow diagram of depressing temperature control according to an embodiment of the invention in different electric.This method comprises the steps:
At first, step 100 is judged the class under the current voltage, for example is 110V shelves or 220V shelves.In the following description, the 110V shelves mean voltage at 110V-120V, and the 220V shelves mean that voltage is at 220V-240V.The foundation of this determining step typically comes from the information that hardware provides.In an example; As shown in Figure 3, low-voltage can isolated and produce to the primary side of ac grid voltage 1 input step-down transformer T1 at the secondary winding of step-down transformer T1; After diode D1 and capacitor C 1; Can become a smoother DC voltage, be defeated by chip U1 after the suitable dividing potential drop through resistance R 1 and R2 then, U1 is the not gate of 74HC14 Si schmitt trigger input.Judge that when the input of U1 is noble potential current line voltage is the 220V shelves, otherwise be the 110V shelves.CPU 2 obtains the affiliated class of current voltage thus.
Secondly, step 102 can be calculated the instantaneous heating power of the required output of temperature control according to some algorithm, and makes it smaller or equal to rated power.These algorithms for example are PID (PID) algorithms, fuzzy algorithm etc.For instance, a pid algorithm process is following:
A. the setting according to moisture analyzer requires known target temperature T s;
B. through temperature sensor and A/D (analog to digital converter), measure current controlled temperature T in real time;
C. ask temperature error En=T-Ts (n is the step number of control);
D. instantaneous heating power P=k* [E
n+ (E0+E1+...En) * dT/Ti+Td* (E
n-E
N-1)/dT],
Wherein k is a scale-up factor, and Ti is integral time, and Td derivative time, dT is the control step-length.
In addition, instantaneous heating power P also will receive the Power Limitation of rated power Pm: if P>Pm then makes P=Pm.
Moreover, calculate the pairing phasing degree of (like 110V shelves or 220V shelves) required instantaneous heating power of generation under the known alternating voltage shelves at step 104-106 according to following formula (1).Separate following equation, promptly obtain angle phi, satisfy following equation.
Wherein P is required instantaneous heating power, and Vin is line voltage such as 110V or 220V, and R is the equivalent resistance of heating fluorescent tube.Above equation is a complicated equation, but can obtain a satisfactory approximation formula, for example obtains the corresponding array of one group of Y and φ with numerical method, considers the singularity of function when φ<24 degree or φ>162 are spent again, can formula be returned into polynomial expression:
φ=184.36*Y
4-638.83*Y
3+ 633.94*Y
2-318.54*Y+163.08, degree
And if Y>0.998, φ=24 degree
If Y<0.003, φ=162 degree, or do not trigger.
Wherein,
At last, step 108 triggers controllable silicon according to the phasing degree that calculates, and by SCR control heating fluorescent tube, carries out temperature control.
In a preferred embodiment,, can also add a soft start-up process at each heating fluorescent tube from the initial stage that cold conditions begins to heat in order to prolong the life-span of heating fluorescent tube.Soft start-up process is at the initial stage of heating fluorescent tube energising heating (in as incipient 1 second, or incipient 2 seconds are interior), makes heating power progressively be increased to the process of its rated power or required instantaneous heating power from a miniwatt (for example 20% rated power).With reference to shown in Figure 2, wherein identical with Fig. 1 label is represented identical step, no longer describes at this.Its difference is in the present embodiment, whether the discriminatory analysis appearance is just to have started heating (step 103a), if just started heating, then carries out soft start-up process (step 103b).Power Limitation in the soft start-up process is: if P>Pms makes P=Pms, wherein Pms is and relative restrictions power start-up time, for example:
Pms=(0.2+0.4*t) * Pm, wherein t is start-up time, unit is second, controls step-length dT usually less than 0.2 second; Pm is a rated power.
Fig. 4 is a structure drawing of device of depressing temperature control according to an embodiment of the invention in different electric.As shown in Figure 4, wherein 1 is AC network (like 110V or 220V, not as limit).This device comprises master cpu 2a, network voltage detection circuit 4, man-machine interface 5, temperature sensor 6 (like Pt1000), temperature measuring circuit 7, heating fluorescent tube 8, controllable silicon 9, thyristor gating circuit 10.
An example of network voltage detection circuit 4 is as shown in Figure 3, and it is in order to obtain the class under the current voltage and to input to CPU 2a.
Man-machine interface 5 is set Ts in order to receive temperature; Temperature sensor 6 and temperature measuring circuit 7 are in order to the current controlled temperature T of real-time measurement.
In CPU 2a, comprise power computation module 21 and phasing degree calculating module 22a, in one embodiment, these modules 21,22a adopt software programming to obtain.In another embodiment, these modules 21,22a also can be the standalone modules that is not contained among the CPU.Power computation module 21 can be calculated instantaneous heating power P according to Ts and T, and a kind of algorithm is following:
Ask temperature error En=T-Ts (n is the step number of control);
Instantaneous heating power P=k* [E
n+ (E0+E1+...En) * dT/Ti+Td* (E
n-E
N-1)/dT],
Wherein k is a scale-up factor, and Ti is integral time, and Td derivative time, dT is the control step-length.
In addition, instantaneous heating power P also will receive the Power Limitation of rated power Pm: if P>Pm then makes P=Pm.
Moreover module 22a is calculated at the phasing degree can calculate the pairing phasing degree of (like 110V shelves or 220V shelves) required instantaneous heating power of generation under the known alternating voltage shelves.Separate following equation (1), promptly obtain angle phi.
Wherein P is required instantaneous heating power, and Vin is line voltage such as 110V or 220V, and R is the equivalent resistance of heating fluorescent tube.Above equation is a complicated equation, but can obtain a satisfactory approximation formula, for example, and φ=184.36*Y
4-638.83*Y
3+ 633.94*Y
2-318.54*Y+163.08, degree
And if Y>0.998, φ=24 degree
If Y<0.003, φ=162 degree, or do not trigger.
Wherein,
At last, CPU 2a triggers controllable silicon 9 according to the phasing degree that calculates through thyristor gating circuit 10, by SCR control heating fluorescent tube 8, carries out temperature control.
Thus, the foregoing description can be judged the voltage class of electrical network according to the information that hardware provides, and calculates the instantaneous heating power of the required output of temperature control; And calculate the phasing degree under 110V or the 220V voltage, and trigger controllable silicon thus, make the moisture analyzer of the heating fluorescent tube that certain rated voltage (like 110V) is installed can both temperature control work under different line voltages.
Fig. 5 depresses the method flow diagram of temperature control according to further embodiment of this invention in different electric.In this embodiment, the information of the electrical network that is obtained is not the class under the voltage effective value, but the actual measured value of voltage effective value, but so accurate Calculation and control phase trigger angle.The method step of present embodiment is following:
At first, step 200 detects current magnitude of voltage.The foundation of this detection step typically comes from the information that hardware provides.In an example; As shown in Figure 6, low-voltage can isolated and produce to the primary side of ac grid voltage 1 input step-down transformer T1 at the secondary winding of step-down transformer T1; After diode D1 and capacitor C 1; Can become a smoother DC voltage, be defeated by A/D (analog to digital converter) 3 after the suitable dividing potential drop through resistance R 1 and R2 then, carry out obtaining voltage data after the analog to digital conversion and export CPU2a to.
Secondly, step 202 can be calculated the instantaneous heating power of the required output of temperature control according to some algorithm, and makes it smaller or equal to rated power.These algorithms for example are PID (PID) algorithms, fuzzy algorithm etc.For instance, a pid algorithm process is following:
A. the setting according to moisture analyzer requires known target temperature T s;
B. through temperature sensor and A/D (analog to digital converter), measure current controlled temperature T in real time;
C. ask temperature error En=T-Ts (n is the step number of control);
D. instantaneous heating power P=k* [E
n+ (E0+E1+...En) * dT/Ti+Td* (E
n-E
N-1)/dT],
Wherein k is a scale-up factor, and Ti is integral time, and Td derivative time, dT is the control step-length.
In addition, instantaneous heating power P also will receive the Power Limitation of rated power Pm: if P>Pm then makes P=Pm.
Moreover, calculate known virtual voltage in step 204 according to following formula (1) and produce the pairing phasing degree of required instantaneous heating power.Separate following equation, promptly obtain angle phi, satisfy following equation.
Wherein P is required instantaneous heating power, and Vin is the actual line voltage that records, and R is the equivalent resistance of heating fluorescent tube.Above equation is a complicated equation, but can obtain a satisfactory approximation formula, for example, and φ=184.36*Y
4-638.83*Y
3+ 633.94*Y
2-318.54*Y+163.08, degree
And if Y>0.998, φ=24 degree
If Y<0.003, φ=162 degree, or do not trigger.
Wherein,
At last, step 206 triggers controllable silicon according to the phasing degree that calculates, and by SCR control heating fluorescent tube, carries out temperature control.
Fig. 7 is a structure drawing of device of depressing temperature control according to another embodiment of the present invention in different electric.As shown in Figure 7, wherein 1 is AC network (like 110V or 220V, not as limit).This device comprises master cpu 2b, network voltage detection circuit 4a, man-machine interface 5, temperature sensor 6 (like Pt1000), temperature measuring circuit 7, heating fluorescent tube 8, controllable silicon 9, thyristor gating circuit 10, and wherein identical with Fig. 4 label is represented identical parts.
The example of network voltage detection circuit 4a is as shown in Figure 6, and it is in order to obtain current voltage and to input to CPU 2b.
Man-machine interface 5 is set Ts in order to receive temperature; Temperature sensor 6 and temperature measuring circuit 7 are in order to the current controlled temperature T of real-time measurement.
In CPU 2b, comprise power computation module 21 and phasing degree calculating module 22b, in one embodiment, these modules for example are to adopt software programming to obtain.Power computation module 21 can be calculated instantaneous heating power P according to Ts and T, and a kind of algorithm is following:
Ask temperature error En=T-Ts (n is the step number of control);
Instantaneous heating power P=k* [E
n+ (E0+E1+...En) * dT/Ti+Td* (E
n-E
N-1)/dT],
Wherein k is a scale-up factor, and Ti is integral time, and Td derivative time, dT is the control step-length.
In addition, instantaneous heating power P also will receive the Power Limitation of rated power Pm: if P>Pm then makes P=Pm.
Moreover phasing degree calculating module 22b can calculate known solid border alternating voltage and produce the pairing phasing degree of required instantaneous heating power.Separate following equation (1), promptly obtain angle phi.
Wherein P is required instantaneous heating power, and Vin is the actual line voltage that records, and R is the equivalent resistance of heating fluorescent tube.Above equation is a complicated equation, but can obtain a satisfactory approximation formula, for example, and φ=184.36*Y
4-638.83*Y
3+ 633.94*Y
2-318.54*Y+163.08, degree
And if Y>0.998, φ=24 degree
If Y<0.003, φ=162 degree, or do not trigger.
Wherein,
At last, CPU 2b triggers controllable silicon 9 according to the phasing degree that calculates through thyristor gating circuit 10, by SCR control heating fluorescent tube 8, carries out temperature control.
Thus, the precise voltage of the information detection of grid that the foregoing description can provide according to hardware is calculated the instantaneous heating power of the required output of temperature control; And calculate the phasing degree under this precise voltage, and trigger controllable silicon thus, make the moisture analyzer of the heating fluorescent tube that certain rated voltage (like 110V) is installed can both temperature control work under different line voltages.
In addition, the present invention can carry out various modifications by being familiar with those of ordinary skill in the art, for example; Can select rated voltage for use is 220V's; The heating tube that original rated power is bigger, and the power that can send when the 110V according to this heating fluorescent tube, and this moisture analyzer is required; And receptible maximum heating power; Again confirm the rated power Pm (it approaches the power that this heating fluorescent tube can send less than original rated power when 110V) of this heating tube, the rated power Pm with redetermination limits power to use then.Again for example, can isolate thyristor gating circuit with photoelectrical coupler.
Though the present invention discloses as above with preferred embodiment; Right its is not that any those skilled in the art are not breaking away from the spirit and scope of the present invention in order to qualification the present invention; When can doing a little modification and perfect, so protection scope of the present invention is when being as the criterion with what claims defined.