Disclosure of Invention
In order to overcome the technical problems, the invention aims to provide a control method and a control device of an air purifier and the air purifier: gather the carbon-oxygen ratio through air ginseng collection module, the particle value, and with the carbon-oxygen ratio, the particle value sends the treater, the treater is according to the carbon-oxygen ratio, the particle value generates the air purification instruction, gather ring temperature value and ring humidity value through air ginseng collection module, and send ring temperature value and ring humidity value to the treater, the treater obtains preset temperature value according to ring temperature value and ring humidity value, preset humidity value, the treater is with the air purification instruction, ring temperature value, ring humidity value, preset temperature value, preset humidity value sends the air purification module, the air purifies the air after the air purification instruction is received to the air purification module, still according to ring temperature value, ring humidity value, preset temperature value, preset humidity value adjust ambient temperature and ambient humidity, solved current air purifier and can not purify the room air automatically, can not adjust the room environment to user's habitual environment even, the problem of air purifier's development has been restricted.
The purpose of the invention can be realized by the following technical scheme:
the control device of the air purifier comprises a remote control module, a processor and an air purification module;
the remote control module is used for verifying user information, wherein the user information comprises a login account and a login password, sending an instruction sent by a user terminal which passes the user information verification to the processor, acquiring the position of the user terminal and sending the position of the user terminal to the processor;
the processor is used for generating an empty parameter acquisition instruction and a cyclic parameter acquisition instruction according to the position of the user terminal, sending the empty parameter acquisition instruction and the cyclic parameter acquisition instruction to the empty parameter acquisition module, generating an air purification instruction according to a carbon-oxygen ratio TY and a particle value KL fed back by the empty parameter acquisition module, obtaining a preset temperature value YW and a preset humidity value YS according to the ring temperature value HW and the ring humidity value HS, and sending the air purification instruction, the ring temperature value HW, the ring humidity value HS, the preset temperature value YW and the preset humidity value YS to the air purification module;
and the air purification module is used for purifying the air after receiving the air purification instruction and adjusting the environment temperature and the environment humidity according to the environment temperature value HW, the environment humidity value HS, the preset temperature value YW and the preset humidity value YS.
As a further scheme of the invention: the working process of the remote control module for verifying the user information is as follows:
comparing the registered account with the login account, if the registered password is the same as the login password, connecting the user terminal through the Internet and acquiring the position of the user terminal, if the registered account is different from the login account or the registered password is different from the login password, failing to connect the user terminal;
the location of the user terminal is sent to the processor.
As a further scheme of the invention: the working process of the processor for generating the null parameter acquisition instruction and the ring parameter acquisition instruction is as follows:
marking the position of the air purifier as a fixed point, forming an automatic control area by taking the fixed point as a circle center and a preset distance as a radius, wherein the automatic control area comprises an area center and an area periphery;
and marking the position of the user terminal as a moving point, generating a null parameter acquisition instruction if the moving point is positioned between the periphery of the area and the center of the area, generating a cyclic parameter acquisition instruction if the moving point is positioned in the center of the area, and sending the null parameter acquisition instruction and the cyclic parameter acquisition instruction to the null parameter acquisition module.
As a further scheme of the invention: the working process of the processor for obtaining the preset temperature value YW and the preset humidity value YS is as follows:
substituting carbon-oxygen ratio TY and particle value KL into formula
Obtaining an air quality coefficient KZ, wherein q1 and q2 are both preset weight coefficients, and q1 is more than q2 and more than 1;
carbon to oxygen ratio TY is compared to carbon to oxygen ratio threshold TYy, particle value KL is compared to particle value threshold KLy, and air mass coefficient KZ is compared to air mass threshold KZy:
if the carbon-oxygen ratio TY is greater than the carbon-oxygen ratio threshold TYy, or the particle value KL is greater than the particle value threshold KLy, or the air quality coefficient KZ is greater than the air quality threshold KZy, an air purification command is generated and sent to the air purification module.
As a further scheme of the invention: the working process of the processor for generating the air purification instruction is as follows:
collecting the environment temperature value HW adjusted when the air purifier works in historical data according to the time sequence, respectively marking the environment temperature value HW as a temperature value LW, obtaining the corresponding times and duration of the temperature value LW, and respectively marking the environment temperature value HW as Wen Cizhi WC and a temperature value WS;
collecting the humidity value HS adjusted when the air purifier works in historical data according to the time sequence, respectively marking the humidity value HS as a humidity value LS, acquiring the corresponding times and duration of the humidity value LS, and respectively marking the humidity value HS as a humidity value SC and a humidity value SS;
substituting Wen Cizhi WC and temperature value WS into formula
Obtaining a temperature coefficient WX, wherein both alpha 1 and alpha 2 are preset proportionality coefficients, and alpha 1+ alpha 2=1, taking alpha 1=0.35 and alpha 2=0.65;
substituting the wet value SC and the wet value SS into a formula
Obtaining a humidity coefficient SX, wherein both beta 1 and beta 2 are preset proportionality coefficients, and beta 1+ beta 2=1, taking beta 1=0.52 and beta 2=0.48;
arranging all temperature coefficients WX in a descending order, marking the calendar temperature value LW corresponding to the first temperature coefficient WX as a preset temperature value YW, arranging all humidity coefficients SX in a descending order, and marking the calendar humidity value LS corresponding to the first humidity coefficient SX as a preset humidity value YS;
and sending the ring temperature value HW, the ring humidity value HS, the preset temperature value YW and the preset humidity value YS to an air purification module.
As a further scheme of the invention: the air purification module purifies the air, adjusts the working process of ambient temperature and ambient humidity as follows:
after receiving an air purification command, purifying the air until the carbon-oxygen ratio TY is not more than a carbon-oxygen ratio threshold value TYy, the particle value KL is not more than a particle value threshold value KLy and the air quality coefficient KZ is not more than an air quality threshold value KZy;
after receiving the ring temperature value HW, the ring humidity value HS, the preset temperature value YW and the preset humidity value YS, adjusting the environment temperature and the environment humidity until the ring temperature value HW = the preset temperature value YW and the ring humidity value HS = the preset humidity value YS.
As a further scheme of the invention: air purifier, including air purifier's controlling means, air purifier's controlling means installs the inside at air purifier.
As a further scheme of the invention: a control method of an air purifier, comprising the steps of:
the method comprises the following steps: the remote control module compares the registered account with the login account, if the registered password is compared with the login password, if the registered account is the same as the login account and the registered password is the same as the login password, the remote control module is connected with the user terminal through the Internet and acquires the position of the user terminal, and if the registered account is different from the login account or the registered password is different from the login password, the remote control module fails to be connected with the user terminal;
step two: the remote control module sends the position of the user terminal to the processor;
step three: the processor marks the position of the air purifier as a fixed point, takes the fixed point as a circle center and takes a preset distance as a radius to form an automatic control area, and the automatic control area comprises an area center and an area periphery;
step four: the processor marks the position of the user terminal as a moving point, generates a null parameter acquisition instruction if the moving point is positioned between the periphery of the area and the center of the area, generates a cyclic parameter acquisition instruction if the moving point is positioned in the center of the area, and sends the null parameter acquisition instruction and the cyclic parameter acquisition instruction to the null parameter acquisition module;
step five: the method comprises the steps that after an empty parameter acquisition instruction is received by an empty parameter acquisition module, the carbon dioxide content, the oxygen content and the PM2.5 content in the air are acquired and marked as a carbon value TL, an oxygen value YL and a particle value KL respectively;
step six: the empty parameter acquisition module marks the ratio of the carbon value TL to the oxygen value YL as a carbon-oxygen ratio TY;
step seven: the empty parameter acquisition module sends the carbon-oxygen ratio TY and the particle value KL to a processor;
step eight: the empty parameter acquisition module acquires the environmental temperature and the environmental humidity after receiving the loop parameter acquisition instruction, and marks the environmental temperature and the environmental humidity as a loop temperature value HW and a loop humidity value HS respectively;
step nine: the empty parameter acquisition module sends the loop temperature value HW and the loop humidity value HS to the processor;
step ten: the processor substitutes the carbon-oxygen ratio TY and the particle value KL into a formula
Obtaining an air quality coefficient KZ, wherein q1 and q2 are both preset weight coefficients, and q1 is more than q2 and more than 1;
step eleven: the processor compares carbon to oxygen ratio TY to carbon to oxygen ratio threshold TYy, particle value KL to particle value threshold KLy, air mass coefficient KZ to air mass threshold KZy:
if the carbon-oxygen ratio TY is greater than the carbon-oxygen ratio threshold TYy, or the particle value KL is greater than the particle value threshold KLy, or the air quality coefficient KZ is greater than the air quality threshold KZy, generating an air purification instruction, and sending the air purification instruction to an air purification module;
step twelve: the processor collects the environment temperature value HW adjusted when the air purifier works in historical data according to the time sequence, and marks the environment temperature value HW as the temperature value LW respectively, obtains the times and the duration corresponding to the temperature value LW, and marks the times and the duration as Wen Cizhi WC and a temperature value WS respectively;
step thirteen: the processor collects the ring humidity values HS adjusted by the air purifier during working in the historical data according to the time sequence, respectively marks the ring humidity values HS as the humidity values LS, obtains the times and duration corresponding to the humidity values LS, and respectively marks the times and duration as the humidity values SC and the humidity values SS;
fourteen steps: the processor substitutes Wen Cizhi WC and the temperature value WS into the formula
Obtaining a temperature coefficient WX, wherein both alpha 1 and alpha 2 are preset proportionality coefficients, and alpha 1+ alpha 2=1, taking alpha 1=0.35 and alpha 2=0.65;
step fifteen: the processor substitutes the wet value SC and the wet value SS into a formula
Obtaining a humidity coefficient SX, wherein beta 1 and beta 2 are bothSetting a preset proportionality coefficient, and taking beta 1=0.52 and beta 2=0.48 for beta 1+ beta 2=1;
sixthly, the steps are as follows: the processor arranges all the temperature coefficients WX in a descending order, marks the temperature history value LW corresponding to the first temperature coefficient WX as a preset temperature value YW, arranges all the humidity coefficients SX in a descending order, and marks the humidity history value LS corresponding to the first humidity coefficient SX as a preset humidity value YS;
seventeen steps: the processor sends the loop temperature value HW, the loop humidity value HS, the preset temperature value YW and the preset humidity value YS to the air purification module;
eighteen steps: the air purification module purifies the air after receiving the air purification command until the carbon-oxygen ratio TY is not more than a carbon-oxygen ratio threshold TYy, the particle value KL is not more than a particle value threshold KLy and the air quality coefficient KZ is not more than an air quality threshold KZy;
nineteen steps: after the air purification module receives the environment temperature value HW, the environment humidity value HS, the preset temperature value YW and the preset humidity value YS, the environment temperature and the environment humidity are adjusted until the environment temperature value HW = the preset temperature value YW and the environment humidity value HS = the preset humidity value YS.
The invention has the beneficial effects that:
the invention relates to a control method and a device of an air purifier and the air purifier, wherein an air parameter acquisition module is used for acquiring a carbon-oxygen ratio and a particle value, and sending the carbon-oxygen ratio and the particle value to a processor, the processor generates an air purification instruction according to the carbon-oxygen ratio and the particle value, the air parameter acquisition module is used for acquiring an annular temperature value and an annular humidity value, and sending the annular temperature value and the annular humidity value to the processor, the processor obtains a preset temperature value and a preset humidity value according to the annular temperature value and the annular humidity value, the processor sends the air purification instruction, the annular temperature value, the annular humidity value, the preset temperature value and the preset humidity value to the air purification module, the air purification module purifies air after receiving the air purification instruction, and adjusts the environmental temperature and the environmental humidity according to the annular temperature value, the annular humidity value, the preset temperature value and the preset humidity value; the air purifier not only can purify air, but also can automatically adjust the environmental temperature and the environmental humidity, so that a user is in a comfortable and sanitary environment, and the probability of illness of the user is reduced;
this air purifier passes through user terminal, remote control module and treater and passes through the internet connection for the user can carry out remote control, and it is convenient to use, but also can acquire user terminal position constantly, gets back to the user and begins to purify the air automatically before indoor, adjusts environmental condition, and intelligent degree is high.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
please refer to fig. 1, the embodiment is an air purifier, a control device of the air purifier is installed inside the air purifier, and the control device of the air purifier includes a user terminal, a processor, a remote control module, an air parameter collecting module and an air purifying module:
the user terminal is used for registering and sending an instruction to the processor by the user;
the remote control module is used for verifying user information, wherein the user information comprises a login account and a login password, sending an instruction sent by a user terminal which passes the user information verification to the processor, acquiring the position of the user terminal and sending the position of the user terminal to the processor;
the processor is used for generating an empty parameter acquisition instruction and a cyclic parameter acquisition instruction according to the position of the user terminal, sending the empty parameter acquisition instruction and the cyclic parameter acquisition instruction to the empty parameter acquisition module, generating an air purification instruction according to a carbon-oxygen ratio TY and a particle value KL fed back by the empty parameter acquisition module, obtaining a preset temperature value YW and a preset humidity value YS according to the ring temperature value HW and the ring humidity value HS, and sending the air purification instruction, the ring temperature value HW, the ring humidity value HS, the preset temperature value YW and the preset humidity value YS to the air purification module;
the air parameter acquisition module is used for acquiring a carbon-oxygen ratio TY and a particle value KL, sending the carbon-oxygen ratio TY and the particle value KL to the processor, acquiring an annular temperature value HW and an annular humidity value HS, and sending the annular temperature value HW and the annular humidity value HS to the processor;
and the air purification module is used for purifying the air after receiving the air purification instruction and adjusting the environment temperature and the environment humidity according to the environment temperature value HW, the environment humidity value HS, the preset temperature value YW and the preset humidity value YS.
Example 2:
referring to fig. 1, the present embodiment is a control method of an air purifier, including the following steps:
the method comprises the following steps: the user sets a registration password by taking the mobile phone number as a registration account, and sends the registration account and the registration password to the processor through the user terminal;
step two: the user sends the registration account and the registration password to the remote control module through the user terminal;
step three: the processor is in communication connection with the remote control module by utilizing the internet;
step four: the processor marks the registration account and the registration password as a login account and a login password after receiving the registration account and the registration password, and sends the login account and the login password to the remote control module;
step five: the remote control module compares the registered account with the login account, if the registered password is compared with the login password, if the registered account is the same as the login account and the registered password is the same as the login password, the remote control module is connected with the user terminal through the Internet and acquires the position of the user terminal, and if the registered account is different from the login account or the registered password is different from the login password, the remote control module fails to be connected with the user terminal;
step six: the remote control module sends the position of the user terminal to the processor;
step seven: the processor marks the position of the air purifier as a fixed point, takes the fixed point as a circle center and takes a preset distance as a radius to form an automatic control area, and the automatic control area comprises an area center and an area periphery;
step eight: the processor marks the position of the user terminal as a moving point, generates a null parameter acquisition instruction if the moving point is positioned between the periphery of the area and the center of the area, generates a cyclic parameter acquisition instruction if the moving point is positioned in the center of the area, and sends the null parameter acquisition instruction and the cyclic parameter acquisition instruction to the null parameter acquisition module;
step nine: the method comprises the steps that after an empty parameter acquisition instruction is received by an empty parameter acquisition module, the carbon dioxide content, the oxygen content and the PM2.5 content in the air are acquired and marked as a carbon value TL, an oxygen value YL and a particle value KL respectively;
step ten: the empty parameter acquisition module marks the ratio of the carbon value TL to the oxygen value YL as a carbon-oxygen ratio TY;
step eleven: the empty parameter acquisition module sends the carbon-oxygen ratio TY and the particle value KL to a processor;
step twelve: the processor substitutes the carbon-oxygen ratio TY and the particle value KL into a formula
Obtaining an air quality coefficient KZ, wherein q1 and q2 are both preset weight coefficients, and q1 is more than q2 and more than 1;
step thirteen: the processor compares the carbon-to-oxygen ratio TY to a carbon-to-oxygen ratio threshold TYy, particle value KL to a particle value threshold KLy, and air mass coefficient KZ to an air mass threshold KZy:
if the carbon-oxygen ratio TY is greater than a carbon-oxygen ratio threshold TYy, or the particle value KL is greater than a particle value threshold KLy, or the air quality coefficient KZ is greater than an air quality threshold KZy, generating an air purification instruction, and sending the air purification instruction to an air purification module;
fourteen steps: the air purification module purifies the air after receiving the air purification command until the carbon-oxygen ratio TY is not more than a carbon-oxygen ratio threshold TYy, the particle value KL is not more than a particle value threshold KLy and the air quality coefficient KZ is not more than an air quality threshold KZy;
step fifteen: the empty parameter acquisition module acquires the environmental temperature and the environmental humidity after receiving the loop parameter acquisition instruction, and marks the environmental temperature and the environmental humidity as a loop temperature value HW and a loop humidity value HS respectively;
sixthly, the step of: the empty parameter acquisition module sends the loop temperature value HW and the loop humidity value HS to the processor;
seventeen steps: the processor collects the environment temperature value HW adjusted when the air purifier works in historical data according to the time sequence, and marks the environment temperature value HW as the temperature value LW respectively, obtains the times and the duration corresponding to the temperature value LW, and marks the times and the duration as Wen Cizhi WC and a temperature value WS respectively;
eighteen steps: the processor collects the ring humidity value HS adjusted when the air purifier works in historical data according to the time sequence, marks the ring humidity value HS as a humidity value LS, obtains the corresponding times and duration of the humidity value LS, and marks the times and duration as a humidity value SC and a humidity value SS;
nineteen steps: the processor substitutes Wen Cizhi WC and the temperature value WS into the formula
Obtaining a temperature coefficient WX, wherein both alpha 1 and alpha 2 are preset proportionality coefficients, and alpha 1+ alpha 2=1, taking alpha 1=0.35 and alpha 2=0.65;
twenty steps: the processor substitutes the wet value SC and the wet value SS into a formula
Obtaining a humidity coefficient SX, wherein both beta 1 and beta 2 are preset proportionality coefficients, and beta 1+ beta 2=1, taking beta 1=0.52 and beta 2=0.48;
twenty one: the processor arranges all the temperature coefficients WX in a descending order, marks the temperature history value LW corresponding to the first temperature coefficient WX as a preset temperature value YW, arranges all the humidity coefficients SX in a descending order, and marks the humidity history value LS corresponding to the first humidity coefficient SX as a preset humidity value YS;
twenty-two steps: the processor sends the loop temperature value HW, the loop humidity value HS, the preset temperature value YW and the preset humidity value YS to the air purification module;
twenty-three steps: after the air purification module receives the environment temperature value HW, the environment humidity value HS, the preset temperature value YW and the preset humidity value YS, the environment temperature and the environment humidity are adjusted until the environment temperature value HW = the preset temperature value YW and the environment humidity value HS = the preset humidity value YS.
In the description herein, references to the description of "one embodiment," "an example," "a specific example" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is illustrative and explanatory only, and it will be appreciated by those skilled in the art that various modifications, additions and substitutions can be made to the embodiments described without departing from the scope of the invention as defined in the appended claims.