Disclosure of Invention
The invention aims to overcome the technical defects and provide a method and a system for controlling an LPG vaporizing device, which solve the technical problems of complex control system, high cost and large volume of the LPG vaporizing device in the prior art.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for controlling an LPG vaporization device, comprising the steps of:
collecting a real-time temperature signal, and preprocessing the real-time temperature signal;
according to the preset temperature control precision, carrying out first AD conversion or second AD conversion on the preprocessed signals to obtain real-time temperature data after AD conversion;
comparing the real-time temperature data after AD conversion with a preset electromagnetic valve opening temperature threshold, and opening the electromagnetic valve when the real-time temperature data reaches the preset electromagnetic valve opening temperature threshold so as to realize the supply of LPG;
according to the real-time temperature data after AD conversion, PID adjustment is carried out on the working frequency of the solid-state relay, so that the heating temperature fluctuates within a preset range;
and when the real-time temperature data after AD conversion is abnormal, controlling the heating device to stop working, closing the electromagnetic valve and stopping the acquisition of the output signal of the temperature measuring device.
Preferably, in the method for controlling an LPG vaporization device, the step of acquiring a real-time temperature signal and preprocessing the real-time temperature signal includes:
and acquiring a real-time temperature signal, performing temperature compensation on the real-time temperature signal, and amplifying the temperature-compensated signal.
Preferably, in the method for controlling an LPG vaporization device, the step of acquiring a real-time temperature signal and preprocessing the real-time temperature signal further includes:
and when the real-time temperature signal is not acquired, the heating device is in a stop working state, and the electromagnetic valve is kept in a closed state.
Preferably, in the method for controlling an LPG vaporization device, the preset temperature control accuracy is a first temperature control accuracy or a second temperature control accuracy, and the step of performing a first AD conversion or a second AD conversion on the processed signal according to the preset temperature control accuracy to obtain real-time temperature data after the AD conversion specifically includes:
when the preset temperature control precision is the first temperature control precision, performing first AD conversion on the processed signal;
and when the preset temperature control precision is the second temperature control precision, performing second AD conversion on the processed signal.
Preferably, in the method for controlling the LPG vaporization device, the step of performing PID adjustment on the operating frequency of the solid-state relay according to the real-time temperature data after AD conversion so as to fluctuate the heating temperature within a preset range specifically includes:
and judging whether the real-time temperature data reaches a preset temperature threshold value, if so, performing PID (proportion integration differentiation) regulation on the working frequency of the solid-state relay according to PID regulation parameters so as to enable the heating temperature to fluctuate within a preset range. In a second aspect, the present invention also provides a control system for an LPG vaporization device, comprising:
the board card is used for acquiring a real-time temperature signal and processing the real-time temperature signal;
the AD conversion chip is used for performing first AD conversion on the preprocessed signals;
the control chip is used for receiving the real-time temperature data obtained after the first AD conversion and performing second AD conversion on the preprocessed signals; the AD conversion module is also used for comparing the real-time temperature data after the AD conversion with a preset electromagnetic valve opening temperature threshold value, when the real-time temperature data reaches the preset electromagnetic valve opening temperature threshold value, the electromagnetic valve is opened, and PID adjustment is also carried out on the working frequency of the solid-state relay according to the real-time temperature data after the AD conversion, so that the heating temperature fluctuates within a preset range; and the device is also used for controlling the heating device to stop working, closing the electromagnetic valve and stopping the acquisition of the output signal of the temperature measuring device when the real-time temperature data after AD conversion is abnormal.
Preferably, in the control system of the LPG vaporization device, the board card is specifically configured to:
and acquiring a real-time temperature signal, performing temperature compensation on the real-time temperature signal, and amplifying the temperature-compensated signal.
Preferably, in the control system of the LPG vaporization device, the control chip is further configured to:
when the board card does not acquire the real-time temperature signal, the heating device is in a stop working state, and the electromagnetic valve is kept in a closed state.
Preferably, in the control system for an LPG vaporization device, the AD conversion chip is specifically configured to: when the preset temperature control precision is the first temperature control precision, performing first AD conversion on the preprocessed signal;
the control chip is specifically configured to: and when the preset temperature control precision is the second temperature control precision, performing second AD conversion on the preprocessed signal.
Preferably, in the control system of the LPG vaporization device, the control chip is a single chip microcomputer or a DSP chip.
Compared with the prior art, the method and the system for controlling the LPG vaporizing device provided by the invention adopt different AD conversion modes aiming at different accuracies, so that the control mode of the LPG vaporizing device is increased, the heating failure of the vaporizing furnace caused by accuracy is avoided, and the LPG can be fully vaporized. In addition, when the temperature is abnormal, the electromagnetic valve is closed, and the input of the LPG is stopped, so that the condition that the temperature measuring device is damaged or the temperature is abnormal can be timely handled. The invention realizes a plurality of control modes without adding electric elements or replacing the temperature controller, can process the condition that the external temperature probe is damaged or the temperature is abnormal, avoids increasing the volume, complexity and design boundary cost of the control system and increases the stability of the control system.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, a method for controlling an LPG vaporization device according to an embodiment of the present invention includes the following steps:
s100, collecting a real-time temperature signal, and preprocessing the real-time temperature signal;
s200, performing first AD conversion or second AD conversion on the preprocessed signals according to preset temperature control precision to obtain real-time temperature data after AD conversion;
s300, comparing the real-time temperature data after AD conversion with a preset electromagnetic valve opening temperature threshold, and opening the electromagnetic valve when the real-time temperature data reaches the preset electromagnetic valve opening temperature threshold so as to supply LPG;
s400, carrying out PID (proportion integration differentiation) adjustment on the working frequency of the solid-state relay according to the real-time temperature data after AD (analog-to-digital) conversion so as to enable the heating temperature to fluctuate within a preset range;
and S500, when the real-time temperature data after AD conversion is abnormal, controlling the heating device to stop working, closing the electromagnetic valve and stopping the acquisition of the output signal of the temperature measuring device.
In this embodiment, the LPG vaporization device has a plurality of control methods, and is suitable for LPG vaporization environments with different accuracies, when the temperature control accuracy requirement is high, the first AD conversion is performed on the processed signal, when the temperature control accuracy requirement is low, the second AD conversion is performed on the processed signal, for example, when the temperature control accuracy requirement is one bit after the decimal point, the first AD conversion is performed, and when the temperature control accuracy requirement is two bits after the decimal point, the second AD conversion is performed, so that the control mode of the LPG vaporization device is increased, heating failure of the vaporization furnace due to accuracy is avoided, and LPG (liquid petroleum gas) can be fully vaporized. In addition, when the real-time temperature data is abnormal, the real-time temperature data indicates that the temperature acquisition device is possibly damaged, at the moment, the heating device is immediately controlled to stop heating, the electromagnetic valve is closed, and the input of LPG is stopped, so that the condition that the temperature measurement device is damaged or the temperature is abnormal can be timely handled.
The invention realizes a plurality of control modes without adding electric elements or replacing the temperature controller, can process the condition that the external temperature probe is damaged or the temperature is abnormal, avoids increasing the volume, complexity and design boundary cost of the control system and increases the stability of the control system.
In a preferred embodiment, the step S100 specifically includes:
and acquiring a real-time temperature signal, performing temperature compensation on the real-time temperature signal, and amplifying the temperature-compensated signal.
Specifically, in order to increase the accuracy of temperature acquisition, the output signal of the temperature measurement device is subjected to temperature compensation, and in addition, for convenience of processing, the signal subjected to temperature compensation is amplified, so that the output signal is conveniently analyzed.
In a preferred embodiment, the step S100 further includes:
and when the real-time temperature signal is not acquired, the heating device is in a stop working state, and the electromagnetic valve is kept in a closed state.
Specifically, in order to prevent the LPG from being completely vaporized or the LPG vaporization device from being in a dangerous state when the temperature measuring device is abnormal, when the output signal is not collected, indicating that the temperature measuring device is damaged, the operation of the heating device is rapidly stopped and the solenoid valve is closed to stop the input of the LPG, thereby ensuring the safety of the LPG vaporization device.
In a preferred embodiment, the step S200 specifically includes:
when the preset temperature control precision is the first temperature control precision, performing first AD conversion on the processed signal;
and when the preset temperature control precision is the second temperature control precision, performing second AD conversion on the processed signal.
In other words, the invention carries out uninterrupted AD conversion on the processed signals aiming at different precision requirements, specifically, when high-precision control is required, the processed signals are sent to a 16-bit AD conversion chip, and the converted chips are sent to a singlechip or a DSP for subsequent processing; when the control precision requirement is general, the control precision requirement is directly sent to a single chip microcomputer or a 12-bit AD converter carried by the DSP for processing. Therefore, various control modes can be realized, and the situation that the LPG cannot be completely vaporized is avoided. And moreover, by adopting an integrated control mode, a plurality of relays or other working units can be onboard, all potential problems can be treated by a programmed program, and the integrated control system has a fault diagnosis function.
In a preferred embodiment, the step S400 specifically includes:
and judging whether the real-time temperature data reaches a preset temperature threshold value, if so, performing PID (proportion integration differentiation) regulation on the working frequency of the solid-state relay according to PID regulation parameters so as to enable the heating temperature to fluctuate within a preset range.
Specifically, in order to avoid that the temperature continues to rise or fall to be far away from a preset temperature threshold signal after reaching a certain value, the working frequency of the solid-state relay is subjected to PID adjustment, so that the working period of the solid-state relay is changed, and the temperature of the LPG vaporizing device can be maintained within a preset range, so that stable heating of the LPG is realized.
Based on the control method of the LPG vaporizing device, the invention also correspondingly provides a control system of the LPG vaporizing device, which comprises the following steps:
the board card is used for acquiring a real-time temperature signal and processing the real-time temperature signal;
the AD conversion chip is used for performing first AD conversion on the preprocessed signals;
the control chip is used for receiving the real-time temperature data obtained after the first AD conversion and performing second AD conversion on the preprocessed signals; the AD conversion module is also used for comparing the real-time temperature data after the AD conversion with a preset electromagnetic valve opening temperature threshold value, when the real-time temperature data reaches the preset electromagnetic valve opening temperature threshold value, the electromagnetic valve is opened, and PID adjustment is also carried out on the working frequency of the solid-state relay according to the real-time temperature data after the AD conversion, so that the heating temperature fluctuates within a preset range; and the device is also used for controlling the heating device to stop working, closing the electromagnetic valve and stopping the acquisition of the output signal of the temperature measuring device when the real-time temperature data after AD conversion is abnormal.
In a preferred embodiment, the board card is specifically configured to:
and acquiring a real-time temperature signal, performing temperature compensation on the real-time temperature signal, and amplifying the temperature-compensated signal.
In a preferred embodiment, the control chip is further configured to:
when the board card does not acquire the real-time temperature signal, the heating device is in a stop working state, and the electromagnetic valve is kept in a closed state.
In a preferred embodiment, the AD conversion chip is specifically configured to: when the preset temperature control precision is the first temperature control precision, performing first AD conversion on the preprocessed signal;
the control chip is specifically configured to: and when the preset temperature control precision is the second temperature control precision, performing second AD conversion on the preprocessed signal.
In a preferred embodiment, the control chip is a single chip or a DSP chip.
Since the detailed description of the control method of the LPG vaporization device has been made above, the technical effects of the control method of the LPG vaporization device are also provided by the control system of the LPG vaporization device, and the detailed description thereof is omitted.
In summary, the method and system for controlling the LPG vaporization device provided by the present invention adopt different AD conversion methods for different accuracies, so that the control mode of the LPG vaporization device is increased, heating failure of the vaporization furnace due to accuracy is avoided, and LPG can be sufficiently vaporized. In addition, when the temperature is abnormal, the electromagnetic valve is closed, and the input of the LPG is stopped, so that the condition that the temperature measuring device is damaged or the temperature is abnormal can be timely handled. The invention realizes a plurality of control modes without adding electric elements or replacing the temperature controller, can process the condition that the external temperature probe is damaged or the temperature is abnormal, avoids increasing the volume, complexity and design boundary cost of the control system and increases the stability of the control system.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention. Any other corresponding changes and modifications made according to the technical idea of the present invention should be included in the protection scope of the claims of the present invention.