Single-chip microcomputer port multiplexing circuit and cooking utensil
By combining the DC voltage acquisition module and the AC voltage driving module in the microcontroller port multiplexing circuit, the port multiplexing problem is solved by using capacitors, the problem of insufficient ports of the microcontroller is improved, and the production cost is reduced.
Patent Information
- Application Number
- CN202420002615.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2034-01-02
AI Technical Summary
The limited ports of microcontrollers may cause insufficient ports when expanding the hardware of the cooking appliance. Adding ports or microcontrollers will increase internal space and production costs.
Design a microcontroller port multiplexing circuit, through the combination of the DC voltage acquisition module and the AC voltage driving module, use the first capacitor to control different modules respectively at input and output, so as to realize port multiplexing, avoid adding ports or the demand of microcontroller.
It improves the utilization rate of microcontroller ports, reduces the production cost of cooking utensils, and avoids the increase in internal space, achieving effective utilization when the number of ports is insufficient.
Smart Images

Figure CN222167444U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of cooking utensils, in particular to a single-chip microcomputer port multiplexing circuit and a cooking utensil. Background Art
[0002] Nowadays, with the rapid development of science and technology and the improvement of people's quality of life, while improving product quality, reducing the complexity and production cost of product production has always been the focus of research. Among them, in the field of cooking utensils, basically there are single-chip microcomputers, and the ports of single-chip microcomputers are limited. With the increasing demand for cooking utensils, the hardware expansion of cooking utensils is also increasing. Therefore, the number of ports of single-chip microcomputers may be insufficient. Whether adding additional ports or adding more single-chip microcomputers, the internal use space of cooking utensils will be increased, and the production cost will be increased at the same time.
[0003] Therefore, how to solve the problem of limited ports and possible port shortage of microcontrollers has become a technical problem that needs to be solved urgently. Utility Model Content
[0004] The present application provides a single-chip microcomputer port multiplexing circuit and a cooking utensil to solve the technical problem in the prior art that single-chip microcomputer ports are limited and there may be insufficient ports.
[0005] According to one aspect of the present application, a single-chip microcomputer port multiplexing circuit is provided, wherein the single-chip microcomputer includes a first port with input / output function, including: a DC voltage acquisition module: an input end is connected to the first port of the single-chip microcomputer, and is used to obtain a DC sampling voltage signal when the first port is in an input state; a first AC voltage driving module: an input end is connected to the first port of the single-chip microcomputer through a first capacitor, and is used to form a path when the first port is in an output state to output an AC voltage.
[0006] As an optional implementation, the single chip microcomputer is further provided with a pulse width modulation module connected to the first port and configured to output a pulse modulation voltage to the first AC voltage driving module.
[0007] As an optional implementation, it further includes a second driving module connected to the second port of the single chip microcomputer, and the second port outputs a control signal to drive the second driving module.
[0008] As an optional implementation manner, the first port and the second port output alternately to alternately control the first AC voltage driving module and the second driving module.
[0009] As an optional implementation manner, the second port is further configured to output a control signal when the first port is in an input state.
[0010] As an optional implementation manner, the first port is further used to acquire a DC sampling voltage signal through a DC voltage acquisition module when the second port outputs a control signal.
[0011] As an optional embodiment, the first AC voltage driving module is connected to a first driving component, and includes a first power supply connected to the input end of the first driving component and a first control switch connected to the output end of the first driving component; the enable end of the first control switch is connected to the first capacitor through a first resistor, the output end is grounded, and the input end is connected to the first driving component, wherein a second resistor is also arranged in parallel between the enable end and the output end; when the first port is in an output state to output a high-level or low-level AC voltage signal, the first control switch forms a path.
[0012] As an optional implementation, the first control switch includes at least one of a MOS tube, a triode and a thyristor.
[0013] According to another aspect of the present application, a cooking utensil is provided, comprising a pot body, wherein the pot body is provided with a control system, an inner pot and a heating device; the control system comprises a single-chip microcomputer and the single-chip microcomputer port multiplexing circuit connected to the single-chip microcomputer, and the pot body is provided with a first fan and a second fan, the first fan is provided on the side of the inner pot, and the second fan is provided on the side or bottom of the inner pot.
[0014] As an optional implementation, the first fan is connected to the first AC voltage driving module, and when the first port outputs AC voltage in an output state, the first AC voltage driving module drives the first fan to operate; the second fan is connected to the second port of the single-chip computer through a second driving module; the first port and the second port output alternately, alternatingly controlling the first fan and the second fan.
[0015] The embodiment of the present application provides a single-chip microcomputer port multiplexing circuit, including: a DC voltage acquisition module: the input end is connected to the first port of the single-chip microcomputer, and a path is formed when the first port outputs a DC voltage; a first AC voltage driving module: the input end is connected to the first port of the single-chip microcomputer through a first capacitor, and a path is formed when the first port outputs an AC voltage. Through this setting mode, through the setting of the first capacitor, the first port can control the paths of different modules respectively when outputting DC voltage and AC voltage, that is, when the first port outputs AC voltage, the first AC voltage driving module is connected, and the hardware connected to the first AC voltage driving module can be driven. When the first port outputs DC voltage, the DC voltage acquisition module is connected, and the voltage is sampled at this time, so that one port of the single-chip microcomputer realizes two different functions, saving the port of the single-chip microcomputer. The reuse of the single-chip microcomputer port avoids to a certain extent the problem of increasing the required space inside the cooking appliance due to the insufficient number of control ports or the increase of the single-chip microcomputer, and even the need to increase the volume of the cooking appliance, thereby improving the utilization rate of the single-chip microcomputer port and reducing the production cost of the cooking appliance. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present utility model, and together with the description, are used to explain the principles of the present utility model.
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the utility model or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] Figure 1 A schematic diagram of a modular structure of a single-chip microcomputer port multiplexing circuit provided by the utility model;
[0019] Figure 2 The present invention is a schematic structural diagram of another single-chip microcomputer port multiplexing circuit provided by the utility model.
[0020] Reference numerals
[0021] 1 single chip microcomputer, 11 first port, 12 second port;
[0022] 2 DC voltage acquisition module;
[0023] 3 first AC voltage driving module, 31 first driving component, 32 first power supply, 33 first control switch;
[0024] 4 Second drive module. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] In the field of cooking utensils, basically all of them are equipped with single-chip microcomputers, which have limited ports. As people's demand for cooking utensils increases, the hardware expansion of cooking utensils is also increasing. Therefore, the ports of the single-chip microcomputer may be insufficient. Whether adding additional ports or adding more single-chip microcomputers, the internal usage space of the cooking utensils will increase, while increasing the production cost.
[0028] Therefore, based on the technical problem, the present application proposes a single-chip microcomputer port multiplexing circuit, which can solve the technical problem in the prior art that the single-chip microcomputer ports are limited and there may be insufficient ports.
[0029] Figure 1-Figure 2 is a single-chip microcomputer port multiplexing circuit according to an embodiment of the present application; Figure 1 As shown, the single chip computer 1 comprises a first port 11 with input / output function, characterized in that it comprises:
[0030] A DC voltage acquisition module 2: the input end of which is connected to the first port 11 of the single-chip computer 1, and is used to obtain a DC sampling voltage signal when the first port 11 is in an input state;
[0031] The first AC voltage driving module 3: the input end is connected to the first port 11 of the single chip computer 1 through the first capacitor, and is used to form a path when the first port 11 is in the output state and outputs the AC voltage.
[0032] Specifically, through the setting of the first capacitor C1, since the capacitor can block direct current, it is possible to achieve that the first port 11 is connected to different modules when inputting direct current voltage and outputting alternating current voltage, that is, when the first port 11 is in the output state to output alternating current voltage, the voltage signal can pass through the first capacitor C1 and turn on the first alternating current voltage driving module 3, thereby being able to drive the hardware connected to the first alternating current voltage driving module 3; at the same time, the direct current voltage acquisition module 2 can also perform voltage sampling when in the input state, so that one port of the single-chip microcomputer 1 can realize two different functions, saving the port of the single-chip microcomputer 1. The multiplexing of the port of the single-chip microcomputer 1 avoids to a certain extent the problem of increasing the space required inside the cooking appliance due to the need to increase the number of control ports or increase the single-chip microcomputer 1, or even the need to increase the volume of the cooking appliance, thereby improving the utilization rate of the port of the single-chip microcomputer 1 and reducing the production cost of the cooking appliance.
[0033] As an optional implementation, the single chip computer 1 is further provided with a pulse width modulation module, which is connected to the first port 11 and is used to output a pulse modulation voltage to the first AC voltage driving module 3 .
[0034] As an optional implementation, it further includes a second driving module 4 connected to the second port 12 of the single chip computer 1 , and the second port 12 outputs a control signal to drive the second driving module 4 .
[0035] As an optional implementation, the first port 11 and the second port 12 output alternately to alternately control the first AC voltage driving module 3 and the second driving module 4 .
[0036] Specifically, illustratively, the single-chip computer 1 may also be connected to a pulse width modulation module, through which the alternating current output by the single-chip computer 1 is modulated into a waveform having a high level and a low level. Therefore, the second driving module 4 connected to the second port 12 may be configured to form a path when the second port 12 outputs a low level signal, and the first alternating voltage driving module 3 may be configured to form a path when the first port 11 outputs a high level signal. Then, the hardware connected to the first port 11 and the second port 12 are driven separately and output complementary. This setting method can reduce the startup current, thereby reducing the total load.
[0037] It should be noted that the present application does not limit the specific driving mode of the second driving module 4 and the first AC voltage driving module 3. The first AC voltage driving module 3 can also form a path when the first port 11 outputs a low-level signal, and the second driving module 4 can form a path when the second port 12 outputs a low-level signal; and the second driving module 4 can also directly drive the second port 12 or use a dedicated chip to drive. At the same time, the present application does not limit the number of first AC voltage driving modules 3. The single-chip microcomputer 1 can be provided with one first port 11, or multiple first ports 11. As long as one port of the single-chip microcomputer 1 is connected to multiple modules, and the implementation method of realizing port multiplexing by inputting DC voltage / outputting AC voltage respectively, it is within the protection scope of the present application.
[0038] As an optional embodiment, the first AC voltage driving module 3 is connected to a first driving component 31, and includes a first power supply 32 connected to the input end of the first driving component 31 and a first control switch 33 connected to the output end of the first driving component 31; the enable end of the first control switch 33 is connected to the first capacitor C1 through a first resistor, the output end is grounded, and the input end is connected to the first driving component 31, wherein a second resistor is also arranged in parallel between the enable end and the output end; when the first port 11 is in an output state to output a high-level or low-level AC voltage signal, the first control switch 33 forms a path.
[0039] For example, Figure 2 As shown, the first driving component 31 can be an air-cooling fan, the input end of the air-cooling fan is connected to a 18V power supply voltage to drive the fan, and the output end of the air-cooling fan is grounded through the first control switch 33; Figure 2 The first control switch 33 is a transistor Q1, whose input end is connected to the output end of the air-cooling fan, and whose enable end is connected to the first capacitor C1 through the first resistor R0. The second resistor R4 is a voltage-dividing resistor, which is connected in parallel to the enable end and the output end of the transistor Q1, so that when the first port 11 outputs an AC voltage, the transistor Q1 forms a path to form a path at the output end of the air-cooling fan, thereby driving the air-cooling fan.
[0040] It can be understood that the present application does not limit the specific selection of the first control switch 33. Any element that can drive the first driving component 31 when the first port 11 outputs AC power can be used, such as a transistor, a MOSFET or a thyristor.
[0041] In addition, if Figure 2As shown, the DC voltage acquisition module 2 can be set as an AD sampling circuit, through the third resistor R1 and the second power supply connected to the input end of the third resistor R1, the first port 11 is connected to the output end of the third resistor R1, the variable resistor RT is connected in parallel with the first port 11, and the output end of the variable resistor RT is grounded, so that when the first port 11 outputs a DC voltage, the DC voltage acquisition module 2 is connected and performs AD sampling on the DC voltage. At the same time,
[0042] In addition, if pulse width modulation is performed on the output voltage of the port of the single-chip computer 1, the dead zone duration of the output waveform can be adjusted by controlling the capacitance value of the first capacitor C1 and the resistance value of the second resistor R4. By extending the dead zone duration, it is ensured that the first driving component 31 of the first port 11 and the second driving component of the second port 12 can be staggered in starting, further reducing the load and the starting current.
[0043] Exemplarily, the first port 11 may also be connected to a third AC voltage driving module through a second capacitor, and the first AC voltage driving module 3 is configured to form a path when the first port 11 outputs a high-level signal, and the third AC voltage driving module is configured to form a path when the first port 11 outputs a low-level signal; or, the first AC voltage driving module 3 is configured to form a path when the first port 11 outputs a low-level signal, and the third AC voltage driving module is configured to form a path when the first port 11 outputs a high-level signal. That is, the first port 11 is connected to three modules, including two AC voltage driving modules, and the two AC voltage driving modules are driven at a high level or a low level, respectively, which further improves the multiplexing rate of the port of the single-chip computer 1 and reduces the production cost.
[0044] According to another aspect of the present application, a cooking utensil is provided, comprising a pot body, wherein the pot body is provided with a control system, an inner pot and a heating device; the control system comprises a single-chip microcomputer and the single-chip microcomputer port multiplexing circuit connected to the single-chip microcomputer, and the pot body is provided with a first fan and a second fan, the first fan is provided on the side of the inner pot, and the second fan is provided on the side or bottom of the inner pot.
[0045] Specifically, the first fan and the second fan are used to cool the inner pot, reduce the temperature of the inner pot, so that an isolating water film is formed between the inner pot and the rice, thereby achieving the effect of non-stick rice. Providing two fans can enhance the cooling effect and improve the practicality of the cooking utensil.
[0046] As an optional implementation, the first fan is connected to the AC voltage driving module, and when the first port 11 is in an output state and outputs AC voltage, the AC voltage driving module drives the first fan to work; the second fan is connected to the second port 12 of the single-chip computer 1 through the second driving module 4; the first port 11 and the second port 12 output alternately, and alternately control the first fan and the second fan.
[0047] Specifically, through this arrangement, the two fans can be started at an alternating time, thereby reducing the starting current.
[0048] So far, the technical solutions of the present disclosure have been described in combination with the above multiple embodiments, but it is easy for those skilled in the art to understand that the protection scope of the present disclosure is not limited to these specific embodiments. Without departing from the technical principles of the present disclosure, those skilled in the art can split and combine the technical solutions in the above-mentioned various embodiments, and can also make equivalent changes or replacements to the relevant technical features. Any changes, equivalent replacements, improvements, etc. made within the technical concept and / or technical principle of the present disclosure will fall within the protection scope of the present disclosure.
[0049] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0050] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.
Claims
1. A single-chip microcomputer port multiplexing circuit, the single-chip microcomputer comprising a first port with input / output function, characterized in that: include: A DC voltage acquisition module: the input end is connected to the first port of the single-chip microcomputer, and is used to obtain a DC sampling voltage signal when the first port is in an input state; The first AC voltage driving module: the input end is connected to the first port of the single chip computer through the first capacitor, and is used to form a path when the first port outputs the AC voltage in the output state.
2. The single chip microcomputer port multiplexing circuit as claimed in claim 1, characterized in that: The single chip microcomputer is also provided with a pulse width modulation module, which is connected to the first port and is used to output a pulse modulation voltage to the first AC voltage driving module.
3. The single chip microcomputer port multiplexing circuit as claimed in claim 1, characterized in that: It also includes a second driving module connected to the second port of the single chip microcomputer, and the second port outputs a control signal to drive the second driving module.
4. The single chip microcomputer port multiplexing circuit as claimed in claim 3, characterized in that: The first port and the second port output alternately to alternately control the first AC voltage driving module and the second driving module.
5. The single chip microcomputer port multiplexing circuit as claimed in claim 3, characterized in that: The second port is further configured to output a control signal when the first port is in an input state.
6. The single chip microcomputer port multiplexing circuit as claimed in claim 3, characterized in that: The first port is also used to obtain a DC sampling voltage signal through a DC voltage acquisition module when the second port outputs a control signal.
7. The single chip microcomputer port multiplexing circuit as claimed in claim 1, characterized in that: The first AC voltage driving module is connected to a first driving component and includes a first power supply connected to an input end of the first driving component and a first control switch connected to an output end of the first driving component; The enable end of the first control switch is connected to the first capacitor through a first resistor, the output end is grounded, and the input end is connected to the first driving component, wherein a second resistor is also arranged in parallel between the enable end and the output end; when the first port is in an output state and outputs a high-level or low-level AC voltage signal, the first control switch forms a path.
8. The single chip microcomputer port multiplexing circuit as claimed in claim 7, characterized in that: The first control switch includes at least one of a MOS tube, a triode and a thyristor.
9. A cooking utensil, characterized in that: It includes a pot body, which is equipped with a control system, an inner pot and a heating device; the control system includes a single-chip microcomputer and a single-chip microcomputer port multiplexing circuit as described in any one of claims 1 to 8 connected to the single-chip microcomputer; the pot body is equipped with a first fan and a second fan, the first fan is arranged on the side of the inner pot, and the second fan is arranged on the side or bottom of the inner pot.
10. The cooking device according to claim 9, characterized in that: The first fan is connected to the first AC voltage driving module. When the first port outputs AC voltage in an output state, the first AC voltage driving module drives the first fan to work; the second fan is connected to the second port of the single-chip computer through the second driving module; the first port and the second port output alternately to alternately control the first fan and the second fan.
