Disclosure of Invention
In order to solve the problem that the analysis and detection of a gas distribution, gas detection and medical exhalation NO analyzer in the prior art are not really and uniformly detected, the technical scheme is as follows:
in one aspect, an automatic detection method is provided, and the method includes:
acquiring gas configuration parameters, and sending the gas configuration parameters to the gas distribution instrument; so that the gas distributor configures gas according to the gas configuration parameters and stores the configured gas into a gas zone to be detected;
to the NOXThe detector sends the gas to be detected in the gas zoneCalibrating instructions of line calibration; so that said NO isXThe detector calibrates the concentration of the gas in the gas zone to be detected according to the calibration instruction to obtain a calibration result, and stores the calibration result into the background database;
sending a detection instruction for detecting the gas in the gas band to be detected to a preset medical exhaled NO analyzer in the plurality of medical exhaled NO analyzers according to a set detection mode; and the preset medical exhaled NO analyzer detects the concentration of the gas in the gas band to be detected according to the detection instruction to obtain a detection result, and stores the detection result into the background database.
Correspondingly, the method further comprises the following steps: acquiring a flow pressure control instruction for the gas in the gas zone to be detected;
and forwarding the flow pressure control instruction to an electromagnetic valve control plate, a flow meter plate and a pressure gauge plate.
Correspondingly, and forward flow pressure control instruction to solenoid valve control panel, flowmeter board and pressure gage board, include:
controlling the electromagnetic valve and the air pump according to the flow pressure control instruction to obtain a control result;
and receiving the control result by taking the flow collector as a bridge, and storing the received control result into a background database.
Correspondingly, and with flow pressure control command forwards solenoid valve control panel, flowmeter board and pressure gage board, still include:
collecting flow data of the preset medical exhaled NO analyzer according to the flow pressure control instruction;
and receiving the flow data by taking the flow collector as a bridge, and storing the received flow data into the background database.
Correspondingly, and with flow pressure control command forwards solenoid valve control panel, flowmeter board and pressure gage board, still include:
collecting pressure data of the preset medical exhaled NO analyzer according to the flow pressure control instruction;
and the flow collector is used as a bridge to receive the pressure data, and the received pressure data is stored in the background database.
Correspondingly, before sending a detection instruction for detecting the gas in the to-be-detected gas band to a preset medical exhaled NO analyzer of the plurality of medical exhaled NO analyzers according to the set detection mode, the method includes:
determining a target gas path channel matched with the set detection mode according to the mapping relation between the detection mode and the gas path channel; the detection mode comprises an exhaled gas detection mode, a nasal exhaled gas detection mode and an exhaled gas offline detection mode, wherein the nasal exhaled gas detection mode and the exhaled gas offline detection mode correspond to the same air path;
and controlling the gas to be detected to reach the preset medical exhaled NO analyzer through the target gas path passage.
Correspondingly, before determining the target gas path matched with the set detection mode according to the mapping relationship between the detection mode and the gas path, the method includes:
judging whether the set detection mode is an expired gas detection mode or not;
when the set detection mode is an expired gas detection mode, sending an expired gas detection mode instruction to a preset medical expired NO analyzer, wherein the preset medical expired NO analyzer carries out expired gas detection on gas in the to-be-detected gas band, and the pressure value in the expired gas detection process is within the range of 1200 Pa-1800 Pa; before the expiration detection process, the preset medical expiration NO analyzer needs to perform an inspiration process, and detects the inspiration process.
Correspondingly, before determining the target gas path matched with the set detection mode according to the mapping relationship between the detection mode and the gas path, the method further includes:
when the set detection mode is a nasal expiration detection mode or an expired gas offline detection mode, controlling a preset electromagnetic valve to be communicated so that gas in the to-be-detected gas band flows into the preset medical expired NO analyzer;
pre-flushing a pipeline between the gas zone to be detected and the preset medical exhaled NO analyzer according to the gas in the gas zone to be detected flowing from the preset electromagnetic valve, wherein the pre-flushing is used for discharging residual gas in the pipeline;
temporarily storing the gas in the gas zone to be detected to a 2L gas zone, wherein the 2L gas zone is used for storing the gas in the gas zone to be detected in the nasal expiration gas detection mode or the expired gas off-line detection mode;
and the gas to be detected stored in the 2L gas belt flows into the preset medical exhaled NO analyzer through a gas path passage, and is used for detecting by the preset medical exhaled NO analyzer.
Correspondingly, the method further comprises the following steps:
acquiring a graphical operation interface provided by an upper computer, wherein the graphical operation interface is used for setting the detection mode and the detection parameters; the detection parameters comprise air source parameters, equipment parameters and measurement parameters;
wherein the gas source parameters comprise the concentration of the gas configured by the gas analyzer in the gas zone to be detected; the device parameters comprise the preset medical exhaled NO analyzer channel; the measurement parameters comprise measurement interval time, measurement times and remarks of measurement schemes.
In another aspect, an automatic detection system is provided for execution to implement the above automatic detection method.
The automatic detection system provided by the invention has the following technical effects:
the embodiment of the invention distributes gas and NO by the gas distributorXThe detector calibrates the gas concentration and a plurality of medical exhaled NO analyzers detect gas, so that the automatic detection system integrating gas distribution, gas detection and analysis and detection of the medical exhaled NO analyzers is realized, and meanwhile, background data detected by the automatic detection system is stored in the database. The technical proposal solves the problem that the gas separation instrument, the nitrogen oxide detector and the medical exhaled NO analyzer are separately usedThe condition of inefficiency not only can set up the detection parameter by oneself, has also reduced the error that manual intervention and caused, has improved work efficiency, has increased the accuracy of monitoring.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of an automatic detection method according to an embodiment of the present invention, and the following describes in detail the automatic detection method according to the embodiment of the present invention with reference to the schematic flow chart shown in fig. 1, where the method specifically includes the following steps:
s101: acquiring gas configuration parameters, and sending the gas configuration parameters to the gas distribution instrument; so that the gas distributor configures gas according to the gas configuration parameters and stores the configured gas into a gas zone to be detected;
s102: to the NOXThe detector sends a calibration instruction for calibrating the gas in the gas zone to be detected; so that said NO isXThe detector calibrates the concentration of the gas in the gas zone to be detected according to the calibration instruction to obtain a calibration result, and stores the calibration result into the background database;
s103: sending a detection instruction for detecting the gas in the gas band to be detected to a preset medical exhaled NO analyzer in the plurality of medical exhaled NO analyzers according to a set detection mode; and the preset medical exhaled NO analyzer detects the concentration of the gas in the gas band to be detected according to the detection instruction to obtain a detection result, and stores the detection result into the background database.
Further, the method further comprises: acquiring a flow pressure control instruction for the gas in the gas zone to be detected;
and forwarding the flow pressure control instruction to an electromagnetic valve control plate, a flow meter plate and a pressure gauge plate.
Further, the forwarding the flow pressure control command to the solenoid valve control board, the flow meter board and the pressure meter board includes:
controlling the electromagnetic valve and the air pump according to the flow pressure control instruction to obtain a control result;
and receiving the control result by taking the flow collector as a bridge, and storing the received control result into a background database.
Further, the forwarding the flow pressure control command to the solenoid valve control board, the flow meter board and the pressure meter board further includes:
collecting flow data of the preset medical exhaled NO analyzer according to the flow pressure control instruction;
and receiving the flow data by taking the flow collector as a bridge, and storing the received flow data into the background database.
Further, the forwarding the flow pressure control command to the solenoid valve control board, the flow meter board and the pressure meter board further includes:
collecting pressure data of the preset medical exhaled NO analyzer according to the flow pressure control instruction;
and the flow collector is used as a bridge to receive the pressure data, and the received pressure data is stored in the background database.
Further, before sending a detection instruction for detecting the gas in the to-be-detected gas zone to a preset medical exhaled NO analyzer of the plurality of medical exhaled NO analyzers according to a set detection mode, the method includes:
determining a target gas path channel matched with the set detection mode according to the mapping relation between the detection mode and the gas path channel; the detection mode comprises an exhaled gas detection mode, a nasal exhaled gas detection mode and an exhaled gas offline detection mode, wherein the nasal exhaled gas detection mode and the exhaled gas offline detection mode correspond to the same air path;
and controlling the gas to be detected to reach the preset medical exhaled NO analyzer through the target gas path passage.
Further, before determining a target gas path matched with the set detection mode according to the mapping relationship between the detection mode and the gas path, the method includes:
judging whether the set detection mode is an expired gas detection mode or not;
when the set detection mode is an expired gas detection mode, sending an expired gas detection mode instruction to a preset medical expired NO analyzer, wherein the preset medical expired NO analyzer carries out expired gas detection on gas in the to-be-detected gas band, and the pressure value in the expired gas detection process is within the range of 1200 Pa-1800 Pa; before the expiration detection process, the preset medical expiration NO analyzer needs to perform an inspiration process, and detects the inspiration process.
Further, before determining a target gas path matched with the set detection mode according to the mapping relationship between the detection mode and the gas path, the method further includes:
when the set detection mode is a nasal expiration detection mode or an expired gas offline detection mode, controlling a preset electromagnetic valve to be communicated so that gas in the to-be-detected gas band flows into the preset medical expired NO analyzer;
pre-flushing a pipeline between the gas zone to be detected and the preset medical exhaled NO analyzer according to the gas in the gas zone to be detected flowing from the preset electromagnetic valve, wherein the pre-flushing is used for discharging residual gas in the pipeline;
temporarily storing the gas in the gas zone to be detected to a 2L gas zone, wherein the 2L gas zone is used for storing the gas in the gas zone to be detected in the nasal expiration gas detection mode or the expired gas off-line detection mode;
and the gas to be detected stored in the 2L gas belt flows into the preset medical exhaled NO analyzer through a gas path passage, and is used for detecting by the preset medical exhaled NO analyzer.
Further, the method further comprises: acquiring a graphical operation interface provided by an upper computer, wherein the graphical operation interface is used for setting the detection mode and the detection parameters; the detection parameters comprise air source parameters, equipment parameters and measurement parameters;
wherein the gas source parameters comprise the concentration of the gas configured by the gas analyzer in the gas zone to be detected; the device parameters comprise the preset medical exhaled NO analyzer channel; the measurement parameters comprise measurement interval time, measurement times and remarks of measurement schemes.
In the embodiment of the invention, the controller plays a main coordinating role in the automatic detection method, and the controller respectively sends instructions to the gas distributor and the NOXDetecting instrument, a plurality ofMedical exhaled NO analyzer, flow collector, gas distributor and NOXData fed back by the detector, the medical exhalation NO analyzers and the flow collector are uniformly stored in a background database, so that the nitric oxide detection system integrating gas distribution, gas detection and detection of the medical exhalation NO analyzers is realized. As shown in fig. 2, a circuit design structure diagram of an automatic detection method according to an embodiment of the present invention is provided, in which a controller is responsible for controlling a gas distributor and an NOXThe communication among the detector, the plurality of medical exhaled NO analyzers and the flow collector enables the unified detection among all the devices to play a role in coordination.
In the circuit design structure shown in fig. 2, there are 2 electromagnetic valve control boards, 2 flow meter boards, and 1 pressure meter board, which are not limited in the embodiment of the present invention, and the number of the boards may be determined according to the requirements, and the connector embodiments in the circuit design structure include USB interfaces, 232 interfaces, serial-to-USB and IIC interfaces, and the connectors of different devices are selected to connect with corresponding connectors.
Specifically, the flow meter plate is connected with a thermal gas flow sensor and an OLED display screen, and is used for displaying gas flow pressure in real time and transmitting flow data to the flow collector after receiving a collection instruction of the flow collector, wherein the maximum measurement ranges of the flow sensors connected with 2 flow meter plates are respectively 2L/Min and 20L/Min.
Specifically, the pressure gage plate is connected with an air pressure sensor and an OLED display screen, is used for collecting and displaying pressure in real time, and transmits pressure data to the flow collector after receiving a collecting command of the flow collector, and the maximum range of the connected pressure gage is 40 Kpa.
Specifically, the electromagnetic valve control panel is connected with a plurality of air pumps, a plurality of electromagnetic valves and a plurality of pressure sensors, receives a control instruction of the flow collector, and is used for controlling the electromagnetic valves and the air pumps according to the control instruction to obtain a control result and feeding the control result back to the flow collector, and the flow collector feeds the control result back to the controller.
Specifically, the flow collector is used for collecting flow data of a plurality of flow meter plates and pressure data of a plurality of pressure meter plates, forwarding the flow pressure data to the controller, forwarding a control instruction of the controller to the electromagnetic valve control panel, and controlling the electromagnetic valve air pump.
The gas distribution instrument configures the gas to be detected according to gas configuration parameters, wherein the gas configuration parameters comprise the concentration of the gas to be detected and the volume of the gas to be detected, then selects a gas zone to be detected from a plurality of preset gas zones according to the configured concentration of the gas to be detected and the configured volume of the gas to be detected, and stores the configured gas to be detected in the gas zone to be detected.
As shown in fig. 3, for a gas path design structure diagram of an automatic detection method provided in an embodiment of the present invention,devices 1 to 8 in the diagram are short for the above medical exhalation NO analyzer and are used to refer to the medical exhalation NO analyzer, and main components of the gas path design structure diagram are a gas distributor and an NO analyzerXDetector, gas area, two-way valve, flowmeter board and pressure gage board. The specific gas circuit works as follows,
the controller in the circuit design is communicated with the gas distribution instrument, the controller controls the gas distribution instrument to distribute gas, the gas distribution instrument sets the concentration of the gas to be detected and the volume of the gas to be detected according to gas configuration parameters transmitted by the controller, the configured gas is stored in a gas zone, and the gas zone is selected according to the detection requirement to store the gas to be detected;
controller and NO in circuit designXThe detector is communicated, and the controller controls NOXThe detector calibrates the gas with the configured concentration and volume in the stored gas zone, and NO isXThe detector analyzes the concentration of the gas with the configured concentration and volume, and transmits the analysis result to the background database, and the whole detection process needs about 100 s;
the controller in the circuit design is communicated with the medical exhalation NO analyzer, the controller transmits gas in the selected gas band to the preset medical exhalation NO analyzer, the preset medical exhalation NO analyzer detects the gas in the gas band according to a set detection mode, transmits detection data and a pressure flow value of the preset medical exhalation NO analyzer monitored in the detection process to the background database, and the detection data and the pressure flow value are displayed by using a visual interface according to the data stored in the database.
In the automatic detection process, the gas circuit design involves distribution, gas detection, expired gas detection mode, nose expired gas detection mode, expired gas off-line detection mode and washing exhaust process, introduces to each in-process involving gas circuit below:
in the gas distribution process, a gas distributor performs configuration parameters on gas to be detected, the configuration process is a gas dilution process, the gas to be detected reaches a concentration value required to be detected, the gas distributor enables the configured gas to be detected to enter a gas band through an electromagnetic valve for storage, eight gas bands are seen in total in fig. 3, generally, gases with different concentrations in 8 gas bands are stored in 8 gas bands, and the gases are used for being supplied to a preset medical exhaled NO analyzer for detection under different concentrations;
in the gas detection process, the prepared gas stored in the gas zone enters NO through the electromagnetic valve and the 8-to-1 structureXDetector, NOXThe detector calibrates and analyzes the gas to be detected and stores the analysis and calibration results into a background database;
in the exhaled gas detection mode process, the controller firstly sends a simulated inspiration instruction to a preset medical exhaled NO analyzer, then triggers the controller to send the simulated expiration instruction to the medical exhaled NO analyzer according to simulated inspiration, and finally completes the whole detection process. In the exhaled gas detection mode process, a preset medical exhaled NO analyzer must detect an inspiration process firstly, then a simulated expiration process can be triggered, expiration is simulated at a constant pressure of 1500 Pa in the expiration process, a flow meter plate and a pressure meter plate monitor the preset medical exhaled NO analyzer in the process, and monitoring results are transmitted to a background database.
In the nasal expiration gas detection mode or the exhaled gas off-line detection mode process, the same gas circuit is used for detecting the gas to be detected, the gas to be detected is subjected to the three processes of pre-charging, inflating and measuring in sequence, wherein the pre-charging process is used for removing residual gas after last measurement in the pipeline, so that the whole pipeline is filled with the gas to be detected. After the pre-charging, the controller opens the corresponding control channel, so that the gas to be detected is sent to a preset medical exhalation NO analyzer, or the preset medical exhalation NO analyzer actively pumps the gas to be detected by an internal air pump. The gas detection device comprises a 2L gas band, wherein gas to be detected is temporarily stored in the 2L gas band, the 2L gas band is used for storing the gas to be detected in the nasal expiration gas detection mode or the expiration gas off-line detection mode, the purpose is to enable the gas to be detected to be close to a preset medical expiration NO analyzer as far as possible, the response time is shortened, then the gas to be detected stored in the 2L gas band is measured, the error of using the temporarily stored gas in the 2L gas band and not using the temporarily stored gas in the 2L gas band is smaller through multiple tests, and the repeatability is better. In the process, the flow meter plate and the pressure gauge plate monitor a preset medical exhalation NO analyzer and transmit a monitoring result to the background database.
And when the gas is switched every time, the pipeline needs to be subjected to gas washing and exhausting operation to eliminate the influence of residual gas adsorbed in the last detection process on the measurement result, wherein nitric oxide in the air is filtered by potassium permanganate in the gas washing process, and the content of the filtered nitric oxide is considered to be 0 at the moment. When the same air belt is used in the last detection and the next detection, the air washing and exhausting operation is not needed.
Further, the method further comprises: acquiring a graphical operation interface provided by an upper computer, wherein the graphical operation interface is used for setting the detection mode and the detection parameters; the detection parameters comprise air source parameters, equipment parameters and measurement parameters;
wherein the gas source parameters comprise the concentration of the gas configured by the gas analyzer in the gas zone to be detected; the device parameters comprise the preset medical exhaled NO analyzer channel; the measurement parameters comprise measurement interval time, measurement times and remarks of measurement schemes.
In the embodiment of the invention, the graphical operation interface not only can set the detection mode and the detection parameters, but also can display and display the measurement state, the current measurement channel, the current measurement times, the total measurement time and the residual measurement time.
The embodiment of the invention also provides an automatic detection system, which can be used for bearing and realizing the automatic detection method and also comprises a display;
the display is used for displaying a page stored in the background database, and page content elements of the page comprise detection time, detection temperature, detection humidity, preset information of the medical exhalation NO analyzer, sensor numbers, pressure values during detection, flow values during detection and detection types;
the page content elements further comprise a flow time curve graph, a pressure time curve graph and a voltage time curve graph of the preset medical exhalation NO analyzer.
In the embodiment of the invention, the upper computer can provide a graphical operation interface, and the operation interface not only can set a detection mode and detection parameters, but also can control the starting and stopping processes of detection. Specifically, as shown in fig. 4, thedevice 1 to 8 in the figure is a short-hand description of the medical exhalation NO analyzer and is used to refer to the medical exhalation NO analyzer, for example, the gas concentration is set to 20ppb, 50ppb, 100ppb, 200ppb, and 300ppb respectively by selecting thegas belt 1 to thegas belt 5, the detection channel is selected to be 1 to 7, and the measurement remarks are sequentially given to the device. The measurement interval is 120S, the measurement times are 5 times, the measurement mode is an exhaled gas off-line detection mode, then parameters are set, and then automatic detection is clicked.
As shown in fig. 5, it is a background database display interface of the automatic detection method according to the embodiment of the present invention, and as shown in fig. 6, it is a flow time curve, a pressure time curve, and a voltage time curve of the medical exhalation NO analyzer preset in the automatic detection method according to the embodiment of the present invention.
According to the scheme of the embodiment of the invention, the gas separation instrument and the NO are integratedXThe automatic detection system comprises a detector, a plurality of medical exhalation NO analyzers, a controller and a background database, realizes gas distribution and gas detection, three detection modes and a background database storage, and solves the problem of distributionThe gas meter and the nitrogen oxide detector are separately used under the condition of low efficiency, detection parameters can be automatically set in an automatic detection system, errors caused by manual intervention are reduced, the working efficiency is improved, and the monitoring accuracy is improved.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.