CN118340434A - Detection device and method for cooking machine, cooking machine and control method - Google Patents

Detection device and method for cooking machine, cooking machine and control method Download PDF

Info

Publication number
CN118340434A
CN118340434A CN202410639099.3A CN202410639099A CN118340434A CN 118340434 A CN118340434 A CN 118340434A CN 202410639099 A CN202410639099 A CN 202410639099A CN 118340434 A CN118340434 A CN 118340434A
Authority
CN
China
Prior art keywords
switch
state
pot body
turned
driving motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410639099.3A
Other languages
Chinese (zh)
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.)
Loctek Ergonomic Technology Co Ltd
Original Assignee
Loctek Ergonomic 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 Loctek Ergonomic Technology Co Ltd filed Critical Loctek Ergonomic Technology Co Ltd
Priority to CN202410639099.3A priority Critical patent/CN118340434A/en
Publication of CN118340434A publication Critical patent/CN118340434A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cookers (AREA)

Abstract

The invention provides a detection device and method for a cooking machine, the cooking machine and a control method, the cooking machine comprises a frame and a pot body, the pot body is arranged on the frame, and the detection device comprises: a position sensor provided with a third contact pin and a first contact pin; the main control board is provided with a COM4 port and a COM1 port, a third switch formed by COM4 and a third contact pin and a first switch formed by COM1 and a first contact pin are connected in series to the main control loop, wherein the on-off state of the main control loop is controlled by the on-off state of the third switch and the first switch, and the first gesture position of the pot body is determined according to the on-off state; wherein when the third contact pin is in contact with COM4, the third switch is turned on, and vice versa; when the third switch and the first switch are connected, the on-off state is a conducting state; when the third switch and/or the first switch are/is turned off, the on-off state is an off state. The invention solves the technical problems of time and labor waste in the prior art that the Hall value of the initial position needs to be manually calibrated.

Description

Detection device and method for cooking machine, cooking machine and control method
Technical Field
The invention relates to the technical field of automatic control, in particular to a detection device for a cooking machine, a detection method for the cooking machine, the cooking machine and a control method for the cooking machine.
Background
An automatic cooker is intelligent cooking equipment. When cooking with an automatic cooker, the cooking appliance (e.g., pot) and the stirring assembly need to be adjusted to the respective positions according to different cooking operations. Most of existing methods for searching an initial position of a pot body utilize motor Hall sensors to count, factory calibrate Hall values of the initial position, power-on and start-up are operated to a designated position, manual calibration is needed, time and labor are wasted, and the method cannot be used universally when different pot bodies are replaced.
Disclosure of Invention
The invention solves the technical problems of time and labor waste in the prior art that the Hall value of the initial position needs to be manually calibrated.
In order to solve the above problems, the present invention provides a detection device for a cooking machine, the cooking machine including a frame and a pan body, the pan body being mounted to the frame, the detection device comprising: a position sensor provided with a third contact pin and a first contact pin; the main control board is provided with a COM4 port and a COM1 port, the COM4 port and a third contact pin form a third switch, the COM1 port and the first contact pin form a first switch, the third switch and the first switch are connected in series to the main control loop, the on-off state of the main control loop is controlled through the on-off state of the third switch and the first switch, and the first gesture position of the pot body is determined according to the on-off state; when the third contact pin is in contact with the COM4 port, the third switch is turned on, and otherwise, the third switch is turned off; when the first contact pin is in contact with the COM1 port, the first switch is turned on, and conversely, the first switch is turned off; when the third switch and the first switch are connected, the on-off state is a conducting state; when the third switch and/or the first switch are/is turned off, the on-off state is an off state.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: because most of the existing methods for searching the initial position of the pot body utilize motor Hall sensors to count, factory calibrate the Hall value of the initial position, power-on and power-on are operated to the appointed position, the method requires manual calibration, is time-consuming and labor-consuming, and cannot be commonly used when different pot bodies are replaced. The application provides a detection device for a cooking machine, which can automatically detect the first posture position of a pan body, does not need manual detection, saves time and labor and can improve the detection accuracy. The detection device comprises a position sensor and a main control board, wherein the position sensor is provided with a third contact pin and a first contact pin, the main control board is provided with a COM4 port and a COM1 port, the COM4 port and the third contact pin form a third switch, and the COM1 port and the first contact pin form a first switch; the on state of the third switch is judged by whether the third contact pin is in contact with the COM4 port or not, and the on state of the first switch is judged by whether the first contact pin is in contact with the COM1 port or not. The third switch and the first switch are connected in series on the main control loop, the main control loop is arranged on the main control board, and the on-off state of the main control loop can be controlled through the on-state of the third switch and the first switch: only when the third switch and the first switch are both on, the on-off state of the main control loop is a conducting state; when only one of the third switch and the first switch is on, the on-off state of the main control loop is off. Determining a first posture position of the pot body according to the on-off state: when the on-off state is the on state, the main control loop can output a signal (the signal is a first signal) to the main control board, and the main control board judges that the current pot body is at a first position through the received first signal, and the first gesture position is the first position; when the on-off state is the off state, the main control loop cannot output signals to the main control board, and the current pot body is judged to be at the target position, and the first gesture position is the target position.
In one example of the invention, a second stylus is also provided on the position sensor; the main control board is also provided with a COM2 port, the COM2 port and the second contact pin form a second switch, the second switch is connected with the first switch in parallel, the second switch and the first switch are not simultaneously connected, and the on-off state of the main control loop is controlled through the on-state of the third switch, the first switch and the second switch; when the second contact pin is in contact with the COM2 port, the second switch is turned on, and conversely, the second switch is turned off; when the third switch is turned on, the on-off state is a conducting state when the second switch or the first switch is turned on; when the third switch is turned off, the on-off state is an off state.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: the second contact pin is preferably connected to the main control loop by forming a second switch with a COM2 port on the main control board, and the second switch is connected in parallel with the first switch and is connected in series with the third switch, so that the second switch and the first switch are not simultaneously turned on in order to avoid short circuit of the main control loop, and the on-off state of the main control loop can be controlled according to the on states of the third switch, the first switch and the second switch on the main control loop: under the condition that the third switch is turned off, the on-off state of the main control loop is the off state no matter the on states of the first switch and the second switch; under the condition that the third switch is turned on, judging the on-off state of the main control loop according to the on-state of the first switch and the second switch: when the first switch or the second switch is switched on, the on-off state of the main control loop is a conducting state; when the first switch and the second switch are both cut off, the on-off state of the main control loop is an off state. Determining a first posture position of the pot body according to the on-off state: when the on-off state is the off state, the main control loop cannot output signals to the main control board, and the current pot body is judged to be at the target position, and the first gesture position is the target position; when the on-off state is the on state, determining a first posture position of the pot body according to the on states of the first switch and the second switch: when the first switch is turned on, the main control loop can output a signal (the signal is a first signal) to the main control board, and the main control board judges that the current pot body is at a first position through the received first signal, and the first gesture position is the first position; when the second switch is turned on, the main control loop can output signals (the signals are second signals) to the main control board, the main control board judges that the current pot body is at the second position through the received second signals, and the first gesture position is the second position.
In still another aspect, the present invention further provides a detection method for a cooking machine, which is applied to the detection device in the first embodiment, and the detection method includes: acquiring first information; judging the on-off state of the main control loop according to the first information; judging a first posture position of the pot body according to the on-off state and the first information; wherein the first information includes: the on state of the first switch, the on state of the second switch, and the on state of the third switch.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: in order to make the searching process of the first posture position of the pot body more convenient and accurate, the first posture position of the pot body can be obtained through the on-off state of the main control loop and the first information, whether the pot body is at the target position is judged according to the first posture position, the initial position of the pot body is not required to be manually calibrated, the first posture position of the pot body is automatically detected when the detection device is powered on, and time and labor are saved; meanwhile, the automatic cooker body changing device is adaptive to various cooker body models, and the changing and changing of the cooker body can not influence the detection device to search for the initial position, so that manual calibration is not needed after the cooker body is changed.
In one example of the present invention, determining a first gesture position of a pan body according to an on-off state and first information includes: judging that the first posture position is at the target position under the condition that the on-off state is the off state; and/or under the condition that the on-off state is the on-state, judging the first gesture position according to the on-state of the first switch and the on-state of the second switch; judging that the first posture position is at the first position under the condition that the first switch is on and the second switch is off; and/or under the condition that the first switch is turned off and the second switch is turned on, judging that the first gesture position is at the second position; when the third contact pin is in contact with the COM4 port, the third switch is turned on, and otherwise, the third switch is turned off; when the first contact pin is in contact with the COM1 port, the first switch is turned on, and otherwise, the first switch is turned off; when the second contact pin contacts the COM2 port, the second switch is turned on, and conversely, turned off.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: under the condition that the on-off state is the off state, the first posture position is judged to be at the target position (the target position is the initial position of the system in the application), so that the pot body does not need to enter the position searching action to carry out the subsequent steps; under the condition that the on-off state is the on-state, the first gesture position of the pot body is judged according to the on-state of the first switch and the second switch: under the condition that the first switch is turned on, judging that the first gesture position is at a first position; when the second switch is turned on, the first posture position is determined to be at the second position.
In another aspect, the present invention also provides a cooking machine, including: the rack comprises a first rack body, a second rack body and a third rack body, a first accommodating space is formed between the first rack body and the second rack body, and a second accommodating space is formed between the second rack body and the third rack body; the pot body is connected to one side, far away from the first accommodating space, of the first frame body through an output shaft; the detecting device in the first embodiment is arranged in the second accommodating space; the transmission shaft is connected with the pot body and the position sensor, and the pot body and the position sensor are driven to rotate through rotation of the transmission shaft.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: the rack comprises a first rack body, a second rack body and a third rack body, a first accommodating space is formed between the first rack body and the second rack body, and a second accommodating space is formed between the second rack body and the third rack body; the pot body is arranged on one side of the first frame body far away from the first accommodating space, so that the pot body can be conveniently detached and installed according to the selection of a user; the transmission shaft and the position sensor and the main control board in the detection device are arranged in the second accommodating space, the transmission shaft is connected to the second frame body, the main control board is arranged on the third frame body, the transmission shaft is connected with the pot body and the position sensor, and the position sensor is contacted with the main control board through three contact pins; the position sensor is arranged on a transmission shaft in the cooker, the first contact pin, the second contact pin and the third contact pin of the position sensor are connected to the transmission shaft, the three contact pins can rotate around a first axis where the transmission shaft is positioned under the drive of the transmission shaft, and in the rotating process of the transmission shaft, the first contact pin, the second contact pin and the third contact pin do circular motion on the main control board under the respective radiuses of the first contact pin, the second contact pin and the third contact pin.
In one example of the present invention, the cooker further comprises: the driving motor is mounted on the second frame body and is used for driving the transmission shaft to rotate; and the transmission assembly is connected with the driving motor and the transmission shaft.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: the driving motor is mounted on the second frame body and is arranged in the second accommodating space with the transmission shaft, the driving motor is connected with the transmission shaft, and the driving motor is used for driving the transmission shaft to rotate. The transmission assembly is arranged on the second frame body, but is arranged in the first accommodating space, and the transmission assembly, the driving motor and the transmission shaft are respectively arranged in two different accommodating spaces, so that the driving motor and the transmission shaft are prevented from being influenced. If the posture of the pot body at the initial position needs to be replaced, the main control board contacted by the contact pins is only required to be adjusted, and the two contact pins are rotated to align the required positions with the systematically disconnected positions.
In still another aspect, the present invention further provides a control method for a cooking machine, applied to the detection device in the first embodiment, where the control method includes: acquiring a first posture position of the pot body; judging whether the pot body needs to enter a position searching action according to the first gesture position; under the condition that the pot body is judged to need to enter the position to search for the action, the driving motor is controlled to operate so as to obtain a second posture position of the pot body, and the second posture position is positioned at the target position; when the second posture position is at the target position, the position finding action is exited.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: judging whether the pot body needs to enter a position searching action according to the first gesture position; when the pot body needs to enter a position searching action, controlling a driving motor to operate so as to drive a position sensor to rotate, updating first information of the position sensor in real time, acquiring a second posture position of the pot body according to the first information updated in real time, and enabling the second posture position to be at a target position, wherein the posture position of the pot body is at the target position (namely a system initial position) until the system searching initial position is finished, and finishing system initialization; in the case where the second pose position is at the target position, the position finding action may be exited.
In one example of the present invention, when it is determined that the pan body needs to enter the position searching operation, the driving motor is controlled to operate to obtain a second posture position of the pan body, so that the second posture position is located at the target position, including: under the condition that the pan body is judged to enter the position to search for the action, controlling the operation of the driving motor according to the first posture position; detecting and updating the first gesture position in real time to obtain a second gesture position until the second gesture position is at the target position; recording the mark position of the driving motor when the second gesture position is at the target position; and controlling the driving motor to run to the marking position.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: when the pot body needs to enter the position to search for action, the running direction of the driving motor is judged and controlled according to the first posture position, the movement of the pot body is driven by the movement of the driving motor (namely, the pot body moves along with the movement of the driving motor in the running process of the driving motor), the position sensor is fixed on the pot body and moves along with the movement of the pot body, so that the posture position of the pot body is changed, the first information of the position sensor is updated in real time, the second posture position of the pot body is obtained according to the position sensor updated in real time, whether the second posture position reaches the initial position of the system is judged in real time, the marked position of the driving motor is recorded when the second posture position reaches the initial position of the system when the second posture position is at the initial position of the system, and the detection device searches the initial position of the system of the pot body. After the initial system position is found, the driving motor is driven to run to the marking position according to the marking position of the driving motor, so that the posture position of the pot body is located at the target position (namely the initial system position), and the detection device finishes finding the initial system position until the initial system position is found, and the system initialization is completed.
In one example of the present invention, controlling the drive motor to operate to the marking position includes: controlling the driving motor to slow down to a complete stop; and controlling the driving motor to operate to the marking position according to the first gesture position.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: when the second posture position is recorded to be at the target position, after the marking position of the driving motor (i.e. after the initial position of the system is found), the driving motor is controlled to slowly decelerate to be completely stopped because the characteristic of the driving motor cannot immediately stop running, and after the driving motor is completely stopped, the driving motor is driven to run towards the direction of the initial position of the system and stop to the marking position, at the moment, the posture position of the pot body is at the target position (i.e. the initial position of the system), so that the system searching of the initial position of the system is finished, and the system initialization is finished.
In one example of the present invention, determining whether the pan needs to enter a position searching action according to the first gesture position includes: under the condition that the first posture position is at the target position, judging that the pot body does not need to enter the position to search for the action; and/or under the condition that the first posture position is at the first position, judging that the pot body needs to enter the position searching action; and/or under the condition that the first gesture position is at the second position, judging that the pot body needs to enter the position searching action.
Compared with the prior art, the technical effect achieved by adopting the technical scheme is as follows: when the first posture position is at the target position, the pan body is at the target position (the target position is the initial position of the system) at the moment, so that the pan body does not need to enter a position searching action to carry out subsequent steps; when the first posture position is at the first position (the first position is the positive position of the system) or the second position (the second position is the negative position of the system), the pot body is not at the initial position of the system, so that the pot body needs to enter the position searching action.
After the technical scheme of the invention is adopted, the following technical effects can be achieved:
(1) The first gesture position of the pot body can be automatically detected, particularly, the first gesture position of the pot body is judged through the connection state of the third switch and the first switch, manual detection is not needed, time and labor are saved, and the detection accuracy can be improved;
(2) The second contact pin is preferably used for forming a second switch with a COM2 port on the main control board, and the on-off state of the main control circuit is controlled according to the on-state of the third switch, the first switch and the second switch on the main control circuit;
(3) The automatic cooker is adaptive to various cooker models, and the replacement and change of the cooker body can not influence the detection device to search the initial position, so that the manual calibration is not needed after the cooker body is replaced;
(4) If the posture of the pot body at the initial position needs to be replaced, the main control board contacted by the contact pins is only required to be adjusted, and the two contact pins are rotated to align the required positions with the systematically disconnected positions.
Drawings
Fig. 1 is a schematic structural diagram of a detection device for a cooking machine according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of the relationship between three contact pins on the position sensor and three ports on the main control board when the first posture position of the pot body in fig. 1 is at the first position.
Fig. 3 is a schematic structural diagram of the relationship between three contact pins on the position sensor and three ports on the main control board when the first posture position of the pot body in fig. 1 is in the second position.
Fig. 4 is a schematic structural diagram of the relationship between three contact pins on the position sensor and three ports on the main control board when the first posture position of the pot body in fig. 1 is at the target position.
Fig. 5 is a schematic structural diagram of a cooking machine according to a third embodiment of the present invention.
Fig. 6 is a schematic system structure of a main control board according to a first embodiment of the invention.
Fig. 7 is a schematic diagram of a system structure of a motor driving circuit and a hall sensor according to a third embodiment of the present invention.
Fig. 8 is a schematic diagram of a system structure of a position sensor according to an embodiment of the invention.
Reference numerals illustrate:
111. a first stylus; 112. a second stylus; 113. a third stylus; 120. a main control board; 121. COM1 port; 122. COM2 port; 124. COM4 port; 130. a transmission shaft; 10. a cooker; 200. a frame; 201. a first accommodation space; 202. a second accommodation space; 210. a first frame body; 220. a second frame body; 230. a third frame; 300. a pot body; 400. a driving motor; 411. a first transmission member; 412. and a second transmission member.
Detailed Description
In order to make the above objects, features and advantages of the present invention more comprehensible, embodiments accompanied with present invention are described in detail with embodiments of the present invention including only some but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
[ Embodiment one ]
Referring to fig. 1, which is a detection apparatus for a cooking machine 10 according to a first embodiment of the present invention, the cooking machine 10 includes a frame 200 and a pan 300, the pan 300 is mounted on the frame 200, and the detection apparatus includes: a position sensor provided with a third stylus 113 and a first stylus 111; the main control board 120, the main control board 120 is provided with a COM4 port 124 and a COM1 port 121, the COM4 port 124 and a third contact pin 113 form a third switch, the COM1 port 121 and the first contact pin 111 form a first switch, and the third switch and the first switch are connected in series in a main control loop, wherein the on-off state of the main control loop is controlled by the on-state of the third switch and the first switch, and the first gesture position of the pot body 300 is determined according to the on-off state; wherein when the third contact pin 113 and the COM4 port 124 are in contact, the third switch is turned on, whereas the third switch is turned off; when the first contact pin 111 is in contact with the COM1 port 121, the first switch is turned on, whereas the first switch is turned off; when the third switch and the first switch are connected, the on-off state is a conducting state; when the third switch and/or the first switch are/is turned off, the on-off state is an off state.
In a specific embodiment, since most of the existing methods for searching the initial position of the pot 300 use the motor hall sensor to count, and the hall value of the initial position is calibrated in factory, the method requires manual calibration when powering on and running to the designated position, which is time-consuming and labor-consuming and cannot be commonly used when different pot 300 are replaced. The application provides a detection device for a cooking machine 10, which can automatically detect a first gesture position of a pan body 300, does not need manual detection, saves time and labor and can improve detection accuracy. The detecting device comprises a position sensor and a main control board 120, wherein the position sensor is provided with a third contact pin 113 and a first contact pin 111, the main control board 120 is provided with a COM4 port 124 and a COM1 port 121, the COM4 port 124 and the third contact pin 113 form a third switch, and the COM1 port 121 and the first contact pin 111 form a first switch; the on state of the third switch is determined by whether the third contact pin 113 is in contact with the COM4 port 124, and the on state of the first switch is determined by whether the first contact pin 111 is in contact with the COM1 port 121. The third switch and the first switch are connected in series on the main control loop, the main control loop is arranged on the main control board 120, and the on-off state of the main control loop can be controlled through the on states of the third switch and the first switch: only when the third switch and the first switch are both on, the on-off state of the main control loop is a conducting state; when only one of the third switch and the first switch is on, the on-off state of the main control loop is off. Determining a first posture position of the pot 300 according to the on-off state: when the on-off state is the on state, the main control loop can output a signal (the signal is a first signal at the moment) to the main control board 120, and the main control board 120 judges that the current pot body 300 is at a first position according to the received first signal, and the first gesture position is the first position; when the on-off state is the off state, the main control loop cannot output a signal to the main control board 120, and the current pan body 300 is judged to be at the target position, and the first gesture position is the target position.
Wherein, when the third contact pin 113 is in contact with the COM4 port 124, the on state of the third switch is that the third switch is on, and when the third contact pin 113 is not in contact with the COM4 port 124, the third switch is off; the on state of the first switch is that the first switch is on when the first contact pin 111 and the COM1 port 121 are in contact, and is off when the first pin and the COM1 port 121 are not in contact.
Preferably, in the present embodiment, the on state of the third switch may be always on. When the third switch is always turned on, the on/off state of the main control loop can be controlled only by the on state of the first switch, so that the first gesture position of the pot body 300 is judged, the detection steps of the detection device can be further reduced, and the detection efficiency is improved.
Further, a second contact pin 112 is further arranged on the position sensor; the main control board 120 is also provided with a COM2 port 122, the COM2 port 122 and the second contact pin 112 form a second switch, and the second switch and the first switch are connected in parallel, wherein the second switch and the first switch are not connected simultaneously, and the on-off state of the main control loop is controlled through the on-state of the third switch, the first switch and the second switch; wherein when the second contact pin 112 is in contact with the COM2 port 122, the second switch is turned on, whereas the second switch is turned off; when the third switch is turned on, the on-off state is a conducting state when the second switch or the first switch is turned on; when the third switch is turned off, the on-off state is an off state.
Specifically, the position sensor is further provided with a second contact pin 112, the second contact pin 112 is preferably configured to form a second switch with the COM2 port 122 on the main control board 120, and the second switch and the first switch are connected in parallel and in series with the third switch, so that in order to avoid a short circuit of the main control circuit, the second switch and the first switch are not simultaneously turned on, and therefore the on-off state of the main control circuit can be controlled according to the on states of the third switch, the first switch and the second switch on the main control circuit: under the condition that the third switch is turned off, the on-off state of the main control loop is the off state no matter the on states of the first switch and the second switch; under the condition that the third switch is turned on, judging the on-off state of the main control loop according to the on-state of the first switch and the second switch: when the first switch or the second switch is switched on, the on-off state of the main control loop is a conducting state; when the first switch and the second switch are both cut off, the on-off state of the main control loop is an off state. Determining a first posture position of the pot 300 according to the on-off state: when the on-off state is the off state, the main control loop cannot output a signal to the main control board 120, and the current pot body 300 is judged to be at the target position, and the first gesture position is the target position; when the on-off state is the on state, determining the first gesture position of the pan body 300 according to the on states of the first switch and the second switch: when the first switch is turned on, the main control loop can output a signal (the signal is a first signal at this time) to the main control board 120, and the main control board 120 judges that the current pot body 300 is at a first position according to the received first signal, and the first posture position is the first position; when the second switch is turned on, the main control circuit can output a signal (the signal is the second signal) to the main control board 120, and the main control board 120 judges that the current pot body 300 is at the second position through the received second signal, and the first gesture position is the second position.
Wherein the on state of the second switch is that the second switch is on when the second contact pin 112 is in contact with the COM2 port 122, and the second switch is off when the second contact pin 112 is not in contact with the COM2 port 122.
Preferably, in the present embodiment, the on state of the third switch may be always on. When the third switch is always turned on, the first posture position of the pan body 300 can be determined by the on states of the first switch and the second switch, so that the detection steps of the detection device can be further reduced, and the detection efficiency can be improved.
Preferably, referring to fig. 2 to 4, the relationship between the three contact pins (the first contact pin 111, the second contact pin 112 and the third contact pin 113) on the position sensor and the three ports (COM 1, COM2 and COM 4) on the main control board 120 when the pot 300 is at the first position, the second position and the target position is shown in schematic views. The three contact pins on the position sensor and the three ports on the main control board 120 may be configured as shown in the three figures above: COM1 is a first arc with radius R1, and the central angle of the first arc is an angle A; COM2 is a second arc with radius R2, and the central angle of the second arc is an angle B; COM4 is a third arc with radius R3, and the central angle of the third arc is an angle C; the circle centers of the first arc, the second arc and the third arc coincide, the circle center falls on the first axis where the transmission shaft 130 is located, so that the first contact pin 111, the second contact pin 112 and the third contact pin 113 rotate around the circle center with respective radiuses, and respectively contact with COM1, COM2 and COM4, thereby ensuring independence between the contact pins and the ports. As can be seen from the figure, the first switch and the second switch are not simultaneously turned on, wherein, the angle a+b is less than 360 degrees, and the angle c=360 degrees; angle a is angle a, angle B is angle B, and angle C is angle C. Preferably, R1> R2> R3.
Referring to fig. 8, a schematic system structure of a position sensor according to a first embodiment of the present invention is shown: when the first contact pin 111 and the second contact pin 112 of the position sensor are systematically turned on and the third contact pin 113 and the system ground are turned off, at this time, cd_1 is at a low level, cd_2 and cd_3 are at a high level, U9 is turned off, U10 and U12 are turned on, U8A inputs a high level, U8B and U8C inputs a low level signal, and after the signal is inverted through U8, the position signal at this time is obtained as follows: the cd_1_3 is at a low level, the cd_2_3 and the cd_3_3 are at a high level, and the position signals are received by the main control board 120 and then processed to determine that the pan body 300 is at the first position, wherein the first position in the embodiment is a positive position.
Similarly, when the second contact pin 112 of the position sensor is systematically turned on and the first contact pin 111, the third contact pin 113 and the system ground are turned off, at this time, cd_2 is at a low level, cd_1 and cd_3 are at a high level, U10 is turned off, U9 and U12 are turned on, U8B inputs a high level, U8A and U8C inputs a low level signal, and after the signal is inverted through U8, the position signal at this time is obtained as follows: the cd_2_3 is at a low level, the cd_1_3 and the cd_3_3 are at a high level, and the position signals are received by the main control board 120 and then processed, so as to determine that the pan body 300 is at a second position, wherein the second position in the embodiment is a negative position.
Similarly, when the first contact pin 111, the second contact pin 112, and the third contact pin 113 of the position sensor are all disconnected from the system, at this time, the cd_1, the cd_2, and the cd_3 are all at high level, the U9, the U10, and the U12 are turned on, the U8A, U B, and the U8C input low level signals, and after the signals are inverted through the U8, the position signals at this time are obtained as follows: the cd_1_3, cd_2_3 and cd_3_3 are all at high level, and the position signals are received by the main control board 120 and processed to determine that the pan 300 is at the target position, where the target position in this embodiment is the initial system position.
[ Example two ]
The embodiment provides a detection method for a cooking machine, which is applied to a detection device for the cooking machine in the embodiment one, and comprises the following steps:
acquiring first information;
Judging the on-off state of the main control loop according to the first information;
judging a first posture position of the pot body according to the on-off state and the first information;
wherein the first information includes: the on state of the first switch, the on state of the second switch, and the on state of the third switch.
Specifically, the embodiment provides a detection method for a cooking machine, which is applied to a detection device for the cooking machine in the embodiment one, in order to make the searching process of the first posture position of the pan body more convenient and accurate, the first posture position of the pan body can be obtained through the on-off state of the main control loop and the first information, whether the pan body is at the target position is judged according to the first posture position, the initial position of the pan body is not required to be manually calibrated, and the first posture position of the pan body is automatically detected when the detection device is electrified, so that time and labor are saved; meanwhile, the automatic cooker body changing device is adaptive to various cooker body models, and the changing and changing of the cooker body can not influence the detection device to search for the initial position, so that manual calibration is not needed after the cooker body is changed.
Preferably, the first information may include: the on state of the first switch (whether the first contact pin is in contact with the COM1 port or not), the on state of the second switch (whether the second contact pin is in contact with the COM2 port or not), and the on state of the third switch (whether the third contact pin is in contact with the COM4 port or not); the first information may also be: the level of the position signals cd_1_3, cd_2_3 and cd_3_3 output by the position sensor is high or low. The mode is to adopt the position sensor to sense the position of the pot body, adapt to various pot body models, and dispense with factory calibration of initial position Hall values.
Further, according to the on-off state and the first information, the first gesture position of the pan body is judged, including:
judging that the first posture position is at the target position under the condition that the on-off state is the off state; and/or
Judging the first posture position according to the on state of the first switch and the on state of the second switch under the condition that the on-off state is the on state;
judging that the first posture position is at the first position under the condition that the first switch is on and the second switch is off; and/or
Judging that the first posture position is at the second position under the condition that the first switch is turned off and the second switch is turned on;
When the third contact pin is in contact with the COM4 port, the third switch is turned on, and otherwise, the third switch is turned off; when the first contact pin is in contact with the COM1 port, the first switch is turned on, and otherwise, the first switch is turned off; when the second contact pin contacts the COM2 port, the second switch is turned on, and conversely, turned off.
Specifically, under the condition that the on-off state is the off state, the first posture position is judged to be at the target position (the target position is the initial position of the system in the application), so that the pan body does not need to enter the position searching action to carry out the subsequent steps; under the condition that the on-off state is the on-state, the first gesture position of the pot body is judged according to the on-state of the first switch and the second switch: under the condition that the first switch is turned on, judging that the first gesture position is at a first position; when the second switch is turned on, the first posture position is determined to be at the second position.
Preferably, when the on-off state is the on state, the first posture position of the pot body may be judged only by the on state of the first switch or the second switch: under the condition that the first switch is turned on, judging that the first gesture position is at a first position, and otherwise, judging that the first gesture position is at a second position; and under the condition that the second switch is turned on, judging that the first gesture position is at the second position, and otherwise, judging that the first gesture position is at the first position.
[ Example III ]
Referring to fig. 5, the present embodiment provides a cooker 10, the cooker 10 includes: the rack 200, the pan body 300, the detection device as in embodiment one, and the transmission shaft 130, the rack 200 includes a first rack 210, a second rack 220, and a third rack 230, a first accommodating space 201 is formed between the first rack 210 and the second rack 220, and a second accommodating space 202 is formed between the second rack 220 and the third rack 230; the pan body 300 is connected to a side of the first frame body 210 remote from the first receiving space 201 through an output shaft; the detection device is arranged in the second accommodating space 202; the transmission shaft 130 is connected with the pot body 300 and the position sensor, and the rotation of the transmission shaft 130 drives the pot body 300 and the position sensor to rotate.
Specifically, the rack 200 includes a first rack 210, a second rack 220, and a third rack 230, a first accommodating space 201 is formed between the first rack 210 and the second rack 220, and a second accommodating space 202 is formed between the second rack 220 and the third rack 230; the pan body 300 is mounted to the first frame body 210 at a side far from the first receiving space 201, which can be conveniently removed and mounted according to the user's selection; the transmission shaft 130 and the position sensor and the main control board 120 in the detection device are arranged in the second accommodating space 202, the transmission shaft 130 is connected to the second frame 220, the main control board 120 is arranged on the third frame 230, the transmission shaft 130 is connected with the pot body 300 and the position sensor, and the position sensor is contacted with the main control board 120 through three contact pins; the position sensor is mounted on a transmission shaft 130 in the cooker 10, a first contact pin 111, a second contact pin 112 and a third contact pin 113 of the position sensor are connected to the transmission shaft 130, and all three contact pins can rotate around a first axis where the transmission shaft 130 is located under the drive of the transmission shaft 130, and in the process of rotating the transmission shaft 130, the first contact pin 111, the second contact pin 112 and the third contact pin 113 do circular motion on the main control board 120 under the respective radiuses.
Meanwhile, an output shaft (not marked in the figure) is arranged on the pot body 300, and the pot body 300 and the transmission shaft 130 are connected through the output shaft, so that the transmission shaft 130 can drive the pot body 300 to rotate, and a first axis where the transmission shaft 130 is located and a second axis where the output shaft of the pot body 300 is located are arranged in a collinear manner.
Preferably, the position sensor is specifically three stylus-type position sensors, and the three stylus-type position sensors are provided with a first stylus 111, a second stylus 112 and a third stylus 113, so that the first posture position of the pot body 300 can be obtained through processing first information of the position sensors.
Further, the cooker 10 further includes: the driving motor 400 and the transmission assembly, the driving motor 400 is mounted to the second frame 220, and the driving motor 400 is used for driving the transmission shaft 130 to rotate; the transmission assembly connects the drive motor 400 and the transmission shaft 130.
Specifically, the driving motor 400 is mounted to the second frame 220 and is disposed in the second accommodating space 202 with the driving shaft 130, the driving motor 400 is connected to the driving shaft 130, and the driving motor 400 is used for driving the driving shaft 130 to rotate. The transmission assembly is installed on the second frame 220, but is arranged in the first accommodating space 201, and the transmission assembly, the driving motor 400 and the transmission shaft 130 are respectively arranged in two different accommodating spaces, so that the driving motor 400 and the transmission shaft 130 are prevented from being influenced.
Preferably, a hall sensor is arranged in the driving motor 400, the driving motor 400 is used for triggering the hall sensor, a hall signal is output by the hall sensor under the control of a signal processing circuit, the movement of the driving motor 400 is controlled by a motor driving circuit, and the signal processing circuit and the motor driving circuit are both arranged on the main control board 120. The main control board 120 may be a controller, where the controller is connected to the position sensor, the hall sensor, the motor driving circuit and the signal processing circuit, and is configured to receive and process the first information output by the position sensor, and the first information output by the position sensor is processed by the controller to generate a signal that can be identified by the motor driving circuit, and further control the motion state of the driving motor 400 by controlling the motor driving circuit. When the driving motor 400 rotates, a hall signal of the hall sensor may be triggered once every certain angle of rotation, and the hall signal may be received and processed by the controller. In the present application, the controller is the main control board 120 mounted on the third frame 230, and may specifically include: and a singlechip system.
Preferably, the transmission assembly comprises a first transmission member 411 and a second transmission member 412, the first transmission member 411 is connected with the driving motor 400, the second transmission member 412 is connected with the first transmission member 411 and the transmission shaft 130, and the driving motor 400 drives the transmission shaft 130 to perform rotary motion around a first axis where the driving motor is located through the first transmission member 411 and the second transmission member 412.
Preferably, referring to fig. 7, which is a schematic diagram of a system structure of a motor driving circuit and a hall sensor in a third embodiment of the present invention, a detailed driving manner of the motor driving circuit is as follows: when the singlechip needs to drive the motor 400 to rotate forward, the Hin1_3 pin outputs a PWM pulse signal, the Lin1_3 pin outputs a high level, and the Hin2_3 pin and the Lin2_3 pin simultaneously output a low level. After the signals pass through the U5 chip, the original 3V signals are boosted to 5V signals, so that the Hin1_5 pin outputs 5V PWM pulse signals, the Lin1_5 outputs 5V high level, and the 3V and 5V power supplies are isolated, thereby ensuring that the signals of the two power supply domains cannot be influenced mutually and generating high-frequency noise. The pulse signal of hin1_5 is boosted to 30V again through the U3 chip, and outputted through ho_m1, and the high level of lin1_5 is inverted to the low level by the U3 chip and outputted through lo_m1. The low level signal of lin2_5 is outputted by U4 through lo_m2 in reverse direction, and is boosted to 12V high level. At this time, ho_m1 is a PWM pulse signal, lo_m1 and ho_m2 are low level, and lo_m2 is high level, so that Q2 is intermittently turned on, Q1 and Q4 are turned off, Q3 is turned on, current flows from the positive electrode of the first power supply through Q2, flows from M1, flows out through M2 after passing through the motor, flows into the ground of the power supply after passing through Q3, forms a closed loop, and makes the motor rotate forward. When the speed is required to be regulated, the speed of the driving motor 400 can be accelerated and slowed down only by changing the duty ratio of the PWM pulse. The chips U3 and U4 have the functions of lifting voltage to drive the Q1, Q2, Q3 and Q4 switches and preventing the Q2 and Q4 or the Q1 and Q3 from being simultaneously opened so as to cause the power supply to be short-circuited.
Similarly, when the driving motor 400 needs to be reversed, the hin2_3 pin outputs a PWM pulse signal, lin2_3 outputs a high level, and the hin1_3 and lin1_3 pins simultaneously output a low level. After the signals pass through the U5 chip, the original 3V signals are boosted to 5V signals, so that the Hin2_5 pin outputs 5V PWM pulse signals, the Lin2_5 pin outputs 5V high level, and the 3V and 5V power supplies are isolated, so that the signals of the two power supply domains are ensured not to be influenced mutually, and high-frequency noise is generated. The pulse signal of hin2_5 is boosted to 30V again through the U4 chip, and outputted through ho_m2, and the high level of lin2_5 is inverted to the low level by the U4 chip and outputted through lo_m2. The low level signal of lin1_5 is outputted by U3 in reverse direction through lo_m1, and is boosted to 12V high level. At this time, ho_m2 is a PWM pulse signal, lo_m2 and ho_m1 are low level, and lo_m1 is high level, so that Q1 is intermittently turned on, Q2 and Q3 are turned off, Q4 is turned on, current flows from the positive electrode of the first power supply through Q1, flows from M2, flows out through M1 after passing through the motor, flows into the power ground after passing through Q4, forms a closed loop, and inverts the motor. When the speed is required to be regulated, the speed of the driving motor 400 can be accelerated and slowed down only by changing the duty ratio of the PWM pulse.
When the driving motor 400 rotates, once hall signals of the hall sensor can be triggered every time a certain angle is rotated, the hall signals can be received and processed by the controller, so that the running distance of the driving motor 400 can be calculated, and the minimum value is 1 hall value: when the driving motor 400 rotates, hall signals are input to the hr_a_5 and the hr_b_5 through the COM2 port 122, instantaneous shaking signals are removed through a pair of capacitance resistors, noise is reduced, the 5V hall signals are reduced to 3V through the chip U6, the 3V hall signals are input to the hr_a_3 and the hr_b_3 hall signals and processed by a controller (a single chip microcomputer in the embodiment), wherein the U6 is adapted to be reduced in voltage, besides the power supply of the single chip microcomputer, the power supplies of 3V and 5V can be isolated, so that external interference sources can not be transmitted to the single chip microcomputer, and the single chip microcomputer is interfered to analyze the hall signals.
In the control of the pan body 300 of the cooker 10, a certain point in the whole gesture control stroke is taken as an initial position, the front of the initial position is defined as a gesture positive position, and the rear is defined as a gesture negative position. Referring to fig. 8, which is a schematic diagram of a system structure of a position sensor according to a second embodiment of the present application, a stylus type position sensor is used in the present application, such that when a pan body 300 is in a positive position, a first stylus 111 contacts a system ground (a negative electrode of a power supply), a second stylus 112 is disconnected from the system ground, and when the pan body 300 is in a negative position, the posture is opposite; when the pot 300 is in the initial position, both the first contact pin 111 and the second contact pin 112 are systematically disconnected. The three contact pin type position sensors are connected into a circuit through COM4, and are pulled up to 5V through resistors, so that when the contact pins are not connected with the system ground, the high level of CD_1, CD_2 and CD_3 is ensured to be 5V. U9, U10, U12 step down the initial 5V signal of contact pin to the 3V signal that singlechip can handle to keep apart 3V and 5V power, make outside 5V noise can not influence the signal processing of singlechip. If the posture of the pot 300 at the initial position needs to be changed, the main control board 120 contacted by the contact pins is only required to be adjusted, and the two contact pins are rotated to align the required positions with the systematically disconnected positions.
[ Example IV ]
The embodiment provides a control method for a cooking machine, which is applied to a detection device for the cooking machine in embodiment one, and comprises the following steps:
acquiring a first posture position of the pot body;
judging whether the pot body needs to enter a position searching action according to the first gesture position;
Under the condition that the pot body is judged to need to enter the position to search for the action, the driving motor is controlled to operate so as to obtain a second posture position of the pot body, and the second posture position is positioned at the target position;
when the second posture position is at the target position, the position finding action is exited.
In a specific embodiment, since most of existing methods for searching an initial position of a pot body use motor hall sensors to count, factory calibrate hall values of the initial position, power-on and power-on are performed to reach a designated position, the method requires manual calibration, is time-consuming and labor-consuming, and cannot be commonly used when different pot bodies are replaced. In order to enable a pot body of the cooking machine to be located at a target position (the target position is a system initial position), specifically, a first posture position of the pot body can be detected through on-off of a first switch, a second switch and a third switch, after the first posture position of the pot body is detected, a driving motor is required to be controlled to operate according to the first posture position so that the pot body is located at the target position, the initial position of the pot body is not required to be manually calibrated, and the system initial position is automatically found when the cooking machine is powered on, so that time and labor are saved; meanwhile, the automatic cooker is self-adaptive to various cooker models, the replacement and change of the cooker body does not influence the initial position of a system found by the cooker, so that the cooker body does not need to be manually calibrated after being replaced, and only needs to be electrified again, and the cooker automatically calibrates the initial position of the system.
The specific flow for judging whether the pot body needs to enter the position searching action is as follows: when the cooker is electrified, a first gesture position of the cooker body is obtained, and whether the cooker body needs to enter a position searching action can be judged according to the first gesture position. When the first posture position is at the target position, the pan body is at the target position (the target position in the embodiment is the initial position of the system), so that the pan body does not need to enter the position searching action to carry out subsequent steps; when the first posture position is at the first position (the first position is the positive position of the system in this embodiment) or the second position (the second position is the negative position of the system in this embodiment), it indicates that the pan body is not at the initial position of the system at this time, so the pan body needs to enter the position searching action.
The flow of the position finding action is: when the pot body needs to enter a position searching action, controlling a driving motor to operate so as to drive a position sensor to rotate, updating first information of the position sensor in real time, acquiring a second posture position of the pot body according to the first information updated in real time, and enabling the second posture position to be at a target position, wherein the posture position of the pot body is at the target position (namely a system initial position) until the system searching initial position is finished, and finishing system initialization; in the case where the second pose position is at the target position, the position finding action may be exited.
In this embodiment, the target position is a system initial position, the first position is a positive position of the system, and the second position is a negative position of the system. The running direction of the driving motor may be any direction as long as the target position is found out in the end. The first gesture position is a gesture position of the pot body detected when the control system is powered on, and can be expressed as a gesture position at a first moment; the second gesture position is a gesture position of the pot body detected in real time after the pot body enters the position searching action, and can be expressed as a gesture position at a second moment.
In general, under the condition that the first gesture position is at the first position, the driving motor is controlled to run in the second direction; and when the first posture position is at the second position, controlling the driving motor to run in the first direction. The first position and the second position are defined according to the target position, the first position is located in a first direction of the target position, the second position is located in a second direction of the target position, and the first direction is opposite to the second direction. Under the condition that the first posture position is at the first position, controlling the driving motor to run in the second direction, so that the pot body in the first direction also runs in the second direction until the pot body passes through the target position; when the first posture position is at the second position, the driving motor is controlled to operate in the first direction, so that the pot body in the second direction also operates in the first direction until the pot body passes through the target position. In this embodiment, the first direction is a positive direction, and the second direction is a negative direction.
Preferably, when the driving motor rotates, the hall sensor can be triggered once by a certain angle, and the hall signal can be received and processed by the controller, so that the running distance of the driving motor can be calculated, and the minimum is 1 hall value.
Preferably, the control method may also directly enter the position searching action after the first gesture position of the pot body is obtained, no matter the specific situation of the first gesture position: judging that the pot body is at the target position under the condition that the first gesture position is at the target position, and exiting the position searching action; and under the condition that the first posture position is not at the target position, controlling the driving motor to operate so as to obtain a second posture position of the pot body, and enabling the second posture position to be at the target position.
Further, under the condition that the pan body is judged to need to enter the position to search for the action, the driving motor is controlled to operate so as to obtain a second posture position of the pan body, and the second posture position is located at the target position, and the method comprises the following steps:
under the condition that the pan body is judged to enter the position to search for the action, controlling the operation of the driving motor according to the first posture position;
detecting and updating the first gesture position in real time to obtain a second gesture position until the second gesture position is at the target position;
Recording the mark position of the driving motor when the second gesture position is at the target position;
and controlling the driving motor to run to the marking position.
Specifically, the specific flow of the position finding action is: when the pot body needs to enter the position to search for action, the running direction of the driving motor is judged and controlled according to the first posture position, the movement of the pot body is driven by the movement of the driving motor (namely, the pot body moves along with the movement of the driving motor in the running process of the driving motor), the position sensor is fixed on the pot body and moves along with the movement of the pot body, so that the posture position of the pot body is changed, the first information of the position sensor is updated in real time, the second posture position of the pot body is obtained according to the position sensor updated in real time, whether the second posture position reaches the initial position of the system is judged in real time, the marked position of the driving motor is recorded when the second posture position reaches the initial position of the system when the second posture position is at the initial position of the system, and the detection device searches the initial position of the system of the pot body. After the initial system position is found, the driving motor is driven to run to the marking position according to the marking position of the driving motor, so that the posture position of the pot body is located at the target position (namely the initial system position), and the detection device finishes finding the initial system position until the initial system position is found, and the system initialization is completed.
Preferably, after recording the mark position of the driving motor when the second posture position is at the target position, the control method may further include: marking the mark position as a target position, and recording a Hall value H at the moment; controlling the driving motor to slow down to a complete stop; controlling the driving motor to run to a coordinate point with a Hall value of H according to the first gesture position; resetting the coordinate system, taking the current position as a Hall value 0, exiting the position searching action, ending the searching of the initial position of the system, and finishing the system initialization.
Further, controlling the driving motor to operate to the marking position includes:
Controlling the driving motor to slow down to a complete stop;
and controlling the driving motor to operate to the marking position according to the first gesture position.
Specifically, when the second gesture position is recorded to be at the target position, after the mark position of the driving motor (i.e. after the initial position of the system is found), the driving motor is controlled to slow down to a complete stop because the characteristic of the driving motor cannot immediately stop running, and after the driving motor is completely stopped, the driving motor is caused to run towards the direction of the initial position of the system and stop to the mark position, at the moment, the gesture position of the pot body is at the target position (i.e. the initial position of the system), so that the control system finishes searching the initial position of the system, and the system initialization is finished.
Further, judging whether the pan body needs to enter a position searching action according to the first gesture position comprises the following steps:
under the condition that the first posture position is at the target position, judging that the pot body does not need to enter the position to search for the action; and/or
Judging that the pot body needs to enter a position searching action under the condition that the first posture position is at the first position; and/or
And under the condition that the first posture position is at the second position, judging that the pot body needs to enter the position searching action.
Specifically, when the first posture position is at the target position, the pan body is at the target position (the target position is the initial position of the system) at the moment, so that the pan body does not need to enter a position searching action to carry out subsequent steps; when the first posture position is at the first position (the first position is the positive position of the system) or the second position (the second position is the negative position of the system), the pot body is not at the initial position of the system, so that the pot body needs to enter the position searching action.
The steps of a specific control method can be simplified as a whole: ① Powering up the cooker, and initializing a position sensor by a controller; ② Reading first information of the position sensor, and processing the first information to obtain whether the current posture position of the pot body is at the positive position, the negative position or the initial position of the system; ③ If the posture position of the pot body is at the initial position of the system, the searching for the initial position is finished, and the system initialization is completed; if the system is in a positive position, controlling the driving motor to run in a negative direction at a minimum speed, and detecting a change of the position sensor; if the motor is in the negative position of the system, controlling the driving motor to run in the positive direction at the minimum speed, and detecting the change of the position sensor; ④ When the first stylus and the second stylus of the position sensor are read out and disconnected with the system at the same time, marking the initial position of the system, remembering the current Hall value, and assuming H; ⑤ Controlling the driving motor to slow down to a complete stop; ⑥ Controlling the driving motor to run to a coordinate point with a Hall value of H in the opposite direction, and stopping; ⑦ Resetting the coordinate system, taking the current position as a Hall value 0, exiting the position searching action, ending searching the initial position of the system, and finishing the system initialization.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A detection device for a cooking machine (10), the cooking machine (10) comprising a frame (200) and a pan (300), the pan (300) being mounted to the frame (200), characterized in that the detection device comprises:
a position sensor provided with a third stylus (113) and a first stylus (111);
The main control board (120), a COM4 port (124) and a COM1 port (121) are arranged on the main control board (120), the COM4 port (124) and the third contact pin (113) form a third switch, the COM1 port (121) and the first contact pin (111) form a first switch, and the third switch and the first switch are connected in series to a main control loop, wherein the on-off state of the main control loop is controlled through the on-off state of the third switch and the first switch, and the first gesture position of the pot body (300) is determined according to the on-off state;
wherein when the third contact pin (113) and the COM4 port (124) are in contact, the third switch is turned on, whereas the third switch is turned off; when the first contact pin (111) and the COM1 port (121) are in contact, the first switch is turned on, whereas the first switch is turned off; when the third switch and the first switch are connected, the on-off state is a conducting state; when the third switch and/or the first switch is/are turned off, the on-off state is an off state.
2. The detecting device according to claim 1, wherein,
A second contact pin (112) is also arranged on the position sensor;
A COM2 port (122) is further arranged on the main control board (120), the COM2 port (122) and the second contact pin (112) form a second switch, the second switch and the first switch are connected in parallel, wherein the second switch and the first switch are not connected simultaneously, and the on-off state of the main control loop is controlled through the on-state of the third switch, the first switch and the second switch;
Wherein when the second contact pin (112) and the COM2 port (122) are in contact, the second switch is turned on, whereas the second switch is turned off; when the third switch is turned on, the on-off state is an on state when the second switch or the first switch is turned on; when the third switch is turned off, the on-off state is an off state.
3. A detection method for a cooker, applied to the detection device as claimed in claim 2, characterized in that it comprises:
acquiring first information;
judging the on-off state of the main control loop according to the first information;
judging a first posture position of the pot body according to the on-off state and the first information;
Wherein the first information includes: an on state of the first switch, an on state of the second switch, and an on state of the third switch.
4. The method according to claim 3, wherein,
Judging the first gesture position of the pot body according to the on-off state and the first information, wherein the judging comprises the following steps:
Judging that the first posture position is at a target position under the condition that the on-off state is an off state; and/or
Judging the first posture position according to the on state of the first switch and the on state of the second switch under the condition that the on-off state is the on state;
judging that the first posture position is at a first position under the condition that the first switch is on and the second switch is off; and/or
Judging that the first posture position is at a second position under the condition that the first switch is turned off and the second switch is turned on;
When the third contact pin is in contact with the COM4 port, the third switch is turned on, and otherwise, the third switch is turned off; when the first contact pin is in contact with the COM1 port, the first switch is switched on, and otherwise, the first switch is switched off; when the second contact pin is in contact with the COM2 port, the second switch is turned on, and conversely, turned off.
5. A cooker (10), characterized in that the cooker (10) comprises:
A rack (200), wherein the rack (200) comprises a first rack body (210), a second rack body (220) and a third rack body (230), a first accommodating space (201) is formed between the first rack body (210) and the second rack body (220), and a second accommodating space (202) is formed between the second rack body (220) and the third rack body (230);
a pan body (300), wherein the pan body (300) is connected to one side of the first frame body (210) far away from the first accommodating space (201) through an output shaft;
The detection device according to any one of claims 1 to 2, which is arranged in the second accommodation space (202);
the transmission shaft (130), the transmission shaft (130) is connected with the pot body (300) and the position sensor, and the rotation of the transmission shaft (130) drives the pot body (300) and the position sensor to rotate.
6. The cooker (10) of claim 5, wherein the cooker (10) further comprises:
a driving motor (400), the driving motor (400) being mounted to the second frame body (220), and the driving motor (400) being used for driving the transmission shaft (130) to rotate;
and the transmission assembly is connected with the driving motor (400) and the transmission shaft (130).
7. A control method for a cooker, applied to the detection device according to any one of claims 1 to 2, characterized in that it comprises:
Acquiring a first posture position of the pot body;
Judging whether the pot body needs to enter a position searching action or not according to the first gesture position;
Under the condition that the pot body is judged to enter the position searching action, a second posture position of the pot body is obtained by controlling a driving motor to operate, so that the second posture position is located at a target position;
And if the second gesture position is at the target position, exiting the position finding action.
8. The control method according to claim 7, wherein,
Under the condition that the pot body is judged to enter the position searching action, the second posture position of the pot body is obtained by controlling the driving motor to operate, so that the second posture position is located at the target position, and the method comprises the following steps:
controlling the operation of the driving motor according to the first posture position under the condition that the pot body is judged to enter the position searching action;
detecting and updating the first gesture position in real time to obtain the second gesture position until the second gesture position is at the target position;
Recording the mark position of the driving motor when the second gesture position is at the target position;
And controlling the driving motor to operate to the marking position.
9. The control method according to claim 8, wherein,
The controlling the driving motor to operate to the marking position includes:
controlling the driving motor to slow down to a complete stop;
and controlling the driving motor to operate to the marking position according to the first gesture position.
10. The control method according to claim 7, wherein,
Judging whether the pot body needs to enter a position searching action according to the first gesture position comprises the following steps:
judging that the pot body does not need to enter the position searching action under the condition that the first gesture position is at the target position; and/or
Judging that the pot body needs to enter the position searching action under the condition that the first gesture position is at a first position; and/or
And under the condition that the first posture position is at the second position, judging that the pot body needs to enter the position searching action.
CN202410639099.3A 2024-05-22 2024-05-22 Detection device and method for cooking machine, cooking machine and control method Pending CN118340434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410639099.3A CN118340434A (en) 2024-05-22 2024-05-22 Detection device and method for cooking machine, cooking machine and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410639099.3A CN118340434A (en) 2024-05-22 2024-05-22 Detection device and method for cooking machine, cooking machine and control method

Publications (1)

Publication Number Publication Date
CN118340434A true CN118340434A (en) 2024-07-16

Family

ID=91812369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410639099.3A Pending CN118340434A (en) 2024-05-22 2024-05-22 Detection device and method for cooking machine, cooking machine and control method

Country Status (1)

Country Link
CN (1) CN118340434A (en)

Similar Documents

Publication Publication Date Title
US4495453A (en) System for controlling an industrial robot
EP3674668B1 (en) Multi-turn absolute encoder, encoding method and robot
US6104185A (en) Method and device for operating a position sensor
CN101574809A (en) Zero-point positioning system, method and device for joint of robot
JP2008160941A (en) Wiper motor
JPH1046918A (en) Self-diagnostic device of automatic door device
EP3856463B1 (en) Method and power tool including input control device on top portion of housing
JPS58208807A (en) Teaching device of robot
CN118340434A (en) Detection device and method for cooking machine, cooking machine and control method
CN107206969B (en) Drive unit for a wiper system
US5795052A (en) Lamp driving control apparatus and method for a washing machine
CN103941110A (en) Durability test device and test method for vehicle rotary connector
CN102147266A (en) Locator with multi-turn positioning
JP2007247286A (en) Opening/closing body driving control device
CN209086410U (en) A kind of DC stepper motor tester
JP2021179167A (en) Automatic door device, control method for automatic door device, device for inspecting state of automatic door device, and control program for automatic door device
JP4217307B2 (en) Microscope rotation switching device
KR101394005B1 (en) Adaptive front lighting system having stall error detecting function
JPH11178385A (en) Encoder and detection signal switch thereof
JP6778093B2 (en) Electric steering lock device
CN220540437U (en) Two-wire valve detection circuit and valve device
CN211860007U (en) Steering engine control circuit and robot
US20090192747A1 (en) Measurement system and method for monitoring the measurement system
CN221367406U (en) Cleaning robot
KR20050012602A (en) Motor driving control apparatus using hall sensor

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