CN112783041A - Single-chip microcomputer-based wavelength UV (ultraviolet) generator and method for correcting fuzzy control technology - Google Patents
Single-chip microcomputer-based wavelength UV (ultraviolet) generator and method for correcting fuzzy control technology Download PDFInfo
- Publication number
- CN112783041A CN112783041A CN202011623587.3A CN202011623587A CN112783041A CN 112783041 A CN112783041 A CN 112783041A CN 202011623587 A CN202011623587 A CN 202011623587A CN 112783041 A CN112783041 A CN 112783041A
- Authority
- CN
- China
- Prior art keywords
- fuzzy
- signal
- wavelength
- digital signal
- generator
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Investigating Or Analysing Materials By Optical Means (AREA)
Abstract
The invention relates to a wavelength UV generator and a method for correcting a fuzzy control technology based on a single chip microcomputer, which comprises a UV generator, a signal difference value calculation unit, a fuzzy controller and a power amplifier which are connected in sequence, wherein the power amplifier is connected with the input end of a comparator through a transmitter; the fuzzy controller comprises a fuzzification module, a fuzzy inference module and a fuzzy inference module, wherein the fuzzy inference module comprises a database and a rule base. The invention adopts a fuzzy control strategy, utilizes the characteristic that a fuzzy controller has high influence robustness on measurement factors to construct a practical controller, and the fuzzy control is to simulate the thinking mode of human brain by the knowledge of fuzzy mathematics, identify and judge the fuzzy phenomenon and give out accurate control quantity so as to control the wavelength (lambda) of Ultraviolet (UV) visible light.
Description
Technical Field
The invention belongs to the technical field of UV generator wavelength correction, and particularly relates to a UV generator and a method for correcting wavelength based on a fuzzy control technology realized by a single chip microcomputer.
Background
The Ultraviolet (UV) visible light wavelength (lambda) as a light source has great influence on the detection amount and plays a crucial role in the stability of the instrument.
There is an important principle or purpose for using a spectrophotometer for ultraviolet and visible light or manufacturing an ultraviolet and visible spectrophotometer, which is to make the instrument stable and reliable.
If the stability of one instrument is poor, it is impossible to obtain good analytical test results. The stability of one instrument included Baseline Drift (Baseline Drift) and Photometric repeatability (Photometric repeatability). Of which the mainThe factors include digestion tank temperature (T) and detection solution concentration dADetecting the concentration d of the solutionADetecting the concentration d of the solutionADetecting the dosage q of the solutionADetecting the dosage q of the solutionBMeasuring the dosage q of the liquidCHumidity (h), and the effects of these factors are characterized by non-linearity.
Disclosure of Invention
The invention aims to solve the technical problem that a single-chip-based fuzzy control technology correction wavelength UV generator and a method are provided aiming at the defects of the background technology, the invention adopts a fuzzy control strategy and utilizes the principle that a fuzzy controller influences high robustness on measurement factors to construct a practical controller, and the fuzzy control is to use fuzzy mathematics knowledge to simulate the thinking mode of human brain, identify and judge the fuzzy phenomenon and give accurate control quantity so as to control the wavelength (lambda) of Ultraviolet (UV) visible light.
The invention adopts the following technical scheme for solving the technical problems:
a wavelength UV generator corrected by a fuzzy control technology based on single chip comprises a UV generator, a comparator, a fuzzy controller and a power amplifier which are connected in sequence, wherein the power amplifier is connected with the input end of the comparator through a transmitter; the fuzzy controller comprises a fuzzification module, a fuzzy thrust module and a defuzzification module, wherein the fuzzy thrust module comprises a database and a rule base.
Further, the fuzzy controller is an AT89C51 single chip microcomputer controller.
A method for correcting wavelength of a wavelength-correcting UV generator by using the fuzzy control technology based on single chip implementation, comprising the following steps:
s1, inputting a given UV wavelength into the comparator, wherein in an initial state, the other end of the comparator has no input, so that the comparator converts the initial UV wavelength signal into a digital signal and inputs the digital signal into the fuzzy controller;
s2, the fuzzy controller receives the digital signal and simultaneously receives the digital signal including the digestion pool temperature (T) and the concentration d of the detection solutionADetecting the concentration d of the solutionADetecting the concentration d of the solutionADetecting the dosage q of the solutionADetecting the dosage q of the solutionBMeasuring the dosage q of the liquid C8 influence factor data including humidity (h);
s3, the fuzzy controller processes the received digital signal and the influencing factor data to obtain a control signal and converts the control signal into a specific UV wavelength signal;
s4, the power amplifier amplifies the specific UV wavelength signal and transmits the amplified signal to the transmitter;
s5, the transmitter transmits the specific UV wavelength signal to the signal difference calculation unit, and the signal difference calculation unit compares the specific UV wavelength signal with the given UV wavelength signal;
s6, the comparator converts the comparison result into a digital signal and transmits the digital signal to the fuzzy controller again;
s7, repeating the steps S2-S6, and continuously correcting the given UV wavelength.
Further, in S3, the step of processing the digital signal and the influencing factor data by the fuzzy controller includes:
fuzzification: the digital signal is converted to a corresponding discourse domain through scaling, so that the digital signal becomes a fuzzy quantity;
fuzzy reasoning: using human reasoning thinking, which is based on the relation between fuzzy reasoning rules and fuzzy logic;
defuzzification: and converting the fuzzy control quantity obtained by fuzzy inference into an accurate quantity in a theory domain through a fuzzy calculation method, and converting the accurate quantity in the theory domain into a required control signal.
Compared with the prior art, the invention adopting the technical scheme has the following technical effects:
the invention adopts a fuzzy control strategy, utilizes the principle that a fuzzy controller influences high robustness on measurement factors to construct a practical controller, and the fuzzy control is to simulate the thinking mode of human brain by the knowledge of fuzzy mathematics, identify and judge the fuzzy phenomenon and give accurate control quantity so as to control the wavelength (lambda) of Ultraviolet (UV) visible light.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention;
FIG. 2 is a block diagram of a fuzzy controller in accordance with the present invention.
Detailed Description
The technical scheme of the invention is further explained in detail by combining the attached drawings:
a wavelength UV generator based on single chip implementation fuzzy control technology correction, as shown in figures 1 and 2, comprises a UV generator, a signal difference value calculation unit, a fuzzy controller and a power amplifier which are connected in sequence, wherein the power amplifier is connected with the input end of a comparator through a transmitter; the fuzzy controller comprises a fuzzification module, a fuzzy thrust module and a defuzzification module, wherein the fuzzy thrust module comprises a database and a rule base.
Further, the fuzzy controller is an AT89C51 single chip microcomputer controller.
A method for correcting wavelength of a wavelength-correcting UV generator by using the fuzzy control technology based on single chip implementation, comprising the following steps:
s1, inputting a given UV wavelength into the comparator, wherein in the initial state, the other end of the signal difference calculation unit has no input, so that the comparator converts the initial UV wavelength signal into a digital signal and inputs the digital signal into the fuzzy controller;
s2, the fuzzy controller receives the digital signal and simultaneously receives the digital signal including the digestion pool temperature (T) and the concentration d of the detection solutionADetecting the concentration d of the solutionADetecting the concentration d of the solutionADetecting the dosage q of the solutionADetecting the dosage q of the solutionBMeasuring the dosage q of the liquid C8 influence factor data including humidity (h);
s3, the fuzzy controller processes the received digital signal and the influencing factor data to obtain a control signal and converts the control signal into a specific UV wavelength signal;
s4, the power amplifier amplifies the specific UV wavelength signal and transmits the amplified signal to the transmitter;
s5, the transmitter transmits the specific UV wavelength signal to the signal difference calculation unit, and the signal difference calculation unit compares the specific UV wavelength signal with the given UV wavelength signal;
s6, the comparator converts the comparison result into a digital signal and transmits the digital signal to the fuzzy controller again;
s7, repeating the steps S2-S6, and continuously correcting the given UV wavelength.
Further, in S3, the step of processing the digital signal and the influencing factor data by the fuzzy controller includes:
fuzzification: the digital signal is converted to a corresponding discourse domain through scaling, so that the digital signal becomes a fuzzy quantity;
fuzzy reasoning: using human reasoning thinking, which is based on the relation between fuzzy reasoning rules and fuzzy logic;
defuzzification: and converting the fuzzy control quantity obtained by fuzzy inference into an accurate quantity in a theory domain through a fuzzy calculation method, and converting the accurate quantity in the theory domain into a required control signal.
In particular, the stability of an instrument includes Baseline Drift (Baseline Drift) and Photometric repeatability (Photometric repeatability). The repeatability of baseline drift and luminosity has a close relationship with the use environment of the online detection instrument, wherein the main factors are the digestion tank temperature (T) and the concentration d of the detection solutionADetecting the concentration d of the solutionADetecting the concentration d of the solutionADetecting the dosage q of the solutionADetecting the dosage q of the solutionBMeasuring the dosage q of the liquidCHumidity (h), and the effects of these factors are characterized by non-linearity.
As shown in fig. 1, the invention relates to a wavelength-correcting UV generator based on fuzzy control technology implemented by a single chip microcomputer, which is based on a general 51-series AT89C51 single chip microcomputer. And a fuzzy control strategy is adopted, and a practical controller is constructed by utilizing the principle that the fuzzy controller influences the high robustness of the measurement factors.
Fuzzy control is to simulate the thinking mode of human brain by the knowledge of fuzzy mathematics, recognize and judge the fuzzy phenomenon, give out accurate control quantity and control the wavelength (lambda) of Ultraviolet (UV) visible light.
The fuzzy processing is carried out by using the fuzzy characteristic of the natural language, and a control method of a complex system is established. Although an accurate mathematical model can be established if the controlled object is linear, the application range is too small to meet the requirements of the current generation. After years of researches on fuzzy control, fuzzy sets are used for describing uncertainty information of an objective world, so that the fuzzy control can play a very good role in controlling Ultraviolet (UV) visible spectral wavelength (lambda).
Nine inputs of the fuzzy controller unit are provided, including digestion pool temperature (T), detection solution concentration dA, detection solution concentration dB, detection solution concentration dC and detection solution dosage qADetecting the solution dosage qB, the measuring solution dosage qC and the humidity (h).
Referring to fig. 2, the structure of the fuzzy controller has the following main functions corresponding to each link:
(1) fuzzification: the actual digital quantity is converted into a corresponding discourse domain through scaling, and the digital quantity is converted into a fuzzy quantity;
(2) fuzzy reasoning: fuzzy reasoning is the key of fuzzy control and consists of a database and a control rule base. The setting of the link mainly utilizes human reasoning thinking which is established on the basis of the relation between fuzzy reasoning rules and fuzzy logic;
(3) defuzzification: the defuzzification process is to convert fuzzy control quantity obtained by fuzzy reasoning into accurate quantity in a theory domain through a fuzzy calculation method, and the main function is to convert the accurate quantity in the theory domain into a required control signal.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The above embodiments are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modifications made on the basis of the technical scheme according to the technical idea of the present invention fall within the protection scope of the present invention. While the embodiments of the present invention have been described in detail, the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the knowledge of those skilled in the art.
Claims (4)
1. A fuzzy control technology correction wavelength UV generator based on single chip microcomputer realization is characterized in that: the device comprises a UV generator, a signal difference value calculation unit, a fuzzy controller and a power amplifier which are connected in sequence, wherein the power amplifier is connected with the negative input end of the signal difference value calculation unit through a transmitter; the fuzzy controller comprises a fuzzification module, a fuzzy inference module and a fuzzy inference module, wherein the fuzzy inference module comprises a database and a rule base.
2. The UV generator with the wavelength corrected based on the fuzzy control technology realized by the single chip microcomputer according to claim 1, is characterized in that: the fuzzy controller adopts a general AT89C51 singlechip.
3. A method for correcting wavelength of a wavelength UV generator by using the fuzzy control technology realized based on the single chip microcomputer according to claim 1, characterized in that: the method comprises the following steps:
s1, inputting a given UV wavelength into the comparator, wherein in an initial state, the other end of the signal difference calculation unit has no input, so that the signal difference calculation unit converts the initial UV wavelength signal into a digital signal and inputs the digital signal into the fuzzy controller;
s2, the fuzzy controller receives the digital signal and simultaneously receives the digital signal including the digestion pool temperature (T) and the concentration d of the detection solutionADetecting the concentration d of the solutionADetecting the concentration d of the solutionADetecting the dosage q of the solutionADetecting the dosage q of the solutionBMeasuring the dosage q of the liquidC8 influence factor data including humidity (h);
s3, the fuzzy controller processes the received digital signal and the influencing factor data to obtain a control signal and converts the control signal into a specific UV wavelength signal;
s4, the power amplifier amplifies the specific UV wavelength signal and transmits the amplified signal to the transmitter;
s5, the transmitter transmits the specific UV wavelength signal to the signal difference calculation unit, and the signal difference calculation unit compares the specific UV wavelength signal with the given UV wavelength signal to make a difference;
s6, converting the comparison result into a digital signal by the signal difference value calculation unit and transmitting the digital signal to the fuzzy controller again;
s7, repeating the steps S2-S6, and continuously correcting the given UV wavelength.
4. The method for correcting the wavelength of the UV generator based on the fuzzy control technology realized by the single chip microcomputer according to claim 3, is characterized in that: in S3, the step of processing the digital signal and the influencing factor data by the fuzzy controller includes:
fuzzification: the digital signal is converted to a corresponding discourse domain through scaling, so that the digital signal becomes a fuzzy quantity;
fuzzy reasoning: using human reasoning thinking, which is based on the relation between fuzzy reasoning rules and fuzzy logic;
defuzzification: the fuzzy control quantity obtained by fuzzy inference is converted into an accurate quantity in a theory domain through a fuzzy calculation method, and the accurate quantity in the theory domain is converted into a required control signal corresponding to reality.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011623587.3A CN112783041A (en) | 2020-12-31 | 2020-12-31 | Single-chip microcomputer-based wavelength UV (ultraviolet) generator and method for correcting fuzzy control technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011623587.3A CN112783041A (en) | 2020-12-31 | 2020-12-31 | Single-chip microcomputer-based wavelength UV (ultraviolet) generator and method for correcting fuzzy control technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112783041A true CN112783041A (en) | 2021-05-11 |
Family
ID=75754349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011623587.3A Pending CN112783041A (en) | 2020-12-31 | 2020-12-31 | Single-chip microcomputer-based wavelength UV (ultraviolet) generator and method for correcting fuzzy control technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112783041A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002177980A (en) * | 2000-12-15 | 2002-06-25 | Meidensha Corp | Fuzzy controller for activated sludge treatment and method for the same |
CN200986620Y (en) * | 2006-11-13 | 2007-12-05 | 北京普析科学仪器有限责任公司 | High precision wavelength mechanism |
CN203326348U (en) * | 2013-06-05 | 2013-12-04 | 北京工业大学 | Tunable-wavelength deep ultraviolet light laser |
CN109187402A (en) * | 2018-10-19 | 2019-01-11 | 上海美谱达仪器有限公司 | A kind of spectrophotometer grating drive system |
CN109193339A (en) * | 2018-10-10 | 2019-01-11 | 中国科学院合肥物质科学研究院 | A kind of adjusting method and system of laser output wavelength |
CN109791958A (en) * | 2016-09-27 | 2019-05-21 | 日机装株式会社 | UV curing apparatus |
CN111051858A (en) * | 2017-07-14 | 2020-04-21 | 锋翔科技公司 | Absorbance detection method and system based on optical reference |
CN211235525U (en) * | 2019-12-26 | 2020-08-11 | 青岛公卫方圆检测有限公司 | High-precision ultraviolet-visible spectrophotometer |
CN111542152A (en) * | 2020-05-22 | 2020-08-14 | 中国科学院半导体研究所 | Ultraviolet light source system with light intensity automatic feedback correction function and application thereof |
-
2020
- 2020-12-31 CN CN202011623587.3A patent/CN112783041A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002177980A (en) * | 2000-12-15 | 2002-06-25 | Meidensha Corp | Fuzzy controller for activated sludge treatment and method for the same |
CN200986620Y (en) * | 2006-11-13 | 2007-12-05 | 北京普析科学仪器有限责任公司 | High precision wavelength mechanism |
CN203326348U (en) * | 2013-06-05 | 2013-12-04 | 北京工业大学 | Tunable-wavelength deep ultraviolet light laser |
CN109791958A (en) * | 2016-09-27 | 2019-05-21 | 日机装株式会社 | UV curing apparatus |
CN111051858A (en) * | 2017-07-14 | 2020-04-21 | 锋翔科技公司 | Absorbance detection method and system based on optical reference |
CN109193339A (en) * | 2018-10-10 | 2019-01-11 | 中国科学院合肥物质科学研究院 | A kind of adjusting method and system of laser output wavelength |
CN109187402A (en) * | 2018-10-19 | 2019-01-11 | 上海美谱达仪器有限公司 | A kind of spectrophotometer grating drive system |
CN211235525U (en) * | 2019-12-26 | 2020-08-11 | 青岛公卫方圆检测有限公司 | High-precision ultraviolet-visible spectrophotometer |
CN111542152A (en) * | 2020-05-22 | 2020-08-14 | 中国科学院半导体研究所 | Ultraviolet light source system with light intensity automatic feedback correction function and application thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105974953A (en) | Reaction vessel negative pressure rectification fuzzy control method | |
CN111007035B (en) | Method, system and device for detecting concentration of high-temperature gas in secondary combustion chamber based on convolutional neural network and storage medium | |
Smith et al. | An improved low-power measurement of ambient NO 2 and O 3 combining electrochemical sensor clusters and machine learning | |
CN107044958B (en) | A kind of measured oxygen concentration method of the measured oxygen concentration system based on ultraviolet broadband second level absorption spectrum | |
AU2020102518A4 (en) | A method of gas sensor calibration based on linear optimization | |
CN111830110B (en) | Oxygen sensor self-calibration device, integrated device and system | |
CN110363334B (en) | Grid line loss prediction method of photovoltaic grid connection based on gray neural network model | |
CN100385756C (en) | Stable light source light power output apparatus with full optical fiber structure | |
CN104022747B (en) | A kind of data adaptive measuring method based on multistage amplifier circuit | |
CN102759430A (en) | BP (Back Propagation) neural network based high-precision correction and test method for resonance cylinder pressure sensor | |
Xiong et al. | Online measurement error detection for the electronictransformer in a smart grid | |
Tancev et al. | The relocation problem of field calibrated low-cost sensor systems in air quality monitoring: a sampling bias | |
CN115840184A (en) | Voltage transformer operation error analysis method, medium and terminal | |
CN112783041A (en) | Single-chip microcomputer-based wavelength UV (ultraviolet) generator and method for correcting fuzzy control technology | |
CN116559105A (en) | Linearization readout circuit system based on gas infrared spectrum detection technology | |
CN110567899B (en) | Low-temperature compensation method for COD detection | |
CN113607674B (en) | Multi-gas detection method and system based on MEMS gas sensor array | |
CN115015149A (en) | Laser infrared gas concentration detection method and system based on dynamic absorption lines | |
CN112835291A (en) | Single-chip microcomputer-based self-adaptive wavelength correction UV generator and strategy | |
CN107941723A (en) | A kind of double light source measurement device and methods of COD | |
Tang et al. | Multi-channel optical sensing system with a BP-ANN for heavy metal detection | |
CN218546513U (en) | Optical driving and detecting circuit for environment analysis equipment | |
Kang et al. | Research on water quality prediction model based on echo state network | |
CN110676855A (en) | Intelligent optimization and adjustment method for reactive voltage control parameters of power distribution network | |
CN111289477B (en) | SPR photon tongue sensing array-based DOM component detection method |
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: 20210511 |
|
RJ01 | Rejection of invention patent application after publication |