Online self-detection control system of water quality detector

文档序号:6916 发布日期:2021-09-17 浏览:55次 中文

1. The utility model provides a water quality testing appearance's online self-checking control system which characterized in that: the device comprises an MCU control module, a load self-detection module, a digestion cooling self-detection module, a metering/digestion colorimetric self-detection module and a power supply self-detection module, wherein the load self-detection module, the digestion cooling self-detection module, the metering/digestion colorimetric self-detection module and the power supply self-detection module are connected with the MCU control module;

the load self-detection module is used for acquiring a current sampling signal of a load and detecting the working state of the load according to the current sampling signal;

the digestion cooling self-detection module comprises a fault feedback unit, and the fault feedback unit is used for acquiring a pulse sampling signal of the digestion cooling fan and detecting the working state of the digestion cooling fan according to the pulse sampling signal;

the metering/digestion colorimetric self-detection module comprises a light-emitting tube self-detection unit and a photosensitive receiving tube self-detection unit, and the light-emitting tube self-detection unit and the photosensitive receiving tube self-detection unit are used for respectively detecting the working states of a light-emitting tube and a photosensitive receiving tube;

the power supply source detection module is used for detecting the working state of the power supply source.

2. The on-line self-detection control system of the water quality detector according to claim 1, characterized in that: the load self-detection module comprises a first optical coupler, a current sampling circuit and a load, wherein the first optical coupler is connected with the MCU control module, the input end of the first optical coupler is connected with the load, the output end of the first optical coupler is connected with the current sampling circuit, the current generated by the load is output to the current sampling circuit through the first optical coupler, the current sampling circuit outputs a current sampling signal, and the current sampling signal is detected according to the working state of the load.

3. The on-line self-detection control system of the water quality detector according to claim 2, characterized in that: the current sampling unit comprises a current sensor, and a current sampling signal of the load is acquired by the current sensor.

4. The on-line self-detection control system of the water quality detector according to claim 1, characterized in that: the digestion cooling self-detection module further comprises a speed control driving unit, the speed control driving unit is connected with the MCU control module, and a speed control signal sent by the MCU control module generates a driving signal for controlling the speed of the digestion cooling fan through the speed control driving unit.

5. The on-line self-detection control system of the water quality detector according to claim 4, characterized in that: the speed control driving unit comprises a second optical coupler and a first pulse detection circuit, the second optical coupler is connected with the control module, and a speed control signal sent by the MCU control module generates a driving signal for controlling the speed of the digestion cooling fan through the second optical coupler; the first pulse detection circuit is connected with the output end of the second optocoupler, and is used for acquiring a pulse sampling signal of the driving signal and detecting whether the driving signal is normally driven or not according to the pulse sampling signal.

6. The on-line self-detection control system of the water quality detector according to claim 1, characterized in that: the fault feedback unit comprises a third optical coupler and a second pulse detection circuit, the output end of the third optical coupler is connected with the second pulse detection circuit, a feedback signal of the fan is output through the third optical coupler, the second pulse detection circuit is used for acquiring a pulse sampling signal of the feedback signal, and the working state of the digestion cooling fan is detected according to the pulse sampling signal.

7. The on-line self-detection control system of the water quality detector according to claim 1, characterized in that: the light emitting tube self-detection unit comprises a constant current reference source, a first switch and a light emitting tube, wherein the constant current reference source is connected with the first switch, and the first switch is connected with the light emitting tube; photosensitive receiver tube self-checking unit includes constant voltage reference source, second switch and photosensitive receiver tube, the constant voltage reference source is connected the second switch, the second switch is connected photosensitive receiver tube, the luminotron with be provided with the color comparison pipeline between the photosensitive receiver tube, utilize the color comparison pipeline acquires voltage sampling signal, and according to voltage sampling signal detects the luminotron with whether the attenuation of photosensitive receiver tube is unusual.

8. The on-line self-detection control system of the water quality detector according to claim 1, characterized in that: the power supply self-detection module comprises a system power supply self-detection unit and an MCU power supply self-detection unit, wherein the system power supply self-detection unit and the MCU power supply self-detection unit are respectively used for detecting whether the system power supply voltage and the MCU power supply voltage are powered down or not from the detection units.

9. The on-line self-detection control system of the water quality detector according to claim 8, characterized in that: the system power supply self-detection unit comprises a resistance voltage division sampling circuit, the input end of the power supply is provided with the resistance voltage division sampling circuit, the resistance voltage division sampling circuit is used for acquiring the input voltage value and the input current value of the power supply and detecting the input power of the power supply according to the input voltage value and the input current value.

10. The on-line self-detection control system of the water quality detector according to claim 1, characterized in that: the system power supply self-detection unit comprises a power supply monitoring circuit, wherein the power supply monitoring circuit is arranged at the input end of the power supply and is used for detecting whether the voltage of the system power supply is powered down or not.

Background

At present, a water quality detector is mostly used for continuously monitoring nutritive salt in seawater at fixed points in real time for a long time so as to accurately and systematically master the content and change rule of the nutritive salt in a seawater body of a certain sea area and monitor the eutrophication degree of the seawater. However, in the water quality detector in the prior art, the cost and the volume of the instrument are emphasized, and the water quality detector is mainly provided with a drive control module, a signal selection amplification conversion module and a power supply protection circuit, so that the signal after drive control is not self-detected, the fault of a control object is not self-detected, and the voltage energy consumption of the power supply module is not self-detected, so that if the water quality detector is abnormal in the operation and use process, the operation state of the corresponding function cannot be judged in real time, and the fault point is difficult to locate.

Therefore, an online self-detection control system of the water quality detector is provided for solving the problems.

Disclosure of Invention

Therefore, the invention aims to solve the technical problem that the water quality detector in the prior art has no self-detection function so that a fault point is difficult to locate.

In order to solve the technical problems, the invention provides an online self-detection control system of a water quality detector, which comprises an MCU control module, a load self-detection module, a digestion cooling self-detection module, a metering/digestion colorimetric self-detection module and a power supply self-detection module, wherein the load self-detection module, the digestion cooling self-detection module, the metering/digestion colorimetric self-detection module and the power supply self-detection module are connected with the MCU control module;

the load self-detection module is used for acquiring a current sampling signal of a load and detecting the working state of the load according to the current sampling signal;

the digestion cooling self-detection module comprises a fault feedback unit, and the fault feedback unit is used for acquiring a pulse sampling signal of the digestion cooling fan and detecting the working state of the digestion cooling fan according to the pulse sampling signal;

the metering/digestion colorimetric self-detection module comprises a light-emitting tube self-detection unit and a photosensitive receiving tube self-detection unit, and the light-emitting tube self-detection unit and the photosensitive receiving tube self-detection unit are used for respectively detecting the working states of a light-emitting tube and a photosensitive receiving tube;

the power supply source detection module is used for detecting the working state of the power supply source.

In an embodiment of the present invention, the load self-detection module includes a first optical coupler, a current sampling circuit, and a load, where the first optical coupler is connected to the MCU control module, an input end of the first optical coupler is connected to the load, an output end of the first optical coupler is connected to the current sampling circuit, a current generated by the load is output to the current sampling circuit through the first optical coupler, and the current sampling circuit outputs a current sampling signal and detects a working state of the load according to the current sampling signal.

In one embodiment of the present invention, the current sampling unit includes a current sensor, and the current sensor is used for acquiring a current sampling signal of the load.

In one embodiment of the invention, the digestion cooling self-detection module further comprises a speed control driving unit, the speed control driving unit is connected with the MCU control module, and a speed control signal sent by the MCU control module generates a driving signal for controlling the speed of the digestion cooling fan through the speed control driving unit.

In one embodiment of the invention, the speed control driving unit comprises a second optical coupler and a first pulse detection circuit, the second optical coupler is connected with the control module, and a speed control signal sent by the MCU control module generates a driving signal for controlling the speed of the digestion cooling fan through the second optical coupler; the first pulse detection circuit is connected with the output end of the second optocoupler, and is used for acquiring a pulse sampling signal of the driving signal and detecting whether the driving signal is normally driven or not according to the pulse sampling signal.

In an embodiment of the present invention, the fault feedback unit includes a third optocoupler and a second pulse detection circuit, an output end of the third optocoupler is connected to the second pulse detection circuit, a feedback signal of the fan is output through the third optocoupler, the second pulse detection circuit is used to obtain a pulse sampling signal of the feedback signal, and a working state of the digestion cooling fan is detected according to the pulse sampling signal.

In one embodiment of the invention, the light-emitting tube self-detection unit comprises a constant-current reference source, a first switch and a light-emitting tube, wherein the constant-current reference source is connected with the first switch, and the first switch is connected with the light-emitting tube; photosensitive receiver tube self-checking unit includes constant voltage reference source, second switch and photosensitive receiver tube, the constant voltage reference source is connected the second switch, the second switch is connected photosensitive receiver tube, the luminotron with be provided with the color comparison pipeline between the photosensitive receiver tube, utilize the color comparison pipeline acquires voltage sampling signal, and according to voltage sampling signal detects the luminotron with whether the attenuation of photosensitive receiver tube is unusual.

In an embodiment of the present invention, the power supply self-detection module includes a system power supply self-detection unit and an MCU power supply self-detection unit, where the system power supply self-detection unit and the MCU power supply self-detection unit are respectively used to detect whether the system power supply voltage and the MCU power supply voltage are powered down.

In an embodiment of the present invention, the system power supply self-detection unit includes a resistance voltage division sampling circuit, the input end of the power supply is provided with the resistance voltage division sampling circuit, and the resistance voltage division sampling circuit is configured to collect an input voltage value and an input current value of the power supply, and detect the input power of the power supply according to the input voltage value and the input current value.

In an embodiment of the present invention, the system power supply self-detection unit includes a power supply monitoring circuit, and the power supply monitoring circuit is disposed at an input end of the power supply and is configured to detect whether a system power supply voltage is powered down.

Compared with the prior art, the technical scheme of the invention has the following advantages:

the invention provides an online self-checking control system of a water quality detector, which can detect the operation condition of each functional module online so as to judge whether each functional module is normal, and can quickly and accurately locate a fault point through self-checking of each module when the water quality detector is abnormal, thereby effectively improving the convenience in use and maintenance of products.

Drawings

In order that the present disclosure may be more readily and clearly understood, reference will now be made in detail to the present disclosure, examples of which are illustrated in the accompanying drawings.

Fig. 1 is a schematic structural view of the present invention.

Fig. 2 is a schematic structural diagram of the load self-test module of the present invention.

FIG. 3 is a schematic structural diagram of a digestion cooling self-detection module of the invention.

FIG. 4 is a schematic diagram of the structure of a metrological/analytical colorimetric self-detection module of the present invention.

Fig. 5 is a schematic structural diagram of a self-detection unit of a power supply of the system of the invention.

FIG. 6 is a schematic structural diagram of a self-detection unit of the MCU power supply of the present invention.

Description of reference numerals: 100. an MCU control module; 200. a load self-detection module; 300. a digestion cooling self-detection module; 400. a metering/digesting colorimetric self-detection module; 500. and the power supply self-detection module.

Detailed Description

The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.

Referring to fig. 1 to 6, the invention provides an online self-test control system of a water quality detector, which comprises an MCU control module 100, a load self-test module 200 connected to the MCU control module 100, a digestion cooling self-test module 300, a metering/digestion colorimetric self-test module 400, and a power supply self-test module 500.

The load self-detection module 200 is configured to obtain a current sampling signal of the load, and detect a working state of the load according to the current sampling signal.

The digestion cooling self-detection module 300 comprises a fault feedback unit for acquiring a pulse sampling signal of the digestion cooling fan and detecting the working state of the digestion cooling fan according to the pulse sampling signal.

The metering/digestion colorimetric self-detection module 400 includes a light-emitting tube self-detection unit and a photosensitive receiving tube self-detection unit, which are used for respectively detecting the working states of the light-emitting tube and the photosensitive receiving tube.

The power supply source detection module 500 is used for detecting the working state of the power supply source.

As shown in fig. 2, the load self-detection module 200 includes a first optical coupler, a current sampling circuit and a load, the first optical coupler is connected to the MCU control module 100, an input end of the first optical coupler is connected to the load, an output end of the first optical coupler is connected to the current sampling circuit, a current generated by the load is output to the current sampling circuit through the first optical coupler, the current sampling circuit outputs a current sampling signal, and a working state of the load is detected according to the current sampling signal. Preferably, the current sampling unit includes a current sensor, and the current sensor is used to obtain a current sampling signal of the load.

When the load self-detection module 200 works, the circuit controls the on-off of the first optocoupler through a control signal Ctr l output by the MCU control module 100, so that the on-off of the load is further controlled, and the load can be a multi-channel electromagnetic valve (each electromagnetic valve can be independently controlled), a multi-channel high-temperature electromagnetic valve, a digestion heating wire and a power supply of a cooling fan. The Hall current sensor can output a current sampling signal, the control signal Ctr l is combined to automatically detect whether the load is broken or not or whether the load works normally, when the control signal Ctr l controls the first optical coupler to be closed, the current value consumed by the load can be obtained through the current sampling signal, if the sampling current value is zero, the load can be shown to be broken, and if the sampling current value is within the normal working range value, the load works abnormally.

Further, the load self-test module 200 further includes a diode connected in parallel with the load, where the diode functions to protect the load.

Also, the load self-test module 200 may combine the current sample with the +24V voltage sample to provide real-time power consumption of the load.

As shown in fig. 3, the self-testing module 300 further includes a speed control driving unit, the speed control driving unit is connected to the MCU control module 100, and the speed control signal sent by the MCU control module 100 generates a driving signal for controlling the speed of the fan through the speed control driving unit.

Specifically, the speed control driving unit comprises a second optical coupler and a first pulse detection circuit, the second optical coupler is connected with the control module, and a speed control signal sent by the MCU control module 100 generates a driving signal for controlling the speed of the digestion cooling fan through the second optical coupler; the first pulse detection circuit is connected with the output end of the second optocoupler and used for acquiring a pulse sampling signal of the driving signal and detecting whether the driving signal is normally driven or not according to the pulse sampling signal.

When the speed control driving unit works, the PWM control signal of the MCU control module 100 generates a driving signal for controlling the speed of the fan after being isolated by the second optical coupler, the driving signal can obtain a pulse sampling signal of the driving signal after passing through the first pulse detection circuit, and whether the driving signal is normally driven or not is detected according to the pulse sampling signal.

And the fault feedback unit comprises a third optical coupler and a second pulse detection circuit, the output end of the third optical coupler is connected with the second pulse detection circuit, a feedback signal of the fan is output through the third optical coupler, the second pulse detection circuit is used for acquiring a pulse sampling signal of the feedback signal, and the working state of the cooling fan is cleared up according to the pulse sampling signal.

As shown in fig. 4, in the above-mentioned metering/digestion colorimetric self-detection module 400, the light-emitting tube self-detection unit includes a constant-current reference source, a first switch and a light-emitting tube, the constant-current reference source is connected to the first switch, and the first switch is connected to the light-emitting tube; photosensitive receiver tube self-checking unit includes constant voltage reference source, second switch and photosensitive receiver tube, and the second switch is connected to the constant voltage reference source, and photosensitive receiver tube is connected to the second switch, is provided with the color comparison pipeline between luminotron and the photosensitive receiver tube, utilizes the color comparison pipeline to acquire voltage sampling signal to whether decay is unusual according to voltage sampling signal detection luminotron and photosensitive receiver tube.

When the above-mentioned metering/digestion colorimetric self-detection module 400 is in operation, the two control signals of the MCU control module 100 can respectively control the on-off of the constant current reference source and the constant voltage reference source, the two switches (here, the first switch and the second switch) are closed during self-detection, wherein the constant current reference source provides stable current for the light emitting tube to obtain a stable light source, the constant voltage reference source provides stable voltage to improve the accuracy of the voltage sampling signal after the light sensitive receiving tube and the resistor divide, a colorimetric transparent tube is installed between the light emitting tube and the light sensitive receiving tube, the sampling analysis is performed on the voltage sampling signal in the tube under the conditions of air and standard liquid, and it is possible to self-detect whether the light emitting tube or the light sensitive receiving tube is attenuated abnormally in pairs.

The first switch and the second switch are arranged to switch off the two switches when the metering unit or the digestion colorimetric unit does not work, so that the light-emitting tube and the photosensitive receiving tube are protected, the performance attenuation of the device caused by long-time continuous power supply is avoided, and the service life of the device is obviously prolonged.

The power supply self-detection module 500 comprises a system power supply self-detection unit and an MCU power supply self-detection unit, wherein the system power supply self-detection unit and the MCU power supply self-detection unit are respectively used for detecting whether the system power supply voltage and the MCU power supply voltage are powered down or not from the detection units.

As shown in fig. 5, the system power supply self-detection unit includes a resistance voltage-dividing sampling circuit, the input end of the power supply is provided with the resistance voltage-dividing sampling circuit, and the resistance voltage-dividing sampling circuit is configured to collect an input voltage value and an input current value of the power supply and detect the input power of the power supply according to the input voltage value and the input current value.

And the system power supply self-detection unit comprises a power supply monitoring circuit, the power supply monitoring circuit is arranged at the input end of the power supply, and the power supply monitoring circuit is used for detecting whether the system power supply voltage is powered down or not.

In addition, please continue to refer to fig. 6, the MCU power supply source self-detection unit is used for MCU power supply source self-detection, the MCU power supply source is divided and then input to the power monitoring and watchdog circuit, the circuit has a reference voltage as a comparison voltage, and selects a suitable resistance parameter according to the power-down voltage trigger value, so that the divided voltage below the trigger value MCU power supply voltage is lower than the reference voltage, thereby achieving level inversion of the voltage drop output signal, and detecting in real time on-line whether the MCU power supply source voltage is powered down by detecting the power-down output signal in real time.

The invention provides an online self-checking control system of a water quality detector, which can detect the operation condition of each functional module online so as to judge whether each functional module is normal, and can quickly and accurately locate a fault point through self-checking of each module when the water quality detector is abnormal, thereby effectively improving the convenience in use and maintenance of products.

It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the spirit or scope of the invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种气井控制电路

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类