The utility model content
The utility model embodiment provides a kind of water quality analyzer, with the integrality of assurance test data, and reduces cost.
The utility model embodiment adopts following technical scheme:
A kind of water quality analyzer comprises: the feed circuit part, and an end of described feed circuit part is connected to the system power supply part, and the other end is connected to an end of water-quality determination circuit, and the other end of described water-quality determination circuit is connected to described system power supply part; Wherein:
Described feed circuit partly comprise keyswitch, single chip circuit part, control circuit part and reset circuit part, described keyswitch one end is connected to ground, the other end is connected on the described single chip circuit external interrupt pin partly and the first and second input ends of described control circuit part, an I/O pin of described single chip circuit part is connected to the 3rd input end of described system power supply part and described control circuit part, and the output terminal of described control circuit part is connected to the reset pin of described single chip circuit part; The four-input terminal of described control circuit part is connected to the output terminal of described reset circuit part;
When system powers on, described keyswitch is disconnected, partly control described single chip circuit partial reset by described reset circuit part and described control circuit, and connect system power supply and partly partly power for described single chip circuit;
When described keyswitch is closed, activate the external interrupt of described single chip circuit part, so that described single chip circuit partly partly disconnects with system power supply, control described single chip circuit some work in dormant state by described reset circuit part and described control circuit part.
The water quality analyzer that the utility model embodiment provides when system powers on, is connected system power supply and is partly partly powered for single chip circuit; When keyswitch was closed, the control single chip computer circuit part was operated in dormant state.Therefore, can find out that the single chip circuit part has electricity all the time, thereby guarantee the integrality of test data; And need not special on-off circuit among the utility model embodiment, only need the just work of energy control system power supply of keyswitch, reset circuit part and control circuit part, thereby saved cost.
Embodiment
Below in conjunction with the accompanying drawing among the utility model embodiment, the technical scheme among the utility model embodiment is clearly and completely described, obviously, described embodiment only is the utility model part embodiment, rather than whole embodiment.Based on the embodiment in the utility model, those of ordinary skills are not making the every other embodiment that obtains under the creative work prerequisite, all belong to the scope of the utility model protection.
As shown in Figure 1, implement the synoptic diagram of one water quality analyzer for the utility model.Wherein, the water quality analyzer of the utility model enforcement one comprises: feed circuit part 11, one end of described feed circuit part 11 is connected to system power supply part 12, the other end is connected to an end of water-quality determination circuit 13, and the other end of described water-quality determination circuit 13 is connected to described system power supply part 12.
Wherein, as shown in Figure 2, be the concrete synoptic diagram of described feed circuit part.Wherein, described feed circuit part 11 comprises keyswitch SW1, single chip circuit part 112, control circuit part 113 and reset circuit part 114.
In conjunction with shown in Figure 2, described keyswitch SW1 one end is connected to ground, the other end is connected to and (is INT1 among the figure) on the external interrupt pin of described single chip circuit part 112 and first and second input ends 8 and 9 of described control circuit part 113, an I/O pin of described single chip circuit part (being P24 among the figure) is received the 3rd input end 6 of described system power supply part 12 and described control circuit part 113, and the output terminal 3 of described control circuit part 113 is connected to the reset pin RESET of described single chip circuit part 112; The four-input terminal 1 of described control circuit part 113 is connected on the output terminal 100 of described reset circuit part.
Can find out that in Fig. 2 described control circuit part 113 comprises the first Sheffer stroke gate U7C, the second Sheffer stroke gate U7B and the 3rd Sheffer stroke gate U7A.Two input ends of wherein said the first Sheffer stroke gate U7C are respectively first input end 8 and second input end 9 of described control circuit part 113, the output terminal 10 of described the first Sheffer stroke gate U7C is connected to the input end 5 of described the second Sheffer stroke gate U7B, and another input end of described the second Sheffer stroke gate U7B is described the 3rd input end 6 of described control circuit part 113; The output terminal of described the second Sheffer stroke gate U7B is connected to the input end 2 of described the 3rd Sheffer stroke gate U7A, and another input end of described the 3rd Sheffer stroke gate U7A is described four-input terminal 1; The output terminal 3 of described the 3rd Sheffer stroke gate U7A is connected to the reset pin RESET of described single chip circuit part.
In foregoing circuit, when system powers on, described keyswitch is disconnected, partly control described single chip circuit partial reset by described reset circuit part and described control circuit, and connect system power supply and partly partly power for described single chip circuit.
Concrete, the output 100 of reset circuit part was low level when system powered on, so that the input end 1 of U7A is low level, the output 3 of U7A is high level, thereby so that the reset pin RESET of single chip circuit part is high level, the single chip circuit partial reset.Thereby triggering the internal processes control P24 pin that starts the control single chip computer circuit part is low level, the VT1 conducting of feed circuit part, and for described single chip circuit is partly powered, at this moment, the input end 6 of U7B is low level.At this moment, the input end 8,9 of U7C is high level, and the output terminal 10 of U7C is low level, and therefore, the output terminal 4 of U7B is low level, and the output terminal 3 of U7A is low level, and RESET is low level, thereby single chip circuit partly works.
When described keyswitch is closed, activate the external interrupt of described single chip circuit part, so that described single chip circuit partly partly disconnects with system power supply, control described single chip circuit some work in dormant state by described reset circuit part and described control circuit part.
Concrete, when described keyswitch is closed, triggering the internal processes control P24 pin that starts the control single chip computer circuit part is high level, the VT1 cut-off, stop partly to power for described single chip circuit, so the input end 6 of U7B is high level that the input end 5 of U7B is in low level, therefore, 4 of U7B is high level.At this moment, the input end 1 of U7A is high level, and input end 2 is high level, and output terminal 3 is low level, and RESET is low level, so that described single chip circuit partly is in dormant state, system power dissipation reduces level, and the power consumption of system is in the milliampere rank at this moment.And keyswitch is closed, and the input end 8,9 of U7C is low level, and the output terminal 10 of U7C is high level, and the input end 5 of U7B is high level, and the output terminal 4 of U7B is low level.At this moment, the input end 2 of U7A is low level, and output terminal 3 is high level, thereby RESET is high level, and the single chip circuit partial reset is connected system power supply and partly partly powered for described single chip circuit, begins again normal operation.
As seen from the above, the water quality analyzer of the utility model embodiment one when system powers on, is connected system power supply and is partly partly powered for single chip circuit; When keyswitch was closed, the control single chip computer circuit part was operated in dormant state.Therefore, can find out that the single chip circuit part has electricity all the time, thereby guarantee the integrality of test data; And need not special on-off circuit among the utility model embodiment, only need the just work of energy control system power supply of keyswitch, reset circuit part and control circuit part, thereby saved cost.
Water-quality determination circuit 13 described water-quality determinations among Fig. 1 partly comprise tintmeter circuit part 131 and Ph value metering circuit part 132.
As shown in Figure 3, be the concrete synoptic diagram of tintmeter circuit part among the utility model embodiment.Wherein, described tintmeter circuit part comprises: the first amplifier U1B, the second amplifier U1A, temperature-compensation circuit 1311, semiconductor light-emitting source 1312 and additional control circuit 1313.
Wherein, the first and second input ends 5 and 6 of described the first amplifier U1B are connected respectively to first and second output terminals 101 and 102 of described semiconductor light-emitting source 1312, and the output terminal 7 of described the first amplifier is connected to the first input end 3 of described the second amplifier U1A; The second input end 2 of described the second amplifier is connected to the output terminal 2 of temperature-compensation circuit 1311; Third and fourth output terminal 103 and 104 of described semiconductor light-emitting source is connected respectively to first and second input ends 81 and 91 of described additional control circuit.
In this example, be simplified structure, described semiconductor light-emitting source adopts single wavelength semiconductor light source.But the luminous intensity of semiconductor light sources is relevant with temperature, with the rising of temperature, the luminescence efficiency of semiconductor light sources reduces, and luminous intensity reduces, thereby causes the water quality analyzer drift, therefore be head it off, described temperature-compensation circuit comprises negative tempperature coefficient thermistor 13.
In Fig. 3, the enlargement factor of U1A is A=1+R4/ (R5+R13).Because described semiconductor light-emitting source is along with the increase of temperature, its output current reduces, and R13 also reduces along with its resistance of increase of temperature, therefore suitably selects the resistance of R4, R5, R6, R10, R13 can offset because the drift of the tintmeter circuit part output that temperature variation causes.
As shown in Figure 4, be the concrete synoptic diagram partly of Ph value metering circuit among the utility model embodiment.Ph value metering circuit part 132 comprises: Ph electrode 200, unipolarity amplifier circuit 201 and mu balanced circuit 202.
Wherein, the negative pole of described Ph electrode 200 is connected to described mu balanced circuit, the positive pole of described Ph electrode 200 is connected to the first input end 5 of described unipolarity amplifier circuit 201, and the second input end 6 of described unipolarity amplifier circuit 201 is connected to described system power supply part.By mu balanced circuit, so that the negative pole of Ph electrode 200 is the positive voltage about 1V, therefore, and in measuring process, can be so that the output of described Ph electrode remains on positive voltage.
Again as shown in Figure 4, described unipolarity amplifier circuit comprises the 3rd amplifier U8B and the 4th amplifier U8A.Wherein, the first input end 5 that the input end of described the 3rd amplifier U8B is described unipolarity amplifier circuit, the output terminal 7 of described the 3rd amplifier is connected to the first input end 3 of described the 4th amplifier U8A, the second input end 8 of described the 4th amplifier U8A is the second input end of described unipolarity amplifier circuit, is connected to described system power supply part.
Change 10 times because the output of the Ph of the glass electrode that partly adopts in Ph value metering circuit probe is hydrogen ion activity, the exporting change pact ± 59mV of electrode is so the amplifying circuit of Ph value electrode will adopt bipolarity to power, to adapt to the change in polarity of current potential.For this reason, present embodiment has adopted the method that improves Ph electrode negative pole current potential, make the output of electrode in its gamut scope, all remain on positive voltage output, thereby the amplifying circuit that adopts unipolarity to power can be finished amplification and the adjustment work of the output voltage of Ph value probe.This can simplify power circuit greatly, reduces the quantity of the battery of needs, simplifies apparatus structure.
In addition, the utility model embodiment two also provides a kind of control method of above-mentioned water quality analyzer, comprising:
When system powered on, keyswitch disconnected, and resetted by reset circuit part and control circuit part control single chip computer circuit part, connected system power supply and partly partly powered for described single chip circuit;
When described keyswitch is closed, activate the external interrupt of described single chip circuit part, so that described single chip circuit partly partly disconnects with system power supply, control described single chip circuit some work in dormant state by described reset circuit part and described control circuit part.
In addition, in described method, also can utilize described temperature-compensation circuit to eliminate the output shift of described tintmeter circuit part, and remain on positive voltage by the output that described unipolarity amplifier circuit and described mu balanced circuit are controlled described Ph electrode.
Therefore, can find out because the single chip circuit part has electricity all the time, thereby guarantee the integrality of test data; And need not special on-off circuit among the utility model embodiment, only need the just work of energy control system power supply of keyswitch, reset circuit part and control circuit part, thereby saved cost.Simultaneously, can greatly simplify power circuit again, reduce the quantity of the battery of needs, simplify apparatus structure.
The above; it only is embodiment of the present utility model; but protection domain of the present utility model is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the utility model discloses; can expect easily changing or replacing, all should be encompassed within the protection domain of the present utility model.Therefore, protection domain of the present utility model should be as the criterion with the protection domain of described claim.