Household appliance IO port multiplexing method, device and circuit and household appliance
By detecting the rectified current phase and judging the control command type in the integrated chip circuit of household appliances, the IO port is reused, which solves the problem of limited resources of household appliances' IO ports, increases functional capabilities and reduces costs.
Patent Information
- Application Number
- CN202411993015.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-29
AI Technical Summary
In the prior art, household appliances have limited IO port resources, which is difficult to meet increasingly complex functional needs. At the same time, high-performance chips are costly, making it difficult to find a balance between cost and function.
By connecting the IO port of the integrated chip circuit to the thyristor controller and the functional unit, the phase of the rectified current is detected, the control command type is judged, and the IO port mode is switched after the preset time period, thereby realizing the IO port multiplexing.
The input and output multiplexing of the IO port is realized, the functional capabilities of the integrated chip circuit are increased, and the product cost is reduced.
Smart Images

Figure CN119906409A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of small household appliances, and in particular to a household appliance IO port multiplexing method, device, circuit and household appliance. Background Art
[0002] Rice cookers, electric cookers, induction cookers, ovens, microwave ovens, etc. are all commonly used household appliances. As the functions of rice cookers and electric cookers become more and more complex, more and more circuits need to be controlled.
[0003] The increasing number of control circuits means that the requirements for the IO port resources of integrated chips are getting higher and higher. However, the IO port resources of low-cost chips in the existing technology are limited and it is difficult to meet the needs of increasingly complex functions. Chips with more IO port resources are more expensive.
[0004] In the prior art, there is no method that can solve the contradiction between the increasing demand for IO port resources of household appliances and the cost issue. Summary of the invention
[0005] In order to solve the above technical problem or at least partially solve the above technical problem, the present invention provides a household appliance IO port multiplexing method, device, circuit and household appliance.
[0006] In a first aspect, the present invention provides an IO port multiplexing method, the method is applied to an integrated chip circuit of a household appliance, the integrated chip circuit includes an IO port, the IO port is connected to a thyristor controller, and the IO port is also connected to a functional unit, the method includes:
[0007] Detecting the phase of the rectified current;
[0008] When the zero phase of the rectified current is detected, determining the type of the last control command received;
[0009] If the type of the last control command is to turn on the thyristor controller, the IO port is placed in output mode, and a driving current is output from the IO port, wherein the driving current is used to turn on the thyristor controller;
[0010] After a preset time period, the IO port is placed in an input mode, and the IO port in the input mode is used to receive an input signal from the functional unit.
[0011] Optionally, if the type of the last control command is to turn off the thyristor controller, the output of the driving current from the IO port is stopped.
[0012] Optionally, the preset duration is obtained according to the conduction angle of the thyristor controller.
[0013] Optionally, within the preset time period, the driving voltage corresponding to the driving current is greater than or equal to the turn-on voltage of the thyristor controller.
[0014] Optionally, the driving current is a PWM square wave.
[0015] Optionally, before detecting the phase of the rectified current, the method further includes:
[0016] Rectifying the original grid current, and using the rectified original grid current as the rectified current;
[0017] Wherein, the rectified current is a half-wave current, and the voltage of the rectified current is a positive value.
[0018] Optionally, the functional unit is a voltage sampling unit, and the IO port in input mode is used to receive an input signal from the functional unit, including:
[0019] The IO port in input mode is used to receive the sampled voltage from the voltage sampling unit.
[0020] In a second aspect, a household appliance IO port multiplexing device is provided, the household appliance IO port multiplexing device comprises a zero-point phase sampling circuit and an integrated chip circuit, the integrated chip circuit comprises an IO port, the IO port is connected to a thyristor controller, and the IO port is also connected to a functional unit, wherein:
[0021] The zero-point phase sampling circuit is used to detect the phase of the rectified current;
[0022] The integrated chip circuit is used to determine the type of the last control command received when the zero phase of the rectified current is detected;
[0023] The integrated chip circuit is also used for putting the IO port in output mode and outputting a driving current from the IO port if the type of the last control command is to turn on the thyristor controller, wherein the driving current is used to turn on the thyristor controller;
[0024] The integrated chip circuit is also used to put the IO port in an input mode after a preset time period, and the IO port in the input mode is used to receive an input signal from the functional unit.
[0025] In a third aspect, a household appliance IO port multiplexing circuit is provided, the multiplexing circuit comprising:
[0026] A rectifier circuit, used for rectifying the original grid current and using the rectified original grid current as the rectified current;
[0027] A zero-point phase sampling circuit, used for detecting the phase of the rectified current;
[0028] A thyristor controller, used for controlling the household appliance;
[0029] An integrated chip circuit, used for determining the type of the last control command received when the zero phase of the rectified current is detected;
[0030] The integrated chip circuit is also used for putting the IO port in output mode and outputting a driving current from the IO port if the type of the last control command is to turn on the thyristor controller, wherein the driving current is used to turn on the thyristor controller;
[0031] The integrated chip circuit is also used to put the IO port in an input mode after a preset time period, and the IO port in the input mode is used to receive an input signal from a functional unit.
[0032] In a fourth aspect, a household appliance is provided, applying any of the methods described above.
[0033] The present invention provides a method, device, circuit and household appliance for multiplexing IO ports of household appliances. The method is applied to an integrated chip circuit of a household appliance, wherein the integrated chip circuit includes an IO port, wherein the IO port is connected to a thyristor controller, and wherein the IO port is also connected to a functional unit. The method includes: detecting the phase of a rectifier current; when the zero-point phase of the rectifier current is detected, determining the type of the last control command received; if the type of the last control command is to turn on the thyristor controller, then the IO port is placed in an output mode, and a driving current is output from the IO port, wherein the driving current is used to turn on the thyristor controller; after a preset time, the IO port is placed in an input mode, wherein the IO port in the input mode is used to receive an input signal from the functional unit. The present invention can multiplex IO ports and reduce costs. In an embodiment of the present invention, the IO port of the integrated chip circuit can be used as an output port for outputting the driving current of the thyristor controller, or as an input port for receiving an input signal from the functional unit. That is, the IO port of the embodiment of the present invention realizes the multiplexing of input and output, and the multiplexing of the IO port can be realized without replacing the integrated chip circuit, thereby realizing more functions and reducing the cost of the product. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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.
[0036] Figure 1 The figure shows an application environment diagram of the IO port multiplexing method according to an embodiment of the present invention;
[0037] Figure 2 It is a flow chart of a household appliance IO port multiplexing method according to an embodiment of the present invention;
[0038] Figure 3 FIG. 1 is a schematic diagram showing the turning on and off of a thyristor controller according to an embodiment of the present invention;
[0039] Figure 4 The figure is a structural block diagram of a household appliance IO port multiplexing circuit according to an embodiment of the present invention;
[0040] Figure 5 FIG. 1 is a circuit diagram of an IO port multiplexing circuit for a household appliance according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] Figure 1 The figure shows an application environment diagram of the IO port multiplexing method according to an embodiment of the present invention. Figure 1 The method of the embodiment of the present invention can also be applied to other household appliances.
[0043] The household appliance comprises an integrated chip circuit, wherein the integrated chip circuit comprises an IO port, wherein the IO port is connected to a thyristor controller, and the IO port is also connected to a functional unit.
[0044] Figure 2 FIG. 1 is a flow chart of a method for multiplexing IO ports of a household appliance according to an embodiment of the present invention. Figure 2 As shown, the method includes:
[0045] Step 210, detecting the phase of the rectified current;
[0046] Step 220, when the zero phase of the rectified current is detected, determining the type of the last control command received;
[0047] Step 230: If the type of the last control command is to turn on the thyristor controller, the IO port is placed in output mode, and a drive current is output from the IO port, where the drive current is used to turn on the thyristor controller;
[0048] Step 240: After a preset time period, the IO port is placed in an input mode, and the IO port in the input mode is used to receive an input signal from the functional unit.
[0049] In the embodiment of the present invention, if the type of the last control command is to turn off the thyristor controller, the output of the driving current from the IO port is stopped.
[0050] In an embodiment of the present invention, if the type of the last control command is to turn off the thyristor controller, the IO port stops outputting the driving current, but the IO port can also be in output mode, or in other embodiments of the present invention, the IO port is in input mode.
[0051] In an embodiment of the present invention, the preset duration is obtained according to a conduction angle of the thyristor controller.
[0052] In the embodiment of the present invention, within the preset time period, the driving voltage corresponding to the driving current is greater than or equal to the turn-on voltage of the thyristor controller.
[0053] In the embodiment of the present invention, the driving current is a PWM square wave.
[0054] In the embodiment of the present invention, for the convenience of description, the time period from the zero phase to the preset time length can be recorded as T1, and the time period from the T1 time period to the next zero phase can be recorded as T2.
[0055] The driving current of the thyristor controller in the embodiment of the present invention occurs in the T1 time period, mainly by utilizing the trigger conduction characteristics and current holding characteristics of the thyristor controller. When the driving voltage of the thyristor controller reaches a certain voltage value, it can accelerate the electron injection and form a channel for current flow, thereby achieving conduction. After the thyristor controller enters the on state, as long as the current in its own circuit is higher than its holding current, it will remain in the on state. Only when the current in the thyristor controller's own circuit drops to a level lower than the holding current will the thyristor return to the off state. That is, even if there is no driving current in the driving circuit of the thyristor controller, the thyristor controller will return to the off state when the driving circuit is in a 180-degree phase.
[0056] In the embodiment of the present invention, the types of control commands may include turning on the thyristor controller and turning off the thyristor controller. The control command may be generated by an integrated chip circuit or other circuits, which will not be described in detail here.
[0057] Figure 3 The schematic diagram of the turn-on and turn-off of the thyristor controller of the embodiment of the present invention is shown. In the T1 time period, the IO port outputs the driving current and the thyristor controller is turned on. In the T2 time period, even if the IO port is switched to the input mode, the thyristor controller has no driving current and the thyristor controller is still turned on.
[0058] In the T3 time period, if the type of the last control command is still to turn on the thyristor controller, the IO port outputs a drive signal again to keep the thyristor controller turned on.
[0059] In the T4 time period, the IO port is switched to input mode, and in the T5 time period ( Figure 3 The complete T5 time period is not shown in the figure. At the start time, the type of the last control command is to turn off the thyristor controller, then the output of the drive circuit from the IO port is stopped.
[0060] In the embodiment of the present invention, the IO port of the integrated chip circuit can be used as an output port for outputting the driving current of the thyristor controller, and can also be used as an input port for receiving input signals from the functional unit. That is, the IO port of the embodiment of the present invention realizes the multiplexing of input and output, and the multiplexing of the IO port can be realized without replacing the integrated chip circuit, thereby realizing more functions and reducing the cost of the product.
[0061] In the embodiment of the present invention, before detecting the phase of the rectified current, the method further includes:
[0062] Rectifying the original grid current, and using the rectified original grid current as the rectified current;
[0063] Wherein, the rectified current is a half-wave current, and the voltage of the rectified current is a positive value.
[0064] In an embodiment of the present invention, the functional unit is a voltage sampling unit, and the IO port in input mode is used to receive an input signal from the functional unit, including:
[0065] The IO port in input mode is used to receive the sampled voltage from the voltage sampling unit.
[0066] In the embodiment of the present invention, the functional unit is a temperature acquisition unit, and the IO port in the input mode is used to receive an input signal from the functional unit, including:
[0067] The IO port in input mode is used to receive the temperature signal from the temperature acquisition unit.
[0068] In the embodiment of the present invention, the functional unit may also be other power supplies, which will not be described in detail here.
[0069] The embodiment of the present invention further provides a household appliance IO port multiplexing device, the device comprises a zero-point phase sampling circuit and an integrated chip circuit, the integrated chip circuit comprises an IO port, the IO port is connected to a thyristor controller, and the IO port is also connected to a functional unit, wherein:
[0070] The zero-point phase sampling circuit is used to detect the phase of the rectified current;
[0071] The integrated chip circuit is used to determine the type of the last control command received when the zero phase of the rectified current is detected;
[0072] The integrated chip circuit is also used for putting the IO port in output mode and outputting a driving current from the IO port if the type of the last control command is to turn on the thyristor controller, wherein the driving current is used to turn on the thyristor controller;
[0073] The integrated chip circuit is also used to put the IO port in an input mode after a preset time period, and the IO port in the input mode is used to receive an input signal from the functional unit.
[0074] In an embodiment of the present invention, the integrated chip circuit is further configured to stop outputting the driving current from the IO port if the type of the last control command is to turn off the thyristor controller.
[0075] In an embodiment of the present invention, the preset duration is obtained according to a conduction angle of the thyristor controller.
[0076] In the embodiment of the present invention, within the preset time period, the driving voltage corresponding to the driving current is greater than or equal to the turn-on voltage of the thyristor controller.
[0077] In the embodiment of the present invention, the driving current is a PWM square wave.
[0078] In an embodiment of the present invention, the device further includes a rectifier circuit, which is used to:
[0079] Rectifying the original grid current, and using the rectified original grid current as the rectified current;
[0080] Wherein, the rectified current is a half-wave current, and the voltage of the rectified current is a positive value.
[0081] In an embodiment of the present invention, the functional unit is a voltage sampling unit, and the IO port in input mode is used to receive an input signal from the functional unit, including:
[0082] The IO port in input mode is used to receive the sampled voltage from the voltage sampling unit.
[0083] Figure 4 FIG. 1 is a structural block diagram of an IO port multiplexing circuit for household appliances according to an embodiment of the present invention. Figure 4 As shown, the multiplexing circuit includes:
[0084] The rectifier circuit 410 is used to rectify the original grid current and use the rectified original grid current as the rectified current;
[0085] A zero-point phase sampling circuit 420, used to detect the phase of the rectified current;
[0086] A thyristor controller 430, used to control the household appliance;
[0087] The integrated chip circuit 440 is used to determine the type of the last control command received when the zero phase of the rectified current is detected;
[0088] The integrated chip circuit 440 is further configured to put the IO port in output mode and output a driving current from the IO port if the type of the last control command is to turn on the thyristor controller, wherein the driving current is used to turn on the thyristor controller;
[0089] The integrated chip circuit 440 is also used to put the IO port in an input mode after a preset time period, and the IO port in the input mode is used to receive an input signal from a functional unit.
[0090] Figure 5 FIG. 1 is a circuit diagram of an IO port multiplexing circuit for household appliances according to an embodiment of the present invention. Figure 5 As shown, the circuit includes a rectifier circuit 510 , a zero-point phase sampling circuit 520 , a thyristor controller 530 , an integrated chip circuit 540 and a temperature sampling circuit 550 .
[0091] The thyristor controller 530 and the temperature sampling circuit 550 are both connected to the 16th port of the integrated chip circuit 540, and the 16th port is an IO port. According to the control command, the 16th port of the integrated chip circuit 540 can be used as an output port to output the driving current of the thyristor controller 530, and can also be used as an input port to receive the temperature sampling signal from the temperature sampling circuit 550.
[0092] An embodiment of the present invention further provides a household appliance, to which any of the above methods is applied.
[0093] An embodiment of the present invention further provides a household appliance, comprising the household appliance IO port multiplexing device as described in any one of the above items.
[0094] An embodiment of the present invention further provides a household appliance, comprising the household appliance IO port multiplexing circuit as described in any one of the above items.
[0095] In the embodiment of the present invention, the IO port of the integrated chip circuit can be used as an output port for outputting the driving current of the thyristor controller, and can also be used as an input port for receiving input signals from the functional unit. That is, the IO port of the embodiment of the present invention realizes the multiplexing of input and output, and the multiplexing of the IO port can be realized without replacing the integrated chip circuit, thereby realizing more functions and reducing the cost of the product.
[0096] Figure 2 FIG. 1 is a flow chart of a method for multiplexing IO ports of a household appliance in one embodiment. It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0097] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0098] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0099] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A household appliance IO port multiplexing method, characterized in that: The method is applied to an integrated chip circuit of a household appliance, wherein the integrated chip circuit comprises an IO port, wherein the IO port is connected to a thyristor controller, and the IO port is also connected to a functional unit. The method comprises: Detecting the phase of the rectified current; When the zero phase of the rectified current is detected, determining the type of the last control command received; If the type of the last control command is to turn on the thyristor controller, the IO port is placed in output mode, and a driving current is output from the IO port, wherein the driving current is used to turn on the thyristor controller; After a preset time period, the IO port is placed in an input mode, and the IO port in the input mode is used to receive an input signal from the functional unit.
2. The method according to claim 1, characterized in that If the type of the last control command is to turn off the thyristor controller, the output of the driving current from the IO port is stopped.
3. The method according to claim 1, characterized in that The preset duration is obtained according to the conduction angle of the thyristor controller.
4. The method according to claim 1, characterized in that: Within the preset time period, the driving voltage corresponding to the driving current is greater than or equal to the turn-on voltage of the thyristor controller.
5. The method according to claim 1, characterized in that: The driving current is a PWM square wave.
6. The method according to claim 1, characterized in that Before detecting the phase of the rectified current, the method further includes: Rectifying the original grid current, and using the rectified original grid current as the rectified current; Wherein, the rectified current is a half-wave current, and the voltage of the rectified current is a positive value.
7. The method according to claim 1, characterized in that The functional unit is a voltage sampling unit, and the IO port in input mode is used to receive an input signal from the functional unit, including: The IO port in input mode is used to receive the sampled voltage from the voltage sampling unit.
8. A household appliance IO port multiplexing device, characterized in that: The household appliance IO port multiplexing device comprises a zero-point phase sampling circuit and an integrated chip circuit, wherein the integrated chip circuit comprises an IO port, wherein the IO port is connected to a thyristor controller, and the IO port is also connected to a functional unit, wherein: The zero-point phase sampling circuit is used to detect the phase of the rectified current; The integrated chip circuit is used to determine the type of the last control command received when the zero phase of the rectified current is detected; The integrated chip circuit is also used for putting the IO port in output mode and outputting a driving current from the IO port if the type of the last control command is to turn on the thyristor controller, wherein the driving current is used to turn on the thyristor controller; The integrated chip circuit is also used to put the IO port in an input mode after a preset time period, and the IO port in the input mode is used to receive an input signal from the functional unit.
9. A household appliance IO port multiplexing circuit, characterized in that: The multiplexing circuit comprises: A rectifier circuit, used for rectifying the original grid current and using the rectified original grid current as the rectified current; A zero-point phase sampling circuit, used for detecting the phase of the rectified current; A thyristor controller, used for controlling the household appliance; An integrated chip circuit, used for determining the type of the last control command received when the zero phase of the rectified current is detected; The integrated chip circuit is also used for putting the IO port in output mode and outputting a driving current from the IO port if the type of the last control command is to turn on the thyristor controller, wherein the driving current is used to turn on the thyristor controller; The integrated chip circuit is also used to put the IO port in an input mode after a preset time period, and the IO port in the input mode is used to receive an input signal from a functional unit.
10. A household appliance, characterized in that: The method according to any one of claims 1 to 7 is applied.