[go: up one dir, main page]

CN108918800A - Water hardness detector, the hydrotreater, method of adjustment of adjustable filtering parameter - Google Patents

Water hardness detector, the hydrotreater, method of adjustment of adjustable filtering parameter Download PDF

Info

Publication number
CN108918800A
CN108918800A CN201810469112.XA CN201810469112A CN108918800A CN 108918800 A CN108918800 A CN 108918800A CN 201810469112 A CN201810469112 A CN 201810469112A CN 108918800 A CN108918800 A CN 108918800A
Authority
CN
China
Prior art keywords
triode
circuit
signal
trigger
water hardness
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.)
Pending
Application number
CN201810469112.XA
Other languages
Chinese (zh)
Inventor
陈小平
罗魏
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.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology Co Ltd
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 Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201810469112.XA priority Critical patent/CN108918800A/en
Publication of CN108918800A publication Critical patent/CN108918800A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/18Water
    • G01N33/1853Hardness of water

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

The invention discloses the water hardness detector of adjustable filtering parameter, hydrotreater, methods of adjustment, are sequentially connected in series water hardness probe, signal sample circuit, Parameter adjustable filter circuit, signal amplification circuit and MCU chip;The on-off valve regulation filtering parameter that the Parameter adjustable filter circuit passes through triode Q1, triode Q2, triode Q3 and triode Q4;The MCU chip is equipped with voltage fluctuation detection circuit and trigger circuit, voltage fluctuation detection circuit is used to detect the real-time voltage undulating value of the output voltage of signal amplification circuit, trigger circuit is used to control the on-off of triode Q1, triode Q2, triode Q3 and triode Q4, forms a variety of trigger signal combinations.Filtering parameter can be voluntarily adjusted according to practical power environment, avoid product appearance the problem of laboratory/factory testing passes through but influenced test result by power supply disturbance elsewhere, amplifier output voltage signal is fluctuated up and down and is minimized, the accuracy of water hardness data is improved.

Description

Water hardness detector, the hydrotreater, method of adjustment of adjustable filtering parameter
Technical field
The present invention relates to water quality inspection technique field more particularly to water hardness detector, the water of adjustable filtering parameter Processor, method of adjustment.
Background technique
When carrying out sofening treatment to drinking water, industrial process water, it is often used water hardness probe and carries out water hardness Measurement.Since probe output is the other voltage signal of millivolt level, it is easy the common mode interference by power supply, to sampled voltage Before signal amplifies processing, it is necessary to be filtered to sampled voltage signal, it is accurate to influence measurement to avoid interference signal Degree.Since the practical power environment of water hardness probe 1 is changeable, the common mode interference degree by power supply is different and existing The filtering parameter of water hardness detector be unable to adjust, therefore often occur product laboratory/factory testing pass through but The problem of being influenced test result by power supply disturbance elsewhere, and can not effectively filter when excessive once interference signal, are easily damaged Water hardness probe support circuit plate.
Summary of the invention
It is an object of the invention to propose that one kind can adjust filtering parameter according to practical power environment, product is avoided in reality Test the adjustable filtering parameter that room/factory testing passes through but occurs the problem of influenced test result by power supply disturbance elsewhere Water hardness detector, hydrotreater, method of adjustment.
For this purpose, the present invention uses following technical scheme:
A kind of water hardness detector of adjustable filtering parameter, be sequentially connected in series water hardness probe, signal sample circuit, Parameter adjustable filter circuit, signal amplification circuit and MCU chip;
The on-off tune that the Parameter adjustable filter circuit passes through triode Q1, triode Q2, triode Q3 and triode Q4 Save filtering parameter;
The MCU chip is equipped with voltage fluctuation detection circuit and trigger circuit, the output of the voltage fluctuation detection circuit The input terminal of end and trigger circuit is electrically connected, the base stage of the triode Q1, the base stage of triode Q2, the base stage of triode Q3 and The base stage of triode Q4 is electrically connected with the output end of trigger circuit;
The voltage fluctuation detection circuit is used to detect the real-time voltage undulating value of the output voltage of signal amplification circuit, and And it is equipped with maximum allowable fluctuation threshold, when the real-time voltage undulating value of detection is greater than the maximum allowable fluctuation threshold, On-off adjustment signal is sent to the trigger circuit;
The trigger circuit is for sending triggering letter to triode Q1, triode Q2, triode Q3 and triode Q4 respectively Number, the on-off of control triode Q1, triode Q2, triode Q3 and triode Q4 form a variety of trigger signal combinations;
With for when receiving the on-off adjustment signal, replacement triode Q1, triode Q2, triode Q3 and three poles The trigger signal of pipe Q4 combines, and sends detection request signal to the voltage fluctuation detection circuit;
The voltage fluctuation detection circuit is also used to detect real-time voltage adjusted when receiving detection request signal Undulating value, if real-time voltage undulating value adjusted is sent when being not more than the maximum allowable fluctuation threshold to the trigger circuit Stop adjustment signal;The trigger circuit stops replacing the trigger signal combination.
Preferably, the Parameter adjustable filter circuit includes resistance R1, resistance R2, resistance R3, capacitor C1, capacitor C2, electricity Hold one end of C3, triode Q1, triode Q2, triode Q3 and triode Q4, resistance R1, one end of resistance R2 and resistance R3 One end is electrically connected with the electrical connection of the output end of signal sample circuit, the other end of the resistance R1 and one end of capacitor C1, institute State the emitter electrical connection of the other end and triode Q1 of resistance R2, the other end of the resistance R3 and the emitter of triode Q2 Electrical connection, one end electrical connection of the collector and capacitor C1 of the triode Q1, the collector and capacitor C1 of the triode Q2 One end electrical connection, one end of the capacitor C2, one end of capacitor C3 and capacitor C1 one end electrical connection, the one of the capacitor C1 The input terminal of end and signal amplification circuit is electrically connected, the collector electrical connection of the other end and triode Q3 of the capacitor C2, institute State the collector electrical connection of the other end and triode Q4 of capacitor C3, the emitter of the other end of the capacitor C1, triode Q3 It is grounded with the emitter of triode Q4, base stage, the base stage of triode Q2, the base stage and three of triode Q3 of the triode Q1 The base stage of pole pipe Q4 is electrically connected with the output end of trigger circuit.
Preferably, the signal amplification circuit includes resistance R4, resistance R5 and operational amplifier U1, the operational amplifier The non-inverting input terminal of U1 and one end electrical connection of capacitor C1, one end of the resistance R4, one end of resistance R5 and operational amplifier The inverting input terminal of U1 is electrically connected, the other end ground connection of the resistance R4, the other end and operational amplifier U1 of the resistance R5 Output end electrical connection, the input terminal electrical connection of the output end of the operational amplifier U1 and MCU chip.
Preferably, the MCU chip is additionally provided with A/D converter circuit, the input terminal and operational amplifier of the A/D converter circuit The output end of U1 is electrically connected, the output end of the A/D converter circuit and the input terminal electrical connection of voltage fluctuation detection circuit.
Preferably, the real-time voltage undulating value that the trigger circuit is also used to measure when all trigger signal combinations is equal When greater than the maximum allowable fluctuation threshold, it is replaced with the corresponding the smallest trigger signal combination of real-time voltage undulating value.
Preferably, the method for adjustment of the water hardness detector of the adjustable filtering parameter, includes the following steps:
Step 1, water hardness probe carries out water quality detection, to export sampled voltage signal to signal sample circuit;
Step 2, the Parameter adjustable filter circuit are filtered the sampled voltage signal;
Step 3, the signal amplification circuit amplify processing to filtered sampled voltage signal, and it is defeated to form amplifier Voltage signal out;
Step 4, the A/D converter circuit carry out analog-to-digital conversion to the amplifier output voltage signal, form digital voltage Signal;
Step 5, the voltage fluctuation detection circuit detect the real-time voltage undulating value of the digital voltage signal, and The real-time voltage undulating value and the maximum allowable fluctuation threshold are compared:
If the real-time voltage undulating value is greater than the maximum allowable fluctuation threshold, on-off is sent to the trigger circuit Adjustment signal;
Step 6, when receiving the on-off adjustment signal, trigger circuit replacement triode Q1, triode Q2, The trigger signal of triode Q3 and triode Q4 combines, and sends detection request letter to the voltage fluctuation detection circuit Number;
Step 7, the voltage fluctuation detection circuit detect real-time voltage undulating value adjusted:
If real-time voltage undulating value adjusted is not more than the maximum allowable fluctuation threshold, sent out to the trigger circuit Stopping adjustment signal being sent, the trigger circuit stops replacing the trigger signal combination;
If the real-time voltage undulating value after whole is greater than the maximum allowable fluctuation threshold, sent to the trigger circuit 52 On-off adjustment signal, repeats step 6.
Preferably, the step 2 be specially the trigger circuit send at random in advance one group of trigger signal be incorporated into it is described Parameter adjustable filter circuit controls the on off operating mode and the group of triode Q1, triode Q2, triode Q3 and triode Q4 respectively Trigger signal combination is consistent, and the Parameter adjustable filter circuit generates corresponding filtering parameter, then the Parameter adjustable filtering Circuit is filtered the sampled voltage signal under this filtering parameter.
Preferably, further include step 8, when the real-time voltage undulating value that measures of all trigger signals combination be all larger than it is described When maximum allowable fluctuation threshold, the trigger circuit is replaced with the corresponding the smallest trigger signal combination of real-time voltage undulating value.
Preferably, using the hydrotreater of the water hardness detector of the adjustable filtering parameter, including hydrotreater The water hardness detector of the water hardness detector of main body and adjustable filtering parameter, the adjustable filtering parameter is installed on In hydrotreater main body, the water hardness probe of the water hardness detector of the adjustable filtering parameter is set to hydrotreater The water tank of main body.
In the water hardness detector of the adjustable filtering parameter, triode Q1, three is arranged in Parameter adjustable filter circuit Pole pipe Q2, triode Q3 and triode Q4 form different filtering parameters by different switch combinations, different to adapt to Common mode interference degree.Trigger circuit is for sending triggering letter to triode Q1, triode Q2, triode Q3 and triode Q4 respectively Number, the on-off of control triode Q1, triode Q2, triode Q3 and triode Q4 form 16 kinds of trigger signal combinations, to adjust Entire filter wave parameter improves water hardness accuracy in detection.
In the case where active interference, interference signal can be done after signal amplification circuit with sampled voltage Signal averaging Disturbing can also be amplified, and show as amplifier output voltage signal and fluctuate up and down.Therefore, it is detected by voltage fluctuation detection circuit real-time Magnitude of a voltage fluctuation;Once real-time voltage undulating value is greater than the maximum allowable fluctuation threshold, then need to send to trigger circuit logical Disconnected adjustment signal, so that trigger circuit adjustment trigger signal combination, to find suitable filtering parameter, interference signal is filtered Fall, amplifier output voltage signal is fluctuated up and down and is minimized, improve the accuracy of water hardness data, realizes adjust automatically filter The effect of wave parameter.
Detailed description of the invention
The present invention will be further described for attached drawing, but the content in attached drawing does not constitute any limitation of the invention.
Fig. 1 is the water hardness detector structural schematic diagram of the one of embodiment of the present invention;
Fig. 2 is the hydrotreater structural schematic diagram of the one of embodiment of the present invention.
Wherein:Water hardness probe 1;Signal sample circuit 2;Parameter adjustable filter circuit 3;Signal amplification circuit 4;MCU Chip 5;Resistance R1, R2, R3, R4, R5;Operational amplifier U1;Capacitor C1, C2, C3;Triode Q1, Q2, Q3, Q4;AD conversion electricity Road 51;Trigger circuit 52;Voltage fluctuation detection circuit 53;Hydrotreater main body 6;Water tank 61.
Specific embodiment
To further illustrate the technical scheme of the present invention below with reference to the accompanying drawings and specific embodiments.
The water hardness detector of a kind of adjustable filtering parameter of the present embodiment, as shown in Figure 1, it is hard to be sequentially connected in series water quality Degree probe 1, signal sample circuit 2, Parameter adjustable filter circuit 3, signal amplification circuit 4 and MCU chip 5;The Parameter adjustable The on-off valve regulation filtering parameter that filter circuit 3 passes through triode Q1, triode Q2, triode Q3 and triode Q4;
The MCU chip 5 is equipped with voltage fluctuation detection circuit 53 and trigger circuit 52, the voltage fluctuation detection circuit 53 Output end and trigger circuit 52 input terminal electrical connection, base stage, the base stage of triode Q2, triode Q3 of the triode Q1 Base stage and the base stage of triode Q4 be electrically connected with the output end of trigger circuit 52;
The voltage fluctuation detection circuit 53 is used to detect the real-time voltage fluctuation of the output voltage of signal amplification circuit 4 Value, and it is equipped with maximum allowable fluctuation threshold, when the real-time voltage undulating value of detection is greater than the maximum allowable fluctuation threshold When value, on-off adjustment signal is sent to the trigger circuit 52;
The trigger circuit 52 is triggered for sending respectively to triode Q1, triode Q2, triode Q3 and triode Q4 Signal, the on-off of control triode Q1, triode Q2, triode Q3 and triode Q4 form a variety of trigger signal combinations;
With for when receiving the on-off adjustment signal, replacement triode Q1, triode Q2, triode Q3 and three poles The trigger signal of pipe Q4 combines, and sends detection request signal to the voltage fluctuation detection circuit 53;
The voltage fluctuation detection circuit 53 is also used to detect real-time electricity adjusted when receiving detection request signal Undulating value is pressed, if to the trigger circuit 52 when real-time voltage undulating value adjusted is no more than the maximum allowable fluctuation threshold It sends and stops adjustment signal;The trigger circuit 52 stops replacing the trigger signal combination.
In the water hardness detector of the adjustable filtering parameter, water hardness probe 1 is used for the measurement of water hardness, Water hardness pops one's head in 1 output signal as the other voltage signal of millivolt level, signal sample circuit 2 can be transported to, due to millivolt level Other voltage signal is easy the common mode interference by power supply, therefore the other sampled voltage signal of millivolt level is needed through the parameter Tunable filter circuit 3 is filtered, then amplifies processing by signal amplification circuit 4, conveys amplifier to MCU chip 5 Output voltage signal, to carry out the data processing of next step.
Since the practical power environment of water hardness probe 1 is changeable, the common mode interference degree by power supply is different, therefore Triode Q1, triode Q2, triode Q3 and triode Q4 is arranged in Parameter adjustable filter circuit 3, by different switch combinations, Different filtering parameters is formed, to adapt to different common mode interference degree.Trigger circuit 52 is used for respectively to triode Q1, three poles Pipe Q2, triode Q3 and triode Q4 send trigger signal, control triode Q1, triode Q2, triode Q3 and triode Q4 On-off, form the combination of 16 kinds of trigger signals, to adjust filtering parameter, improve water hardness accuracy in detection.
In the case where active interference, interference signal can be done after signal amplification circuit 4 with sampled voltage Signal averaging Disturbing can also be amplified, and show as amplifier output voltage signal and fluctuate up and down.Therefore, reality is detected by voltage fluctuation detection circuit 53 When magnitude of a voltage fluctuation:If the real-time voltage undulating value is not more than the maximum allowable fluctuation threshold, without adjusting filtering ginseng Number;Once real-time voltage undulating value is greater than the maximum allowable fluctuation threshold, then need to send on-off adjustment to trigger circuit 52 Signal, so that trigger circuit 52 adjusts trigger signal combination, to achieve the purpose that adjust filtering parameter.
When receiving the on-off adjustment signal, trigger circuit 52 replace trigger signal combination, with adjust triode Q1, The on-off of triode Q2, triode Q3 and triode Q4 adjust filtering parameter, carry out at filtering again to sampled voltage signal Reason, therefore need voltage fluctuation detection circuit 53 to detect real-time voltage undulating value adjusted after adjusting filtering parameter each time; Constantly replacement trigger signal combination, until real-time voltage undulating value is not more than the trigger circuit 52 when maximum allowable fluctuation threshold Stop adjustment, to find suitable filtering parameter, interference signal is filtered, amplifier output voltage signal is fluctuated up and down and is reduced to Minimum improves the accuracy of water hardness data, realizes the effect of adjust automatically filtering parameter.
Preferably, as shown in Figure 1, the Parameter adjustable filter circuit 3 includes resistance R1, resistance R2, resistance R3, capacitor C1, capacitor C2, capacitor C3, triode Q1, triode Q2, triode Q3 and triode Q4, one end of resistance R1, resistance R2 one End and one end of resistance R3 are electrically connected with the output end of signal sample circuit 2, the other end of the resistance R1 and capacitor C1's One end electrical connection, the emitter electrical connection of the other end and triode Q1 of the resistance R2, the other end and three of the resistance R3 The emitter of pole pipe Q2 is electrically connected, one end electrical connection of the collector and capacitor C1 of the triode Q1, the triode Q2's The electrical connection of one end of collector and capacitor C1, one end electrical connection of one end of the capacitor C2, one end of capacitor C3 and capacitor C1, The electrical connection of the input terminal of one end of the capacitor C1 and signal amplification circuit 4, the other end of the capacitor C2 and triode Q3's Collector electrical connection, the collector electrical connection of the other end and triode Q4 of the capacitor C3, the other end of the capacitor C1, three The emitter of pole pipe Q3 and the emitter of triode Q4 are grounded, base stage, the base stage of triode Q2, three poles of the triode Q1 The base stage of pipe Q3 and the base stage of triode Q4 are electrically connected with the output end of trigger circuit 52.
Triode Q1, triode Q2, triode Q3 and triode Q4 convey trigger signal, such as three poles by trigger circuit 52 When pipe Q1, triode Q2, triode Q3 and triode Q4 are held off, then forming filtering parameter by resistance R1 and capacitor C1 is R1*C1;When triode Q1 is connected, and triode Q2, triode Q3 and triode Q4 are held off, by resistance R1, resistance R2 It is ((R1+R2)/R1*R2) * C1 with capacitor C1 composition filtering parameter;So analogize, by control triode Q1, triode Q2, The on off operating mode of triode Q3 and triode Q4 can form 16 kinds of different trigger signals combinations, be correspondingly formed 16 it is different Filter circuit parameter.It, can basis to which the water hardness detector of adjustable filtering parameter has flexile filtering parameter Practical power environment voluntarily adjusts filtering parameter, reduces the design time of signal amplification circuit 4, avoid product laboratory/ The problem of factory testing passes through but influenced test result by power supply disturbance elsewhere appearance realizes that filtering parameter is raw in product Postpartum is still adjustable, reduces the after-sales service rate of 1 support circuit plate of water hardness probe after sale.
Preferably, as shown in Figure 1, the signal amplification circuit 4 includes resistance R4, resistance R5 and operational amplifier U1, institute State the non-inverting input terminal of operational amplifier U1 and one end electrical connection of capacitor C1, one end of the resistance R4, resistance R5 one end Be electrically connected with the inverting input terminal of operational amplifier U1, the other end ground connection of the resistance R4, the other end of the resistance R5 and The output end of operational amplifier U1 is electrically connected, the output end of the operational amplifier U1 and the input terminal electrical connection of MCU chip 5. The other voltage signal of filtered millivolt level is amplified to required range value and become with original input signal by signal amplification circuit 4 The consistent amplifier output voltage signal of law, that is, carry out distortionless amplification, it is ensured that the accuracy of water quality measurement result.
Preferably, as shown in Figure 1, the MCU chip 5 is additionally provided with A/D converter circuit 51, the A/D converter circuit 51 it is defeated Enter end and the output end electrical connection of operational amplifier U1, the output end and voltage fluctuation detection circuit 53 of the A/D converter circuit 51 Input terminal electrical connection.The amplifier output voltage signal that signal amplification circuit 4 exports carries out modulus through A/D converter circuit 51 and turns It changes, digital voltage signal is formed, to obtain water hardness value.
In the case where active interference, interference signal can be done after signal amplification circuit 4 with sampled voltage Signal averaging Disturbing can also be amplified, and show as amplifier output voltage signal and fluctuate up and down.Therefore, the A/D converter circuit 51 is set by amplifier The analog wave turn of output voltage signal changes digital fluctuation into, then detects real-time voltage fluctuation by voltage fluctuation detection circuit 53 Value.
Preferably, the real-time voltage undulating value that the trigger circuit 52 is also used to measure when the combination of all trigger signals is big When the maximum allowable fluctuation threshold, it is replaced with the corresponding the smallest trigger signal combination of real-time voltage undulating value.Compare 16 In the kind trigger signal combination, which kind of corresponding real-time voltage undulating value is minimum, i.e., this kind of trigger signal combines corresponding filter Wave parameter is ideal, and the anti-interference ability of water quality hardness tester is best under this filtering parameter, therefore is replaced with corresponding The smallest trigger signal combination of real-time voltage undulating value.In summary, the MCU chip 5 can reach through the above way automatic Adjust the effect of filtering parameter.
Preferably, the method for adjustment of the water hardness detector of the adjustable filtering parameter, includes the following steps:
Step 1, water hardness probe 1 carries out water quality detection, to export sampled voltage signal to signal sample circuit 2;
Step 2, the Parameter adjustable filter circuit 3 are filtered the sampled voltage signal;
Step 3, the signal amplification circuit 4 amplify processing to filtered sampled voltage signal, and it is defeated to form amplifier Voltage signal out;
Step 4, the A/D converter circuit 51 carry out analog-to-digital conversion to the amplifier output voltage signal, form number electricity Press signal;
Step 5, the voltage fluctuation detection circuit 53 detect the real-time voltage undulating value of the digital voltage signal, and And the real-time voltage undulating value and the maximum allowable fluctuation threshold are compared:
If the real-time voltage undulating value is greater than the maximum allowable fluctuation threshold, sent to the trigger circuit 52 logical Disconnected adjustment signal;
Step 6, when receiving the on-off adjustment signal, the trigger circuit 52 replaces triode Q1, triode The combination of the trigger signal of Q2, triode Q3 and triode Q4, and send detection to the voltage fluctuation detection circuit 53 and ask Seek signal;
Step 7, the voltage fluctuation detection circuit 53 detect real-time voltage undulating value adjusted:
If real-time voltage undulating value adjusted is not more than the maximum allowable fluctuation threshold, to the trigger circuit 52 It sends and stops adjustment signal, the trigger circuit 52 stops replacing the trigger signal combination;
If the real-time voltage undulating value after whole is greater than the maximum allowable fluctuation threshold, sent to the trigger circuit 52 On-off adjustment signal, repeats step 6.
The method of adjustment of the water hardness detector of the adjustable filtering parameter can be adjusted automatically according to practical power environment Entire filter wave parameter is formed not by control triode Q1, triode Q2, triode the Q3 switch combination different with triode Q4 Same filtering parameter, to adapt to different common mode interference degree.A/D converter circuit 51 is by amplifier output voltage in the step 4 The analog wave turn of signal changes digital fluctuation into, and then the step 5 detects real-time voltage wave by voltage fluctuation detection circuit 53 Dynamic value:If the real-time voltage undulating value is not more than the maximum allowable fluctuation threshold, without adjusting filtering parameter;Once real When magnitude of a voltage fluctuation be greater than the maximum allowable fluctuation threshold, then need to trigger circuit 52 send on-off adjustment signal so that Trigger circuit 52 adjusts trigger signal combination, to achieve the purpose that adjust filtering parameter.Believe when receiving the on-off adjustment Number when, trigger circuit 52 replace trigger signal combination, to adjust triode Q1, triode Q2, triode Q3 and triode Q4 On-off adjusts filtering parameter, sampled voltage signal is filtered again, therefore needs after adjusting filtering parameter each time Voltage fluctuation detection circuit 53 detects real-time voltage undulating value adjusted;Constantly replacement trigger signal combination, until electricity in real time The undulating value stopping of trigger circuit 52 adjustment when being not more than maximum allowable fluctuation threshold is pressed, to find suitable filtering ginseng Number, interference signal is filtered, and amplifier output voltage signal is fluctuated up and down and is minimized, and improves the accurate of water hardness data Degree.The method of adjustment of the water hardness detector of the adjustable filtering parameter has flexile filtering parameter, can basis Practical power environment adjust automatically filtering parameter avoids product and passes through in laboratory/factory testing but elsewhere by electricity The problem of source interference effect test result, occurs, and realizes that filtering parameter is still adjustable after production, it is hard to reduce water quality after sale The after-sales service rate of degree 1 support circuit plate of probe.
Preferably, the step 2 is specially that one group of trigger signal of transmission is incorporated into institute to the trigger circuit 52 at random in advance State Parameter adjustable filter circuit 3, control respectively triode Q1, triode Q2, triode Q3 and triode Q4 on off operating mode and This group of trigger signal combination is consistent, and the Parameter adjustable filter circuit 3 generates corresponding filtering parameter, then the Parameter adjustable Filter circuit 3 is filtered the sampled voltage signal under this filtering parameter.The trigger circuit 52 is in advance from 16 In kind trigger signal combination, one group of trigger signal is sent at random and is incorporated into the Parameter adjustable filter circuit 3;If this kind triggering letter When number corresponding real-time voltage undulating value of combination is greater than the maximum allowable fluctuation threshold, trigger circuit 52 is again from remaining 15 kinds One group of trigger signal is sent at random in trigger signal combination and is incorporated into the Parameter adjustable filter circuit 3, is so analogized until adjusting Real-time voltage undulating value after whole is no more than until the maximum allowable fluctuation threshold.
Preferably, further include step 8, when the real-time voltage undulating value that measures of all trigger signals combination be all larger than it is described When maximum allowable fluctuation threshold, the trigger circuit 52 is replaced with the corresponding the smallest trigger signal group of real-time voltage undulating value It closes.Compare in 16 kinds of trigger signal combinations, which kind of corresponding real-time voltage undulating value is minimum, i.e. this kind of trigger signal combination Corresponding filtering parameter is ideal, and the anti-interference ability of water quality hardness tester is best under this filtering parameter, therefore replaces At the smallest trigger signal combination of corresponding real-time voltage undulating value.In summary, the MCU chip 5 can be through the above way Achieve the effect that adjust automatically filtering parameter.
Preferably, as shown in Fig. 2, the hydrotreater of the water hardness detector using the adjustable filtering parameter, packet Include the water hardness detector of hydrotreater main body 6 and adjustable filtering parameter, the water hardness of the adjustable filtering parameter Detector is installed in hydrotreater main body 6, the water hardness probe 1 of the water hardness detector of the adjustable filtering parameter It is set to the water tank 61 of hydrotreater main body 6.Using the hydrotreater of the water hardness detector of the adjustable filtering parameter, Control triode Q1, triode Q2, triode Q3 and triode can be passed through according to practical power environment adjust automatically filtering parameter Q4 different switch combinations forms different filtering parameters, to adapt to different common mode interference degree, avoids product and is testing The problem of room/factory testing passes through but influenced test result by power supply disturbance elsewhere appearance improves water quality detection standard Exactness realizes that filtering parameter is still adjustable after production, reduces the dimension after sale of 1 support circuit plate of water hardness probe after sale Repair rate.
The technical principle of the invention is described above in combination with a specific embodiment.These descriptions are intended merely to explain of the invention Principle, and shall not be construed in any way as a limitation of the scope of protection of the invention.Based on the explanation herein, the technology of this field Personnel can associate with other specific embodiments of the invention without creative labor, these modes are fallen within Within protection scope of the present invention.

Claims (9)

1. a kind of water hardness detector of adjustable filtering parameter, it is characterised in that:It is sequentially connected in series water hardness probe, signal Sample circuit, Parameter adjustable filter circuit, signal amplification circuit and MCU chip;
The on-off valve regulation filter that the Parameter adjustable filter circuit passes through triode Q1, triode Q2, triode Q3 and triode Q4 Wave parameter;
The MCU chip 5 be equipped with voltage fluctuation detection circuit and trigger circuit, the output end of the voltage fluctuation detection circuit and The input terminal of trigger circuit is electrically connected, base stage, the base stage of triode Q2, the base stage of triode Q3 and three poles of the triode Q1 The base stage of pipe Q4 is electrically connected with the output end of trigger circuit;
The voltage fluctuation detection circuit is used to detect the real-time voltage undulating value of the output voltage of signal amplification circuit, and sets There is maximum allowable fluctuation threshold, when the real-time voltage undulating value of detection is greater than the maximum allowable fluctuation threshold, to institute It states trigger circuit and sends on-off adjustment signal;
The trigger circuit is for sending trigger signal, control to triode Q1, triode Q2, triode Q3 and triode Q4 respectively The on-off of triode Q1 processed, triode Q2, triode Q3 and triode Q4 form a variety of trigger signals combinations;
With for when receiving the on-off adjustment signal, replacement triode Q1, triode Q2, triode Q3 and triode Q4 Trigger signal combination, and to the voltage fluctuation detection circuit send detection request signal;
The voltage fluctuation detection circuit is also used to when receiving detection request signal, detects real-time voltage fluctuation adjusted Value stops if real-time voltage undulating value adjusted is sent when being not more than the maximum allowable fluctuation threshold to the trigger circuit Adjustment signal;The trigger circuit stops replacing the trigger signal combination.
2. the water hardness detector of adjustable filtering parameter according to claim 1, it is characterised in that:
The Parameter adjustable filter circuit includes resistance R1, resistance R2, resistance R3, capacitor C1, capacitor C2, capacitor C3, triode One end of Q1, triode Q2, triode Q3 and triode Q4, one end of resistance R1, one end of resistance R2 and resistance R3 are equal and believe The output end electrical connection of number sample circuit, one end electrical connection of the other end and capacitor C1 of the resistance R1, the resistance R2's The electrical connection of the emitter of the other end and triode Q1, the emitter electrical connection of the other end and triode Q2 of the resistance R3, institute One end electrical connection of the collector and capacitor C1 of triode Q1 is stated, the collector of the triode Q2 and one end of capacitor C1 are electrically connected It connects, one end electrical connection of one end of the capacitor C2, one end of capacitor C3 and capacitor C1, one end of the capacitor C1 and signal are put The input terminal electrical connection of big circuit, the collector electrical connection of the other end and triode Q3 of the capacitor C2, the capacitor C3's The electrical connection of the collector of the other end and triode Q4, the emitter and triode Q4 of the other end of the capacitor C1, triode Q3 Emitter be grounded, the base of the base stage of the triode Q1, the base stage of triode Q2, the base stage of triode Q3 and triode Q4 Extremely it is electrically connected with the output end of trigger circuit.
3. the water hardness detector of adjustable filtering parameter according to claim 1, it is characterised in that:The signal is put Big circuit includes the non-inverting input terminal and capacitor C1 of resistance R4, resistance R5 and operational amplifier U1, the operational amplifier U1 One end electrical connection, the inverting input terminal electrical connection of one end of the resistance R4, one end of resistance R5 and operational amplifier U1 are described The other end of resistance R4 is grounded, and the output end electrical connection of the other end and operational amplifier U1 of the resistance R5, the operation is put The output end of big device U1 and the input terminal electrical connection of MCU chip.
4. the water hardness detector of adjustable filtering parameter according to claim 3, it is characterised in that:The MCU core Piece 5 is additionally provided with A/D converter circuit, the output end electrical connection of the input terminal and operational amplifier U1 of the A/D converter circuit, the AD The output end of conversion circuit and the input terminal electrical connection of voltage fluctuation detection circuit.
5. the water hardness detector of adjustable filtering parameter according to claim 4, it is characterised in that:The triggering electricity Road is also used to when all trigger signals combine the real-time voltage undulating value measured and are all larger than the maximum allowable fluctuation threshold, more Change the corresponding the smallest trigger signal combination of real-time voltage undulating value into.
6. the method for adjustment of the water hardness detector of adjustable filtering parameter according to claim 5, which is characterized in that Include the following steps:
Step 1, water hardness probe carries out water quality detection, to export sampled voltage signal to signal sample circuit;
Step 2, the Parameter adjustable filter circuit are filtered the sampled voltage signal;
Step 3, the signal amplification circuit amplify processing to filtered sampled voltage signal, form amplifier output electricity Press signal;
Step 4, the A/D converter circuit carry out analog-to-digital conversion to the amplifier output voltage signal, form digital voltage signal;
Step 5, the voltage fluctuation detection circuit detect the real-time voltage undulating value of the digital voltage signal, and by institute It states real-time voltage undulating value and the maximum allowable fluctuation threshold compares:
If the real-time voltage undulating value is greater than the maximum allowable fluctuation threshold, on-off adjustment is sent to the trigger circuit Signal;
Step 6, when receiving the on-off adjustment signal, the trigger circuit replaces triode Q1, triode Q2, three poles The trigger signal of pipe Q3 and triode Q4 combines, and sends detection request signal to the voltage fluctuation detection circuit;
Step 7, the voltage fluctuation detection circuit detect real-time voltage undulating value adjusted:
If real-time voltage undulating value adjusted is not more than the maximum allowable fluctuation threshold, stop to trigger circuit transmission Only adjustment signal, the trigger circuit stop replacing the trigger signal combination;
If the real-time voltage undulating value after whole is greater than the maximum allowable fluctuation threshold, on-off tune is sent to the trigger circuit Entire signal repeats step 6.
7. the method for adjustment of the water hardness detector of adjustable filtering parameter according to claim 6, it is characterised in that:
The step 2 is specially that the trigger circuit sends one group of trigger signal at random in advance and is incorporated into Parameter adjustable filter Wave circuit controls the on off operating mode and this group of trigger signal group of triode Q1, triode Q2, triode Q3 and triode Q4 respectively Unification causes, and the Parameter adjustable filter circuit generates corresponding filtering parameter, and then the Parameter adjustable filter circuit is filtered herein The sampled voltage signal is filtered under wave parameter.
8. the method for adjustment of the water hardness detector of adjustable filtering parameter according to claim 7, it is characterised in that:
It further include step 8, when the real-time voltage undulating value that the combination of all trigger signals measures is all larger than the maximum allowable fluctuation When threshold value, the trigger circuit is replaced with the corresponding the smallest trigger signal combination of real-time voltage undulating value.
9. the hydrotreater of the water hardness detector using adjustable filtering parameter described in claim 1, it is characterised in that: Water hardness detector including hydrotreater main body and adjustable filtering parameter, the water hardness of the adjustable filtering parameter Detector is installed in hydrotreater main body, and the water hardness probe of the water hardness detector of the adjustable filtering parameter is set It is placed in the water tank of hydrotreater main body.
CN201810469112.XA 2018-05-16 2018-05-16 Water hardness detector, the hydrotreater, method of adjustment of adjustable filtering parameter Pending CN108918800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810469112.XA CN108918800A (en) 2018-05-16 2018-05-16 Water hardness detector, the hydrotreater, method of adjustment of adjustable filtering parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810469112.XA CN108918800A (en) 2018-05-16 2018-05-16 Water hardness detector, the hydrotreater, method of adjustment of adjustable filtering parameter

Publications (1)

Publication Number Publication Date
CN108918800A true CN108918800A (en) 2018-11-30

Family

ID=64403546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810469112.XA Pending CN108918800A (en) 2018-05-16 2018-05-16 Water hardness detector, the hydrotreater, method of adjustment of adjustable filtering parameter

Country Status (1)

Country Link
CN (1) CN108918800A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110596201A (en) * 2019-08-30 2019-12-20 杨洁 Livestock water source detection device
CN114327236A (en) * 2021-12-13 2022-04-12 昌辉汽车电器(黄山)股份公司 Judgment method for adding voltage correction factor when single chip microcomputer receives AD signal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002097956A1 (en) * 2001-05-29 2002-12-05 Diversified Technologies, Inc. A high voltage converter system
CN102929320A (en) * 2012-11-20 2013-02-13 中国航天科技集团公司第五研究院第五一〇研究所 High-precision DC constant-current source
CN104005863A (en) * 2014-05-22 2014-08-27 华南理工大学 Diesel/natural gas active blending combustion electronic control system and method
CN204392195U (en) * 2015-01-19 2015-06-10 广西师范大学 Variable gain band leads to amplifying circuit
CN105372281A (en) * 2015-12-02 2016-03-02 南京华欣分析仪器制造有限公司 Carbon and silicon content online analyzer for stokehold molten iron
CN105476628A (en) * 2014-10-01 2016-04-13 西门子公司 Circuit arrangement for suppressing common-mode interference signals during the measurement of bioelectric signals

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002097956A1 (en) * 2001-05-29 2002-12-05 Diversified Technologies, Inc. A high voltage converter system
CN102929320A (en) * 2012-11-20 2013-02-13 中国航天科技集团公司第五研究院第五一〇研究所 High-precision DC constant-current source
CN104005863A (en) * 2014-05-22 2014-08-27 华南理工大学 Diesel/natural gas active blending combustion electronic control system and method
CN105476628A (en) * 2014-10-01 2016-04-13 西门子公司 Circuit arrangement for suppressing common-mode interference signals during the measurement of bioelectric signals
CN204392195U (en) * 2015-01-19 2015-06-10 广西师范大学 Variable gain band leads to amplifying circuit
CN105372281A (en) * 2015-12-02 2016-03-02 南京华欣分析仪器制造有限公司 Carbon and silicon content online analyzer for stokehold molten iron

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李曼: "《工程测试技术》", 31 January 2017 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110596201A (en) * 2019-08-30 2019-12-20 杨洁 Livestock water source detection device
CN114327236A (en) * 2021-12-13 2022-04-12 昌辉汽车电器(黄山)股份公司 Judgment method for adding voltage correction factor when single chip microcomputer receives AD signal
CN114327236B (en) * 2021-12-13 2024-04-09 昌辉汽车电器(黄山)股份公司 Judgment method for adding voltage correction factor when singlechip receives AD signal

Similar Documents

Publication Publication Date Title
CN101799496B (en) Capacitor measurement device and method thereof
CN109613201B (en) Signal compensation circuit of pipeline corrosion degree measuring instrument
CN206756755U (en) A kind of stress wave signal conditioning device
CN108918800A (en) Water hardness detector, the hydrotreater, method of adjustment of adjustable filtering parameter
CN210155800U (en) Circuit arrangement for a smoke sensor and smoke sensor having a measuring chamber
CN201666952U (en) Photoelectric sensing device
CN109613202B (en) Pipeline Corrosion Measuring Instrument Signal Calibration Device
CN106774586A (en) Constant-current control circuit and self-service withdrawal equipment for photoelectric sensor
CN207603616U (en) Tiny signal collector
CN103995177B (en) The measurement of power transformer neutral point direct current and wave recording device and detection method
CN107948025A (en) The Internet of Things signal condition indicating circuit of internet of things home appliance
CN110269636A (en) Stereoscopic imaging examination device for radiology department
CN216051928U (en) A power frequency current acquisition circuit for overhead transmission lines
CN201788222U (en) AC-DC (alternating current-direct current) compatible isolated voltage sampling circuit
CN107911120B (en) Micro signal acquisition method and micro signal acquisition device
CN208125721U (en) A kind of the water hardness detector and its hydrotreater of adjustable filtering parameter
CN102012395A (en) Method for correcting sensor for oxygen detection equipment
CN209946259U (en) A high-precision current sampling and control circuit
CN209446663U (en) A kind of analog signal monitoring of peak device
CN213399267U (en) A safety monitoring device for high-voltage power distribution cabinet
CN209311558U (en) A kind of atomic low current linear measuring circuit of femto-ampere grade
CN216387190U (en) Gain-adjustable current detection circuit
CN221465724U (en) Transformer on-line monitoring system on-site verification device based on high frequency and current
CN223038340U (en) An intelligent temperature control system for sintering furnaces used in the production of high-efficiency molecular sieves
CN105021875A (en) Insulator leakage current online monitoring device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130

RJ01 Rejection of invention patent application after publication