CN113776200B - Water heater control method, control terminal and water heater system - Google Patents

Water heater control method, control terminal and water heater system Download PDF

Info

Publication number
CN113776200B
CN113776200B CN202111149595.3A CN202111149595A CN113776200B CN 113776200 B CN113776200 B CN 113776200B CN 202111149595 A CN202111149595 A CN 202111149595A CN 113776200 B CN113776200 B CN 113776200B
Authority
CN
China
Prior art keywords
water heater
control terminal
mode
steering
detection data
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.)
Active
Application number
CN202111149595.3A
Other languages
Chinese (zh)
Other versions
CN113776200A (en
Inventor
卢楚鹏
何家文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Wanhe Thermal Energy Technology Co Ltd
Original Assignee
Guangdong Wanhe Thermal Energy Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Wanhe Thermal Energy Technology Co Ltd filed Critical Guangdong Wanhe Thermal Energy Technology Co Ltd
Priority to CN202111149595.3A priority Critical patent/CN113776200B/en
Publication of CN113776200A publication Critical patent/CN113776200A/en
Application granted granted Critical
Publication of CN113776200B publication Critical patent/CN113776200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24HFLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
    • F24H9/00Details
    • F24H9/20Arrangement or mounting of control or safety devices
    • F24H9/2007Arrangement or mounting of control or safety devices for water heaters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application relates to a water heater control method, a control terminal and a water heater system. The water heater control method comprises the following steps: when the control terminal is detected to be adsorbed on the water heater, acquiring detection data of the gravity sensor and detection data of the gyroscope sensor; obtaining the steering of the control terminal according to the detection data of the gravity sensor; obtaining the rotating speed of the control terminal according to the detection data of the gyroscope sensor; and controlling the water heater according to the steering and the rotating speed. When the control terminal is adsorbed on the water heater and rotates, the water heater can be controlled according to the acquired steering and rotating speed, the control mode of the water heater is increased, diversified control of the water heater is realized, meanwhile, when a key on the control terminal is out of order, the water heater can be controlled in a mode of rotating the control terminal, the problem that the water heater cannot be controlled due to the problem of key failure is avoided, and false touch of the key can be prevented.

Description

Water heater control method, control terminal and water heater system
Technical Field
The present application relates to the field of water heater control technologies, and in particular, to a water heater control method, a control terminal, and a water heater system.
Background
The existing middle-high-end gas water heater is provided with a wireless controller with a display, the wireless controller is matched with a WiFi module on the water heater by using the WiFi module, and local area network communication is carried out through a router; the lithium battery is used for supplying power, so that the mobile use is convenient; a magnet is embedded in the rear cover of the bath controller, so that the bath controller can be magnetically absorbed on an iron shell of the water heater.
However, the current wireless controller of the water heater usually uses a touch button to adjust the water heater, and the control mode is single.
Disclosure of Invention
The first technical problem to be solved by the application is to provide a water heater control method which can effectively solve the problem of single control mode of the water heater.
The second technical problem to be solved by the application is to provide a control terminal which can effectively solve the problem of single control mode of the water heater.
The third technical problem to be solved by the application is to provide a water heater system which can effectively solve the problem of single control mode of the water heater.
The first technical problem is solved by the following technical scheme:
a water heater control method is applied to a control terminal for controlling a water heater, wherein the control terminal comprises a shell, and a gravity sensor and a gyroscope sensor which are arranged in the shell; the control method comprises the following steps:
when the control terminal is detected to be adsorbed on the water heater, acquiring detection data of a gravity sensor and detection data of a gyroscope sensor;
obtaining the steering of the control terminal according to the detection data of the gravity sensor;
obtaining the rotating speed of the control terminal according to the detection data of the gyroscope sensor;
and controlling the water heater according to the steering and the rotating speed.
Compared with the background technology, the control terminal of the application has the beneficial effects that: when the control terminal is adsorbed on the water heater and rotates, the steering of the control terminal is determined according to the detection data of the gravity sensor, and the rotating speed of the control terminal is determined according to the detection data of the gyroscope sensor, so that the water heater can be controlled according to the steering and the rotating speed, the control mode of the water heater is increased, the diversified control of the water heater is realized, meanwhile, when the keys on the control terminal are out of order, the water heater can be controlled in a mode of rotating the control terminal, the problem that the water heater cannot be controlled due to the problem of key failure is avoided, and the false touch of the keys can be prevented.
In one embodiment, before acquiring the detection data of the gravity sensor and the detection data of the gyro sensor, the method further includes:
determining the adsorption action times of the control terminal on the water heater according to the adsorption identification position;
and determining the regulation mode of the water heater according to the adsorption action times in the preset time.
The adsorption zone bit characterizes whether the control terminal is adsorbed on the water heater, the adsorption action times can be known through the adsorption zone bit continuously transmitted between the control terminal and the water heater through wireless communication, and the water heater is switched according to the adsorption action times, so that the switching of the adjustment modes is more convenient.
In one embodiment, the adsorption flag bit comprises a first flag bit and a second flag bit, wherein the first flag bit indicates that the control terminal is adsorbed on the water heater, and the second flag bit indicates that the control terminal is not adsorbed on the water heater; the method for determining the adsorption times of the control terminal on the water heater according to the adsorption identification position comprises the following steps: and taking the number of times that the first flag bit is changed into the second flag bit as the adsorption number of the control terminal on the water heater.
The water heater constantly receives the adsorption zone bit, so that the water heater can timely acquire the change times of changing the first zone bit into the second zone bit, and can timely acquire the times of adsorption actions. Therefore, the adjusting mode can be switched according to the adsorption action times in time.
In one embodiment, the control terminal further comprises a wireless charging module arranged in the control terminal, and a wireless charging base corresponding to the wireless charging module is arranged in the water heater; when a charging signal of the wireless charging module is received, the first flag bit is determined to be changed into a second flag bit.
Because the control terminal starts to charge wirelessly after being adsorbed on the wireless charging base, the receiving of the wireless charging signal is equivalent to knowing that the control terminal is adsorbed on the water heater.
In one embodiment, the detection data of the gravity meter sensor is a level signal, and the obtaining the steering of the control terminal according to the detection data of the gravity sensor includes:
converting the level signal into a digital signal, and determining the steering of the control terminal according to the digital quantity range of the digital signal; and/or the number of the groups of groups,
the detection data of the gyroscope sensor is three-axis data of the gyroscope, and the obtaining the rotating speed of the control terminal according to the detection data of the gyroscope sensor comprises the following steps:
and converting the triaxial data into radian data, and determining the rotating speed of the control terminal according to the radian data and the data transmission period.
In one embodiment, adjusting the water temperature and bath pattern of the water heater based on the turn direction and the rotational speed includes:
when the adjusting mode is a water temperature adjusting mode, adjusting the increase and decrease of the water temperature according to steering and adjusting the variation of the water temperature according to the rotating speed;
when the regulating mode is a bathing mode regulating mode, the current mode of the bathing mode is regulated according to the steering direction and the regulating speed of the bathing mode is regulated according to the rotating speed.
In one embodiment, the gravity sensor and the gyro sensor are zeroed when the first flag bit becomes the second flag bit.
The control terminal can automatically zero, so that the zero setting steps of a gravity sensor and a gyroscope sensor are reduced for a user, and the adjustment process is more convenient.
In one embodiment, the water heater has a second display device; and when the adsorption zone bit is the second zone bit, performing screen quenching treatment on the second display device.
When the water heater receives a charging signal, namely when the adsorption zone bit is a second zone bit, the second display is controlled to be turned off, and electric energy is saved.
The second technical problem is solved by the following technical scheme:
a control terminal comprising a memory and a processor, and a gravity sensor and a gyro sensor connected to the processor, the memory storing a computer program, the processor implementing the water heater control method of any one of the embodiments provided above when executing the computer program.
The third technical problem is solved by the following technical scheme:
the water heater system comprises a water heater and the control terminal provided by any one of the embodiments, wherein the water heater is in wireless communication connection with the control terminal.
Drawings
FIG. 1 is a schematic view of a water heater control method according to the present application;
FIG. 2 is a flow chart of a method of controlling a water heater according to one embodiment;
FIG. 3 is a block diagram of a water heater system according to one embodiment;
FIG. 4 is a block diagram of a water heater system according to another embodiment;
FIG. 5 is a block diagram of a water heater system with wireless charging in one embodiment;
FIG. 6 is an exploded schematic view of a water heater system in one embodiment.
Reference numerals:
100. control terminal, 121, gravity sensor, 122, gyro sensor, 130, first controller, 150, wireless charging module, 151, receiving coil, 152, charging management unit, 153, power supply, 160, first wireless communication module, 190, first display device, 200, wireless charging base, 220, control module, 230, transmitting coil, 300, water heater, 310, second wireless communication module, 320, second controller, 330, shell, 340, power supply module, 350, recess.
Detailed Description
In order that the application may be readily understood, a more complete description of the application will be rendered by reference to the appended drawings. Embodiments of the application are illustrated in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Referring to fig. 1, the water heater control method of the present application is applied to a control terminal to control a water heater, where the control terminal 100 is rotatably adsorbed on the water heater, specifically, a groove adapted to the control terminal 100 is provided on a housing of the water heater, and when the control terminal 100 is adsorbed on the water heater, the control terminal is located in a concave portion of the groove, or the control terminal is detachably inlaid on the housing of the water heater, and the control terminal is rotatably inlaid on the housing of the water heater.
In one embodiment, referring to fig. 2 and 3, there is provided a water heater control method, the control terminal 100 includes a housing, and a gravity sensor 121 and a gyro sensor 122 disposed in the housing; the control method comprises the following steps:
s100, when the control terminal 100 is detected to be adsorbed on the water heater 300, acquiring detection data of the gravity sensor 121 and detection data of the gyroscope sensor 122;
s200, obtaining the steering of the control terminal 100 according to the detection data of the gravity sensor 121;
s300, obtaining the rotating speed of the control terminal 100 according to the detection data of the gyroscope sensor 122;
and S400, controlling the water heater 300 according to the steering and the rotating speed.
Specifically, referring to fig. 3, a first controller 130 is disposed in the control terminal 100, the gravity sensor 121 and the gyro sensor 122 are both connected to the first controller 130, a second controller 320 is disposed in the water heater 300, and the first controller 130 is communicatively connected to the second controller 320. The water heater control method may be performed by the first controller 130, or may be performed by the second controller 320, or the first controller 130 and the second controller 320 together perform the steps of the water heater control method. The gravity sensor 121 may be also referred to as an acceleration sensor, and determines the movement of the object by using a linear acceleration force, but it is difficult for the gravity sensor 121 to accurately determine the rotation angle, and thus the gyro sensor 122 is used to detect the rotation angular velocity of the object. When the control terminal 100 is adsorbed on the water heater 300, after rotating a certain angle in a certain direction, the execution main body (the first controller 130 or the second controller 320) obtains the detection data of the gravity sensor 121 and the gyroscope sensor 122, processes the detection data of the gravity sensor 121 to obtain the steering direction of the control terminal 100, processes the detection data of the gyroscope sensor 122 to obtain the rotating speed of the control terminal 100, thereby realizing the adjustment of different directions and amplitudes of the control terminal 100, and controlling different functions of the water heater according to the adjustment of different directions and amplitudes of the control terminal 100, such as the bath mode, the water outlet temperature, the heating temperature, the water outlet flow rate and the like of the water heater.
In the above embodiment, when the control terminal 100 is adsorbed on the water heater 300 and rotates, the steering and the rotation speed of the control terminal 100 can be detected, so that the water heater 300 can be controlled according to the steering and the rotation speed, the control mode of the water heater 300 is increased, the diversified control of the water heater 300 is realized, when the key on the control terminal 100 fails, the water heater 300 can be controlled by adopting the mode of the rotation control terminal 100, the water heater 300 can be controlled by rotating the control terminal 100 after the key on the control terminal 100 or the water heater 300 fails, and the false triggering problem caused by shaking or other factors in the use process of the control terminal 100 can be prevented, and meanwhile, the control precision of the water heater 300 is improved.
In one embodiment, the first controller 130 of the control terminal 100 directly processes the detection data of the gravity sensor 121 and the gyroscope sensor 122 to obtain steering and rotating speed, and generates a control signal according to the steering and rotating speed, and the first controller 130 sends the control signal to the water heater 300, and the water heater 300 adjusts the corresponding function according to the control signal. In one embodiment, after the first controller 130 obtains the detection data of the gravity sensor 121 and the gyro sensor 122, the detection data are sent to the water heater 300, and the water heater 300 processes the detection data to obtain the steering and the rotating speed and generates a control signal, and adjusts the corresponding functions according to the control signal. In one embodiment, the water heater 300 directly acquires the detection data of the gravity sensor 121 and the gyroscope sensor 122, processes the detection data to obtain the steering and the rotating speed, forms a control signal, and adjusts the corresponding functions according to the control signal.
In one embodiment, before acquiring the detection data of the gravity sensor 121 and the detection data of the gyro sensor 122, further includes:
a1, determining the adsorption action times of the control terminal 100 on the water heater 300 according to the adsorption identification position;
a2, determining the regulation mode of the water heater 300 according to the adsorption action times in the preset time.
Specifically, since the water heater has a plurality of different functional modes, it is necessary to determine the current adjustment mode of the water heater 300, such as a bath mode, a water outlet temperature, a heating temperature and a water outlet flow rate, before the water heater 300 is rotationally controlled, so that the water heater 300 can be controlled according to the modes. The control signal may be generated after the first controller 130 of the control terminal 100 determines the adjustment mode of the water heater 300, and the adjustment mode of the water heater 300 may be directly switched by the control signal, or the first controller 130 may send the adsorption flag bit to the water heater 300, and the water heater 300 controls the switching of the adjustment mode according to the adsorption flag bit. The adsorption flag bit characterizes whether the control terminal 100 is adsorbed on the water heater 300. The adsorption operation refers to a change from an unadsorbed state to an adsorbed state on the water heater 300 by the control terminal 100, and the number of adsorption operations refers to a change from an unadsorbed state to an adsorbed state, and the adjustment mode of the water heater 300 is determined according to the change from the unadsorbed state to the adsorbed state. For example, the adjusting modes of the water heater 300 are a first adjusting mode, a second adjusting mode and a third adjusting mode in sequence, and when the first adsorption action occurs, the first adjusting mode is entered; after entering the first regulation mode, when the second adsorption action occurs, entering the second regulation mode (the interval between the first adsorption action and the second adsorption action does not exceed the preset time); after entering the second regulation mode, when the third adsorption action occurs, entering the third regulation mode (the interval between the first adsorption action and the third adsorption action does not exceed the preset time). If the interval between the last adsorption action and the first adsorption action exceeds the preset time, the first regulation mode is entered, which is equivalent to the first adsorption action regulated by the second round mode.
In one embodiment, the control terminal 100 establishes a wireless connection with the water heater 300 prior to use of the control terminal. Referring to fig. 4 and 6, the control terminal 100 further includes a first wireless communication module 160, where the first wireless communication module 160 is connected to the first controller 130; the water heater 300 is provided with a second wireless communication module 310, and the first wireless communication module 160 is connected with the second wireless communication module 310 through wireless communication. After the wireless connection is established, the control terminal 100 transmits an adsorption flag bit to the water heater 300. The water heater 300 controls switching of the adjustment mode according to the adsorption flag bit.
In one embodiment, referring to fig. 5, a first display device 190 is provided on the control terminal 100, where the first display device 190 includes a display driving module and a display screen connected to the display driving module. In the process of adjusting mode selection, the names of the adjusting modules are correspondingly displayed on the display screen of the first display device 190, so that the user can know the current adjusting mode type. For example, after the rotary controller is adsorbed, the display screen displays a WATER temperature adjusting MODE (independently displays a WATER character), and after the rotary controller is extracted and adsorbed, the display screen displays a bath MODE adjusting MODE (independently displays a MODE character).
In one embodiment, the adsorption flag bit includes a first flag bit indicating that the control terminal 100 is not adsorbed on the water heater 300 and a second flag bit indicating that the control terminal 100 is adsorbed on the water heater 300; the step A1 comprises the following steps: the number of times the adsorption flag bit is changed from the first flag bit to the second flag bit is used as the number of times the control terminal 100 adsorbs on the water heater 300.
Specifically, when the control terminal 100 transmits a first flag bit to the water heater 300, the water heater 300 knows that the control terminal 100 is not adsorbed thereon through the first flag bit, and when the control terminal 100 transmits a second flag bit to the water heater 300, the water heater 300 knows that the control terminal 100 is adsorbed thereon through the second flag bit. When the adsorption flag bit transmitted from the control terminal 100 to the water heater 300 is changed from the first flag bit to the second flag bit, it is indicated that the control terminal 100 is changed from the non-adsorbed state to the adsorbed state, and the water heater 300 may switch the current adjustment mode according to the number of the changes within a preset time.
In one embodiment, referring to fig. 5 and 6, the control terminal 100 further includes a wireless charging module 150 disposed in the control terminal 100, and a wireless charging base 200 corresponding to the wireless charging module 150 is disposed in the water heater 300; when a charging signal of the wireless charging module 150 is received, it is determined that the first flag bit becomes the second flag bit.
Specifically, when the control terminal 100 is adsorbed on the wireless charging base 200 on the housing 330 of the water heater 300, wireless charging can be performed, and the cruising ability of the control terminal 100 is improved, so that the control terminal 100 does not need to be charged or a battery is added, and the use is more convenient. Meanwhile, when the control terminal 100 is adsorbed on the wireless charging base 200, the wireless charging module 150 periodically generates a charging signal during the wireless charging period, and after the control terminal 100 receives the charging signal, the control terminal 100 changes the sent adsorption flag bit from the first flag bit to the second flag bit, so that the water heater 300 is informed of the adsorption condition, and the water heater 300 correspondingly switches the adjustment mode.
In one embodiment, the wireless charging module 150 includes a receiving coil 151, a charging management unit 152 and a power supply 153, the charging management unit 152 is connected with the receiving coil 151 and the power supply 153, a transmitting coil 230 and a control module 220 are disposed in the wireless charging base 200 of the water heater 300, the control module 220 is connected with a power module 340 of the water heater 300, and the control module 220 is configured to receive electric energy input by the power module 340, and to provide ac power for the transmitting coil 230 after processing the electric energy. The transmitting coil 230 is coupled with the receiving coil 151 after being electrified with alternating current, the receiving coil 151 generates electric energy through electromagnetic induction, the charging management module manages the electric energy generated by the receiving coil 151 and stores the electric energy into the power supply 153, the charging management module generates a charging signal after receiving the electric energy, the charging signal is sent to the first controller 130 of the control terminal 100, and the first controller 130 knows that the control terminal 100 is being charged, and also knows that the control terminal 100 is being adsorbed on the wireless charging base 200.
In one embodiment, the detection data of the gravity meter sensor is a level signal, and step S200 specifically includes: and converting the level signal into a digital signal, and determining the steering of the control terminal according to the digital quantity range of the digital signal.
Specifically, when the control terminal 100 rotates in a certain direction, the crystal inside the gravity sensor 121 is deformed, so that the output level is changed, and a level signal changing in an amplitude range is output, and the level signal is converted into a corresponding digital signal, for example: the AD value changes between 0 and 110, and turns to left, and the AD value changes between 110 and 255, and turns to right.
In one embodiment, the detection data of the gyro sensor 122 is gyro triaxial data, and step S300 specifically includes: and converting the triaxial data into radian data, and determining the rotating speed of the control terminal according to the radian data and the data transmission period.
Specifically, when the control terminal 100 rotates, the gyroscope sensor 122 detects three-axis coordinate data of the object, the data is in units of angles, the three-axis coordinate data is correspondingly converted into radian data, and then the angle is calculated according to a data transmission period in a data protocol of the sensor unit to obtain the speed. For example: setting initial triaxial data to (0, 0), representing xyz axis data, the data protocol being that the gyro sensor 122 transmits data to the first controller 130 of the control terminal 100 once every 200 ms; rotating to the left, the first 200ms time point gyro sensor 122 transmits the three-axis data (0, 10, 10), and the second 200ms time point gyro sensor 122 transmits the three-axis data (0, 6, 14), so that the x 'axis data is unchanged because the control terminal 100 changes around the x' axis. In the yz (transverse vertical) plane, the yz axis coordinate data is changed from (10, 10) to (6, 14), the angle value of the corresponding mathematical model is changed from 45 degrees to 60 degrees, the angle is changed by 15 degrees delta d, the change radian r=delta d x pi/180, and the difference between the first data and the second data is 200ms, and the time is singleBit data protocol transmission time t, then the rotation speed s is the radian variation in unit data protocol transmission time, i.eThe rotation speed is in radians per second (rad/s).
In one embodiment, the conditioning modes include a water temperature conditioning mode and a bathing mode conditioning mode; the step S400 specifically includes: when the adjusting mode is a water temperature adjusting mode, adjusting the increase and decrease of the water temperature according to steering and adjusting the variation of the water temperature according to the rotating speed; when the regulating mode is a bathing mode regulating mode, the current mode of the bathing mode is regulated according to the steering direction and the regulating speed of the bathing mode is regulated according to the rotating speed.
Specifically, since the rotation adjustment mode can control multiple functions, the adjustment mode needs to be switched before use, and the control terminal 100 needs to determine the current adjustment mode to adjust the corresponding functions of the water heater 300. In this embodiment, the water temperature and the bath mode are mainly adjusted, when the adjustment mode is the water temperature adjustment mode, the steering of the control terminal 100 is the first steering and the second steering according to the increase or decrease of the steering control water temperature, when the steering is the first steering, the water temperature is increased, when the steering is the second steering, the water temperature is decreased, and the first steering and the second steering can be determined according to the need, for example, the first steering is the clockwise steering, and the second steering is the anticlockwise steering. The change amount of the water temperature is determined according to the rotation speed, the rotation speed of the control terminal 100 is a first rotation speed and a second rotation speed, the first rotation speed is smaller than the second rotation speed, when the rotation speed of the control terminal 100 is the first rotation speed, the corresponding change amount of the water temperature is a first change amount, when the rotation speed of the control terminal 100 is the second rotation speed, the corresponding change amount of the water temperature is a second change amount, the correlation between the rotation speed and the change amount can be set according to the requirement, if the first change amount is smaller than the second change amount, the smaller the rotation speed is, the smaller the water temperature change amount is (for example, if the rotation speed is smaller, the change amount of the water temperature is judged to be 1 degree, and if the rotation speed is larger, the change amount of the water temperature is judged to be 3 degrees); or the first variation is larger than the second variation, the smaller the rotation speed is, the larger the water temperature variation is. When the adjustment mode is the bath mode adjustment mode, the front part mode or the rear part mode of the current bath mode is switched according to the steering control, the steering of the control terminal 100 is set to the first steering and the second steering, the bath mode is set to the first bath mode and the second bath mode in the order from front to rear, when the steering is the first steering, the first bath mode is switched, when the steering is the second steering, the second bath mode is switched, the first steering and the second steering can be determined according to the need, if the first steering is the clockwise steering is the backward switching to the second bath mode, and the second steering is the anticlockwise steering is the forward switching to the first bath mode. The rotational speed of the control terminal 100 is a first rotational speed and a second rotational speed according to the span of the rotational speed adjustment bath mode. After the second regulation mode, when the control terminal 100 rotates in the same direction (e.g. clockwise), when the control terminal 100 rotates at a first rotation speed, the corresponding bathing mode is switched to the second bathing mode, when the control terminal 100 rotates at the second rotation speed, the corresponding regulation mode skips the second bathing mode and is switched to the third bathing mode, the relation between the first rotation speed and the second rotation speed can be set according to the requirement, the relation between the rotation speed and the mode switching amplitude is determined, for example, when the rotation speed is smaller, the bathing mode is regulated to the next bathing mode, and when the rotation speed is larger, the bathing mode is regulated to the next two bathing modes; or when the rotating speed is smaller, the bathing mode is adjusted to the next two bathing modes, and when the rotating speed is larger, the bathing mode is adjusted to the next bathing mode. And the relation between the specific rotation speed and the span can be set according to the needs.
In one embodiment, after determining the adjustment mode of water heater 300, gravity sensor 121 and gyro sensor 122 are zeroed.
Specifically, the control terminal 100 can perform zero setting according to whether the control terminal is adsorbed on the water heater 300 or not on the gravity sensor 121 and the gyro sensor 122, and since the control terminal 100 is separated from the water heater 300 and then adsorbed, the rotation position is inevitably changed, each adsorption needs to be automatically zeroed, so that the accuracy of rotation control is ensured.
In one embodiment, the water heater 300 has a second display device; and when the adsorption zone bit is the second zone bit, performing screen quenching treatment on the second display device.
Specifically, the second display device is a display device disposed on the water heater 300, some water heaters may have display devices thereon, after the control terminal 100 obtains a charging signal, the adsorption flag bit is changed into a second flag bit, in one embodiment, after the control terminal 100 receives the charging signal, it knows that the control terminal is adsorbed on the water heater 300, and can directly generate a screen-off control signal according to the charging signal, the screen-off control signal controls the second display device to perform screen-off, when the control terminal 100 is separated from the water heater 300, the charging signal disappears, the control terminal 100 knows that the control terminal has left the water heater 300, and controls the second display device to restart the display. In another embodiment, after the water heater 300 receives the second flag bit sent by the control terminal 100, it knows that the control terminal 100 is adsorbed on the second flag bit, and performs the screen-off process on the second display device. When the control terminal 100 is separated from the water heater 300, the adsorption flag bit becomes a first flag bit, and after the water heater 300 receives the first flag bit, the control terminal 100 is known to be away, and the second display device is controlled to restart the display. After the screen quenching process, the adjustment condition of the water heater function can be checked through a display screen on the control terminal 100, so that the electric quantity is saved.
In one embodiment, the control terminal 100 has a control key for controlling the water heater 300, where the control key may be a physical key or a touch key. When the adsorption flag bit is the second flag bit, whether the key function of the control terminal 100 is normal is judged, if not, the water heater can be directly controlled through the control terminal 100, and if not, the control key of the control terminal 100 is shielded, so that the false touch or the false pressing of the control key can be avoided.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in fig. 2 may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily sequential, but may be performed in rotation or alternatively with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, a control terminal is provided, including a memory and a processor, and a gravity sensor and a gyro sensor connected to the processor, where the memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
In one embodiment, referring to fig. 2 to 5, a water heater system is provided, including a water heater 300, and the control terminal 100 of any one of the embodiments provided above, where the water heater 300 is connected to the control terminal 100 in wireless communication.
Specifically, the water heater 300 may be any type of water heater, and the embodiment is not limited thereto, and may be, for example, a gas water heater or an electric water heater. The control terminal 100 is used for controlling various functions of the water heater 300, such as a bath mode, a water outlet temperature, a heating temperature, a water outlet flow rate, etc. of the water heater. The control terminal 100 is in wireless communication connection with the water heater 300, and the control terminal and the water heater are mutually signaled in a wireless communication mode to realize the control of the control terminal on the water heater. The wireless communication connection may be a bluetooth connection, a Wifi connection, or an NFC connection.
In the above embodiment, the control terminal 100 is adsorbed on the water heater 300 by the adsorption of the magnetic component, so that the control terminal 100 is prevented from falling off the water heater during use. When the control terminal 100 is adsorbed on the water heater 300 and rotated, the gravity sensor 121 and the gyro sensor 122 detect the motion state of the control terminal 100, generate detection data, and transmit the detection data to the first controller 130, the first controller 130 processes the detection data of the gravity sensor 121 to obtain the steering direction of the control terminal 100, processes the detection data of the gyro sensor 122 to obtain the rotation speed of the control terminal 100, and the water heater 300 can process the steering direction and the rotation speed determined by the first controller 130 and perform control operation according to the processing result. In another embodiment, the first controller 130 generates a control signal corresponding to the current function of the water heater 300 according to the steering and the rotation speed, and the water heater 300 directly performs a corresponding operation according to the control signal, so that the first controller 130 can control the water heater 300 to operate, the control mode of the water heater 300 is increased, diversified control of the water heater 300 is realized, meanwhile, when the keys on the control terminal 100 fail, the water heater 300 can be controlled by adopting the mode of rotating the control terminal 100, the problem that the water heater 300 cannot be controlled due to the problem of key failure is avoided, and false touch of the keys can be prevented.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. The water heater control method is characterized by being applied to a control terminal for controlling the water heater, wherein the control terminal comprises a gravity sensor and a gyroscope sensor which are arranged in a shell; the control method comprises the following steps:
determining an adjusting mode of the water heater according to the adsorption action times of the control terminal on the water heater in a preset time;
when the control terminal is detected to be adsorbed on the water heater, acquiring detection data of the gravity sensor and detection data of the gyroscope sensor;
obtaining the steering of the control terminal according to the detection data of the gravity sensor;
obtaining the rotating speed of the control terminal according to the detection data of the gyroscope sensor;
and controlling the water heater according to the steering and the rotating speed based on the adjusting mode of the water heater.
2. The water heater control method according to claim 1, characterized by further comprising, before acquiring the detection data of the gravity sensor and the detection data of the gyro sensor:
and determining the adsorption action times of the control terminal on the water heater according to the change condition of the adsorption zone bit.
3. The water heater control method of claim 2, wherein the adsorption flag bit comprises a first flag bit and a second flag bit, the first flag bit indicating that the control terminal is not adsorbed on the water heater, the second flag bit indicating that the control terminal is adsorbed on the water heater; the determining the adsorption action times of the control terminal on the water heater according to the adsorption identification position comprises the following steps:
and taking the times of changing the first zone bit into the second zone bit as the adsorption action times of the control terminal on the water heater.
4. The water heater control method according to claim 3, wherein the control terminal further comprises a wireless charging module arranged in the control terminal, and a wireless charging base corresponding to the wireless charging module is arranged in the water heater;
when a charging signal of the wireless charging module is received, the first flag bit is changed into a second flag bit to determine that the control terminal is detected to be adsorbed on the water heater.
5. The water heater control method according to claim 1, wherein the detection data of the gravity sensor is a level signal; the obtaining the steering of the control terminal according to the detection data of the gravity sensor comprises the following steps:
converting the level signal into a digital signal, and determining the steering of the control terminal according to the digital quantity range of the digital signal; and/or the number of the groups of groups,
the detection data of the gyroscope sensor are triaxial data; the obtaining the rotation speed of the control terminal according to the detection data of the gyroscope sensor comprises the following steps:
and converting the triaxial data into radian data, and determining the rotating speed of the control terminal according to the radian data and the data transmission period.
6. The water heater control method according to claim 1, wherein the regulation mode includes a water temperature regulation mode and a bath mode regulation mode; the control of the water heater according to the steering and the rotating speed based on the regulation mode of the water heater comprises the following steps:
when the regulation mode is a water temperature regulation mode, regulating the increase and decrease of the water temperature according to the steering and regulating the variation of the water temperature according to the rotating speed;
when the regulating mode is a bathing mode regulating mode, the current mode of the bathing mode is regulated according to the steering direction, and the regulating speed of the bathing mode is regulated according to the rotating speed.
7. A water heater control method as claimed in claim 3, wherein the control method further comprises: and when the first zone bit is changed into the second zone bit, zeroing the gravity sensor and the gyroscope sensor.
8. A water heater control method as claimed in claim 3, wherein the water heater has a second display device; and when the adsorption zone bit is the second zone bit, performing screen quenching treatment on the second display device.
9. A control terminal comprising a memory, a processor, and a gravity sensor and a gyro sensor connected to the processor, the memory storing a computer program, the processor implementing the steps of the method according to any one of claims 1 to 8 when executing the computer program.
10. A water heater system comprising a water heater and the control terminal of claim 9, the water heater being in wireless communication with the control terminal.
CN202111149595.3A 2021-09-29 2021-09-29 Water heater control method, control terminal and water heater system Active CN113776200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111149595.3A CN113776200B (en) 2021-09-29 2021-09-29 Water heater control method, control terminal and water heater system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111149595.3A CN113776200B (en) 2021-09-29 2021-09-29 Water heater control method, control terminal and water heater system

Publications (2)

Publication Number Publication Date
CN113776200A CN113776200A (en) 2021-12-10
CN113776200B true CN113776200B (en) 2023-12-08

Family

ID=78854322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111149595.3A Active CN113776200B (en) 2021-09-29 2021-09-29 Water heater control method, control terminal and water heater system

Country Status (1)

Country Link
CN (1) CN113776200B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1082178A (en) * 1992-08-09 1994-02-16 胡琳 Gas heater water temperature remote control machine
JP2005070844A (en) * 2003-08-26 2005-03-17 Fuji Koki Corp Temperature setting display device
CN1661907A (en) * 2004-02-23 2005-08-31 鸿富锦精密工业(深圳)有限公司 Single trunbutton controlled system of sound volume and method
CN105407561A (en) * 2014-09-04 2016-03-16 三星电子株式会社 Induction Device And Temperature Adjustment Method
CN205448334U (en) * 2016-03-04 2016-08-10 保音股份有限公司 Force exhaust water heater with control function is arranged to segmentation fire
CN106529141A (en) * 2016-10-26 2017-03-22 天津怡和嘉业医疗科技有限公司 Parameter adjusting method and apparatus
CN209165759U (en) * 2018-11-05 2019-07-26 河北凯德采暖设备有限公司 A kind of wall-hung boiler
CN211316586U (en) * 2019-12-10 2020-08-21 广东万家乐燃气具有限公司 Magnetism knob subassembly and water heater

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1082178A (en) * 1992-08-09 1994-02-16 胡琳 Gas heater water temperature remote control machine
JP2005070844A (en) * 2003-08-26 2005-03-17 Fuji Koki Corp Temperature setting display device
CN1661907A (en) * 2004-02-23 2005-08-31 鸿富锦精密工业(深圳)有限公司 Single trunbutton controlled system of sound volume and method
CN105407561A (en) * 2014-09-04 2016-03-16 三星电子株式会社 Induction Device And Temperature Adjustment Method
CN205448334U (en) * 2016-03-04 2016-08-10 保音股份有限公司 Force exhaust water heater with control function is arranged to segmentation fire
CN106529141A (en) * 2016-10-26 2017-03-22 天津怡和嘉业医疗科技有限公司 Parameter adjusting method and apparatus
CN209165759U (en) * 2018-11-05 2019-07-26 河北凯德采暖设备有限公司 A kind of wall-hung boiler
CN211316586U (en) * 2019-12-10 2020-08-21 广东万家乐燃气具有限公司 Magnetism knob subassembly and water heater

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘洪林等.重力传感器系统方案的实现原理.《MTK原理及物联网应用》.2012,第218-222页. *
邵欣等.机器人平衡姿态的检测.《机器视觉与传感器技术》.北京航空航天大学出版社,,2017,第77-80页. *

Also Published As

Publication number Publication date
CN113776200A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
TWI483192B (en) Mobile electronic devices and method for modifying characteristics or implementing a power management scheme
EP2830298B1 (en) Methods and apparatuses for gesture based remote control
EP2917958B1 (en) Battery with computing, sensing and communication capabilities
JP6362768B2 (en) Terminal device
JP7022920B2 (en) Battery storage device control method, program, and storage battery storage device
US8301207B2 (en) Separable mobile terminal and method of operation
CN106959377B (en) Electronic device and angular velocity acquisition method thereof
KR20190130750A (en) Electronic device and method for transmitting information to external device for adjusting wireless power to be transmitted from external device based on proximity of external object
US10769876B2 (en) Vehicular electronic key system and method of controlling electronic key
US9590430B2 (en) Terminal device, control device, charge and discharge control system, charge and discharge control adjustment method, charge and discharge control method, and program thereof
US20180367329A1 (en) Internet-of-things system for recognizing user behavior and controlling things
CN109661802A (en) Share the environmental data used for client device
KR20190016294A (en) Electronic device and method for processing information associated with driving
WO2015047351A1 (en) Displaying use time remaining on fast charge devices
CN109324518A (en) Housed device control method, device, equipment and storage medium
CN113776200B (en) Water heater control method, control terminal and water heater system
EP3528531B1 (en) Transmission signal strength adaptation of a bluetooth connection between two communication apparatuses based on a non-continuous change of communication state
CN112368519B (en) Controller and air conditioning system
JP2020184708A (en) Control server, vehicle and remote control system
CN114636226A (en) Method and device for controlling air conditioner, air conditioner and storage medium
KR20210022387A (en) Hole location updating device and operating method of hole location updating device
KR20210128118A (en) Electronic device for reducing power consumption associated with distance measurement and operating method thereof
KR20120080080A (en) Control method for air conditioning apparatus
US20200162872A1 (en) Terminal device, method of controlling terminal device, and program
WO2020039357A1 (en) Pairing and eye polarity determination method and system

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
GR01 Patent grant
GR01 Patent grant