Universal module, control method thereof and electric appliance system

By designing universal modules, we solve the problems of long development cycles and complex control logic of electrical products, simplify data transmission and load control, shorten the development cycle and reduce costs.

CN118689149APending Publication Date: 2024-09-24GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410728316.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The development cycle of existing electrical products is long, and due to differences, the control logic is complex and the connections between boards are confusing, which increases the difficulty and cost of development.

Method used

Design a universal module with multiple connection ports for connecting sensors, loads and electrical devices. It can acquire and store sensor data, perform data transmission and load control after receiving device instructions, simplify development logic and reduce inter-board wiring.

Benefits of technology

Through the universal module, each device only needs to send instructions to the module to obtain data or control the load, avoiding the need for each device to independently connect to the sensor, simplifying the development process, shortening the development cycle and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689149A
    Figure CN118689149A
Patent Text Reader

Abstract

The invention relates to a universal module, a control method thereof and an electric appliance system, the universal module comprises a plurality of connection ports, the connection ports are respectively used for connecting a sensor, a load and more than two devices of an electric appliance, the universal module is used for acquiring and storing data transmitted by the sensor, and after receiving a data acquisition instruction from the devices, the data are transmitted to the electric appliance. And the universal module is used for calling data corresponding to the data acquisition instruction from the stored data and sending the data to a sender of the data acquisition instruction, and the universal module is also used for controlling the load according to a load control instruction after receiving the load control instruction from the device. The situation that each device needs to be correspondingly connected with one sensor is avoided, inter-board connecting lines are reduced, and universality is expanded. In the development process, a developer only needs to pay attention to command sending of the device, product development acceleration and control logic simplification are facilitated, and therefore the development period is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electrical technology, and in particular to a universal module and a control method thereof, and an electrical system. Background Art

[0002] With the development of social economy and the improvement of people's living standards, the types and functions of electrical appliances are becoming more and more abundant. In addition to having stronger performance, multifunctional electrical appliances also have more loads to control and more data to collect, which also means that the control panel of the electrical appliance needs to be connected to more sensors and loads.

[0003] In order to meet the diverse needs of users and to reflect the differences of electrical products, there are often multiple similar electrical appliances with different selling points. However, the differences lead to different control loads and data collection, and a complete set of structures and control logic needs to be designed for different products. For product development, this will increase the development cycle and is not convenient for the subsequent development of more different models. Summary of the invention

[0004] Based on this, it is necessary to provide a universal module and its control method and electrical system that are conducive to shortening the development cycle in order to address the problems of long development cycle and inconvenience in development of existing electrical products.

[0005] A universal module is applied to an electrical appliance, the universal module comprising a plurality of connection ports, each of the connection ports being respectively used to connect a sensor, a load and two or more devices of the electrical appliance;

[0006] The universal module is used to acquire and store the data transmitted by the sensor, and after receiving the data acquisition instruction from the device, call the data corresponding to the data acquisition instruction from the stored data and send it to the sender of the data acquisition instruction;

[0007] The general module is also used to control the load according to the load control instruction after receiving the load control instruction from the device.

[0008] In one of the embodiments, the connection port is used to connect the power board, display board and control board of the electrical appliance;

[0009] The universal module is used to obtain electric energy from the power board and use the input electric energy to supply power to the display board and the control board.

[0010] In one embodiment, the same communication method is used between the connection port and the power board, between the connection port and the display board, and between the connection port and the control board.

[0011] In one embodiment, the universal module is also used to forward the high-power device control instruction to the power board after receiving the high-power device control instruction with a transfer mark; the high-power device control instruction is an instruction for controlling a device that supplies high-power electricity.

[0012] In one of the embodiments, the load and sensor connected to the connection port are devices controlled by at least two devices among the power board, the display board and the control board; or are devices controlled by one device among the power board, the display board and the control board, but the IO port resources of the controlled device are insufficient.

[0013] In one of the embodiments, the load and sensor connected to the connection port are devices that can complete their work by being powered by weak electricity.

[0014] In one embodiment, the load and sensor connected to the connection port are common devices in the electrical appliances used by the universal module.

[0015] In one embodiment, the universal module further includes a register and a processor connected to the connection port, and the register is connected to the processor.

[0016] In one of the embodiments, the general module is further used to clear the original data of the sensor and store the data currently transmitted by the sensor when the data currently transmitted by the sensor is acquired.

[0017] In one of the embodiments, the general module is further configured to, after receiving a sensor stop instruction, stop receiving data from a sensor corresponding to the sensor stop instruction, and clear the data from the sensor corresponding to the sensor stop instruction.

[0018] A control method of a universal module, based on the above universal module implementation, comprises:

[0019] Acquire and store data transmitted by sensors;

[0020] After receiving the data acquisition instruction from the device, calling the data corresponding to the data acquisition instruction from the stored data and sending it to the sender of the data acquisition instruction;

[0021] After receiving the load control instruction from the device, the load is controlled according to the load control instruction.

[0022] In one embodiment, the connection port is used to connect a power board, a display board and a control board of the electrical appliance, and the method further comprises:

[0023] The electric energy is obtained from the power board, and the display board and the control board are powered by the electric energy.

[0024] In one embodiment, the method further comprises:

[0025] After receiving the high-voltage device control instruction with a transfer mark, the high-voltage device control instruction is forwarded to the power board; the high-voltage device control instruction is an instruction for controlling a device for high-voltage power supply.

[0026] In one embodiment, the method further comprises:

[0027] When the data currently transmitted by the sensor is acquired, the original data of the sensor is cleared and the data currently transmitted by the sensor is stored.

[0028] In one embodiment, the method further comprises:

[0029] After receiving the sensor stop instruction, stop receiving the data of the sensor corresponding to the sensor stop instruction, and clear the data of the sensor corresponding to the sensor stop instruction.

[0030] An electrical appliance system comprises an electrical appliance and the universal module as described above.

[0031] The above-mentioned universal module and its control method and electrical system, the universal module includes multiple connection ports, each connection port is used to connect two or more devices of sensors, loads and electrical appliances, the universal module is used to obtain and store the data transmitted by the sensor, after receiving the data acquisition instruction from the device, call the data corresponding to the data acquisition instruction from the stored data, and send it to the sender of the data acquisition instruction, the universal module is also used to control the load according to the load control instruction after receiving the load control instruction from the device. The universal module serves as a connection medium between the sensor, the load and the electrical device. When multiple devices need the data of the sensor, each device only needs to send the data acquisition instruction to the universal module and can obtain the instruction, avoiding that each device has to be connected to a corresponding sensor, reducing the connection between boards, and expanding the universality. In addition, when multiple devices need to control the load, only the load control instruction needs to be sent to the universal module, and the universal module controls the load. In this way, during development, the developer only needs to pay attention to the command issuance of the device, which is conducive to speeding up the development of the product and simplifying the control logic, thereby shortening the development cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 A schematic diagram of the connection relationship of common modules in an embodiment;

[0034] Figure 2 A schematic diagram of the connection relationship of universal modules in another embodiment;

[0035] Figure 3 It is a flowchart of a control method of a general module in one embodiment;

[0036] Figure 4 Schematic diagram of detailed connection relationship of universal modules in an embodiment. DETAILED DESCRIPTION

[0037] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0039] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0040] It can be understood that “at least one” means one or more, “plurality” means two or more, and “at least part of an element” means part or all of an element.

[0041] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0042] The universal module provided in the present application is applied to electrical appliances. The types of electrical appliances to which the universal module can be applied are not limited, for example, it can be a steam oven, or other electrical appliances, which can be determined according to actual needs. When the universal module is applied to an electrical appliance, it is connected to other parts of the electrical appliance. After being set up, the universal module can form an electrical appliance system with the electrical appliance. The universal module provided in the present application can be applied to multiple electrical appliances. When applied to electrical appliances of the same type, the structure of the universal module is the same or similar.

[0043] See also Figure 1 In one embodiment, a universal module is provided, the universal module comprising a plurality of connection ports, each of which is used to connect a sensor 120, a load 140, and two or more devices 200 of an electrical appliance. The universal module is used to obtain and store data transmitted by the sensor 120, and after receiving a data acquisition instruction from the device 200, the universal module calls data corresponding to the data acquisition instruction from the stored data and sends it to the sender of the data acquisition instruction. The universal module is also used to control the load 140 according to the load 140 control instruction after receiving a load 140 control instruction from the device 200.

[0044] Specifically, the universal module includes a plurality of connection ports to connect different objects to realize corresponding functions. In this embodiment, each connection port is used to connect a sensor 120, a load 140, and two or more devices 200 of an electrical appliance. It can be understood that each connection port is connected to an object to ensure the accuracy of the transmitted data.

[0045] The sensor 120 connected to the connection port of the universal module is generally a universal sensor 120 in the type of electrical appliances to which the universal module is applied. Taking the electrical appliance as a steam oven as an example, the sensor 120 may include a temperature sensor 120 and a humidity sensor 120 and the like.

[0046] The load 140 connected to the connection port of the universal module is generally a universal load 140 in the type of electrical appliances to which the universal module is applied. Taking the electrical appliance as a steam oven as an example, the load 140 may include a heat dissipation fan and a water pump.

[0047] The connection port of the universal module connects more than two devices 200, generally referring to connecting more than two devices 200. Furthermore, the devices 200 connected to the connection port of the universal module include at least two types to expand the working range of the universal module. The device 200 of the electrical appliance refers to the common device 200 of this type of device 200. For example, for a steam oven, the device 200 of the electrical appliance may include a power board, a display board and a control board. The power board is responsible for the access and distribution control of strong electricity, and supplies power to equipment that requires strong electricity, such as heating tubes and lighting lamps, and supplies power to devices 200 that require weak electricity. The display board is used to control information related to the display, and can be connected to a display screen with a touch function and physical buttons, etc. There are many types of control boards, such as a circuit board responsible for central control, an access board with a camera module, or other access boards that reflect differences.

[0048] The general module is used to obtain and store the data transmitted by the sensor 120. After receiving the data acquisition instruction from the device 200, the data corresponding to the data acquisition instruction is called from the stored data and sent to the sender of the data acquisition instruction. Further, the general module can regularly obtain the data transmitted by the sensor 120 and store the acquired data. After receiving the data acquisition instruction from the device 200, the data corresponding to the data acquisition instruction is called from the stored data, and the called data is sent to the sender of the data acquisition instruction, which will not occupy too many chip resources. The above implementation method is similar to the server and the client. Therefore, when multiple devices 200 need the data of the sensor 120, each device 200 only needs to send the data acquisition instruction to the general module and can obtain the instruction, avoiding that each device 200 has to be connected to a corresponding sensor 120, reducing costs, reducing inter-board connections, and expanding versatility. It also avoids the problem that a certain device 200 is connected to a sensor 120, but when another or two other controllers need to use the data of the sensor 120, the data must be transmitted back and forth too complicated. For example, when two devices 200 need the data of the temperature sensor 120, it is not necessary to connect each device 200 to a temperature sensor 120. Only one temperature sensor 120 needs to be connected through a universal module, and each device 200 can obtain the data of the temperature sensor 120 through the universal module.

[0049] The general module is also used to control the load 140 according to the load 140 control instruction after receiving the load 140 control instruction from the device 200. For devices such as the load 140, the general module only needs to directly control the load 140 after receiving the command. When two or more devices 200 of the electrical appliance have control over a certain load 140, it is only necessary to send the load 140 control instruction to the general module respectively, and the general module controls the load 140 according to the load 140 control instruction. Therefore, there is no need to consider the response priority of each device 200, and the response priority can be determined by the general module. In this way, during development, developers only need to pay attention to the issuance of commands from each device 200, which is conducive to speeding up product development and simplifying control logic.

[0050] In addition, for those devices that are not connected to the universal module and are only responsible for communication and control by a certain device 200, communication and control can be achieved by the device 200 itself. There are not too many such devices, and they are also differences in the same series of electrical appliances to highlight the selling points, which does not affect the role of the universal module in the entire system.

[0051] The above-mentioned universal module includes multiple connection ports, each of which is used to connect two or more devices of sensors, loads and electrical appliances. The universal module is used to obtain and store data transmitted by the sensor. After receiving the data acquisition instruction from the device, the data corresponding to the data acquisition instruction is called from the stored data and sent to the sender of the data acquisition instruction. The universal module is also used to control the load according to the load control instruction after receiving the load control instruction from the device. The universal module serves as a connection medium between sensors, loads and electrical devices. When multiple devices need sensor data, each device only needs to send a data acquisition instruction to the universal module and can obtain the instruction, avoiding the need for each device to be connected to a corresponding sensor, reducing inter-board connections, and expanding universality. In addition, when multiple devices need to control the load, only the load control instruction needs to be sent to the universal module, and the universal module controls the load. In this way, during development, developers only need to pay attention to the issuance of device commands, which is conducive to accelerating product development and simplifying control logic, thereby shortening the development cycle.

[0052] In one embodiment, Figure 2 As shown, the connection port is used to connect the power board 220, the display board 240 and the control board 260 of the electrical appliance, and the universal module is used to obtain power from the power board 220 and use the input power to power the display board 240 and the control board 260.

[0053] It can be understood that the power board 220, the display board 240 and the control board 260 are components of the electrical appliance, and each connection port is respectively connected to two or more components of the electrical appliance, that is, respectively connected to the power board 220, the display board 240 and the control board 260. Among them, the number of power boards 220 and display boards 240 connected to the universal module is usually one, and the number of control boards 260 connected to the universal module can be more than two.

[0054] The power board 220 is responsible for the access and distribution control of strong electricity, and supplies power to devices that require strong power, such as heating tubes and lighting lamps, and also supplies power to devices that require weak power. The display board 240 is used to control information related to the display, and can be connected to a display screen with a touch function and physical buttons. The control board 260 has various types, such as a circuit board responsible for central control, an access board with a camera module, or other access boards that reflect differences.

[0055] The universal module is used to obtain electric energy from the power board 220, and use the connected electric energy to power the display panel 240 and the control panel 260. That is to say, after a universal module is added to the electrical appliance, the power board 220 only needs to supply one weak current to the universal module, and the universal module can supply power to other connected devices, for example, in this embodiment, to the display panel 240 and the control panel 260. Generally speaking, the power supplied by the universal module to the display panel 240 and the control panel 260 is weak current.

[0056] In this embodiment, the connection port is used to connect the power board, display board and control board of the electrical appliance. The universal module is used to obtain electrical energy from the power board and use the input electrical energy to power the display board and the control board. The universal module can act as a power supply circuit.

[0057] In one embodiment, the same communication method is used between the connection port and the power board, between the connection port and the display board, and between the connection port and the control board.

[0058] The communication method includes a data transmission method and a communication protocol. The same communication method is used between the connection port and the power board, between the connection port and the display board, and between the connection port and the control board, which means that the same data transmission method is used between the connection port and the power board, between the connection port and the display board, and between the connection port and the control board, and the same set of communication protocols are followed. In addition, in order to facilitate communication, the same set of communication protocols are also followed between the control boards.

[0059] The data transmission method between the connection port and each device refers to the data transmission method between the connection port and the power board, the data transmission method between the connection port and the display board, and the data transmission method between the connection port and the control board. The communication protocol between the connection port and each device refers to the communication protocol between the connection port and the power board, the communication protocol between the connection port and the display board, and the communication protocol between the connection port and the control board.

[0060] The data transmission method between the connection port and each device is not unique. For example, UART can be used. UART does not require a clock or other timing signal to communicate normally and is convenient to use. It can be understood that in other embodiments, the data transmission method between the connection port and each device can also be replaced by SPI, IIC, USB, CAN, etc., making the solution more scalable and more competitive in more complex application scenarios.

[0061] The communication protocol between the connection port and each device includes frame header, frame length, control board identifier, command word, checksum, etc. Among them, the control board identifier is used to distinguish each control board, the command word allows the universal module to determine whether to read sensor data or control the load, and the data content is a detailed description of the command word. The connection port and each device comply with the same set of communication protocols, which facilitates efficient processing of communication between the universal module and the power board, display board, and control board.

[0062] With the universal module as the center, the power board, display board, and control board connected to the universal module are all weak current, so in actual production, only one line is used between the connection port of the universal module and a connected device. That is, the universal module and the power board, the universal module and the display board, and the universal module and the control board each only need one inter-board connection line to achieve power supply and communication at the same time. Of course, this has certain requirements on the number of connection ports of the universal module, after all, it is one-to-many. This method of one-to-many connection ports that simultaneously meet power supply and communication makes the universal module play a role similar to a server in the entire electrical system, requiring the universal module to coordinate multi-party communications.

[0063] The universal module plays a role similar to that of a server. Although it is connected to the power board, display board, control board, as well as multiple sensors and loads, its control logic and implementation method are not complicated under the support of the same communication protocol.

[0064] In this embodiment, the same communication method is used between the connection port and the power board, between the connection port and the display board, and between the connection port and the control board, which is beneficial to improving communication efficiency and ensuring communication quality.

[0065] In one embodiment, the general module is further used to forward the strong electric device control instruction to the power board after receiving the strong electric device control instruction with the transfer mark, wherein the strong electric device control instruction is an instruction for controlling the strong electric power supply device.

[0066] Generally, devices powered by strong electricity are on the power board, and the power board is responsible for their control. If the power board issues commands to control such devices, there is no need for processing by the general module.

[0067] However, considering that there may be situations where the display board and control board have the right to control the equipment with strong power supply, it is necessary to go through the universal module. In fact, this kind of command that needs to be conveyed through the universal module can be solved by using the command word in the communication protocol. The role of the command word can enable the universal module to distinguish the received commands, such as the commands received from the power board, display board, and other control boards, whether they are to obtain sensor data or control the load. In this way, the role of the command word can be supplemented in the communication protocol, and the role of command transfer can be added. After receiving the control instruction of the strong electric device with a transfer mark in the communication protocol, the universal module forwards the control instruction of the strong electric device to the power board, and the power board controls the load with strong power supply.

[0068] In this embodiment, the general module is also used to forward the strong electric device control instruction to the power board after receiving the strong electric device control instruction with the transfer mark. The strong electric device control instruction is an instruction to control the strong electric power supply device. In this way, the control of the strong electric power supply device can be achieved.

[0069] In one embodiment, when determining whether a load or a sensor can be connected to the universal module, it can be judged according to the following requirements: the load and sensor connected to the connection port are devices controlled by at least two devices among the power board, display board and control board; or are devices controlled by one device among the power board, display board and control board, but the IO port resources of the controlled device are insufficient.

[0070] Specifically, the load and sensor connected to the connection port are devices controlled by at least two devices among the power board, the display board and the control board, which means that the load connected to the connection port is a device controlled by at least two devices among the power board, the display board and the control board, and the sensor connected to the connection port is a device controlled by at least two devices among the power board, the display board and the control board. In this way, the chip resources of the general module can be saved. For example, there is a temperature sensor, and both the display board and the power board need the temperature data of the temperature sensor. Then this temperature sensor is an access device controlled by multiple parties and needs to be connected to the general module. For another example, there is an infrared sensor that is only needed by the display board. Then this infrared sensor can only be controlled by the display board and does not need to be connected to the general module. It can be controlled by the display board alone, so as to achieve the purpose of saving chip resources of the general module.

[0071] The load and sensor connected to the connection port can also be controlled by a device in the power board, display board and control board, but the IO port resources of the controlled device are insufficient, thereby ensuring that the load and sensor can be put into normal use. For example, there is an infrared sensor that can only be controlled by the display board, but the IO port resources of the display board are insufficient and the infrared sensor cannot be connected. In this way, the infrared sensor can be connected to the universal module and controlled by the universal module so that the data of the infrared sensor can be obtained and used.

[0072] In this embodiment, the load and sensor connected to the connection port are devices controlled by at least two devices among the power board, display board and control board, which can save port resources of the general module. The load and sensor connected to the connection port can also be devices controlled by one device among the power board, display board and control board, but the IO port resources of the controlled device are insufficient, which is conducive to the normal use of the load and sensor.

[0073] In one embodiment, the load and sensor connected to the connection port are devices that can complete the work by weak current power supply. Therefore, after receiving the electric energy, the universal module only needs to supply weak current, and the structural requirements are low.

[0074] In one embodiment, the load and sensor connected to the connection port are common devices in the electrical appliances to which the universal module is applied. The common devices in the electrical appliances to which the universal module is applied refer to devices generally available in the same type of electrical appliances to which the universal module is applied. For example, when the universal module is applied to a steam oven, the load and sensor connected to the connection port may include a temperature sensor, a humidity sensor, a cooling fan, a water pump, etc.

[0075] In this embodiment, the load and sensor connected to the connection port are common devices in electrical appliances applied with the universal module, which can greatly improve the speed of product development and increase the commonality of used materials.

[0076] In one embodiment, the universal module also includes a register and a processor connected to the connection port, and the register is connected to the processor. Among them, the register is used to store data, and the processor is used to process data. The register is connected to the connection port connected to the sensor, and the data transmitted by the sensor can be obtained and stored. The processor is connected to the register, the connection port connected to the device of the electrical appliance, and the port connected to the load, and can receive instructions from the device, analyze the instructions, call data from the register to transmit to the device, and can also send control instructions to the load to control the load to work. It can be understood that in other embodiments, the universal module can also be other structures, as long as those skilled in the art believe that it can be implemented.

[0077] In this embodiment, the general module also includes a register and a processor connected to the connection port. The register is connected to the processor. The register, the processor and the connection port work together to realize functions such as data transmission and control of the general module.

[0078] In one embodiment, the general module is also used to clear the original data of the sensor and store the data currently transmitted by the sensor when the data currently transmitted by the sensor is obtained. Specifically, when the general module obtains the data currently transmitted by the sensor, it is considered that the data transmitted by the sensor has been updated, and the general module clears the original data of the sensor and then writes the new data to store the data currently transmitted by the sensor, thereby avoiding the risk of storage space overflow.

[0079] In one embodiment, the general module is further configured to stop receiving data from the sensor corresponding to the sensor stop instruction after receiving the sensor stop instruction, and clear the data from the sensor corresponding to the sensor stop instruction.

[0080] The sensor stop instruction is used to indicate that a certain sensor needs to stop working. After receiving the sensor stop instruction, the universal module only needs to stop receiving the data of the sensor corresponding to the sensor stop instruction and clear the data of the sensor corresponding to the sensor stop instruction, which is simple to implement.

[0081] The present application also provides a control method for a universal module, which is implemented based on the universal module of any of the above embodiments and can be specifically executed by the universal module, such as Figure 3 As shown, the control method of the general module includes steps 302 to 306.

[0082] Step 302: Acquire and store data transmitted by the sensor.

[0083] Furthermore, the general module can periodically acquire data transmitted by the sensor and store the acquired data.

[0084] Step 304: after receiving the data acquisition instruction from the device, call the data corresponding to the data acquisition instruction from the stored data and send it to the sender of the data acquisition instruction.

[0085] After receiving the data acquisition instruction from the device, the data corresponding to the data acquisition instruction is called from the stored data, and the called data is sent to the sender of the data acquisition instruction, which will not take up too many chip resources. The above implementation method is similar to that of the server and the client. Therefore, when multiple devices need sensor data, each device only needs to send a data acquisition instruction to the general module and obtain the instruction, avoiding the need for each device to be connected to a corresponding sensor, reducing costs, reducing inter-board connections, and expanding versatility. It also avoids the problem of overly complicated data transmission when a device is connected to a sensor, but another or two other controllers need to use the sensor data.

[0086] Step 306: After receiving the load control instruction from the device, control the load according to the load control instruction.

[0087] For devices such as loads, after receiving the command, the general module only needs to directly control the load. When two or more devices of an electrical appliance have control over a certain load, it is only necessary to send load control instructions to the general module respectively, and the general module controls the load according to the load control instructions. Therefore, there is no need to consider the response priority of each device, and the response priority can be determined by the general module. In this way, during development, developers only need to pay attention to the issuance of commands for each device, which is conducive to speeding up product development and simplifying control logic.

[0088] In this embodiment, the data transmitted by the sensor is obtained and stored. After receiving the data acquisition instruction from the device, the data corresponding to the data acquisition instruction is called from the stored data and sent to the sender of the data acquisition instruction. The universal module is also used to control the load according to the load control instruction after receiving the load control instruction from the device. The universal module serves as a connection medium between the sensor, the load and the electrical device. When there are multiple devices that need the data of the sensor, each device only needs to send the data acquisition instruction to the universal module and obtain the instruction, which avoids each device having to be connected to a corresponding sensor, reduces the connection between boards, and expands the versatility. In addition, when multiple devices need to control the load, only the load control instruction needs to be sent to the universal module, and the universal module controls the load. In this way, during development, the developer only needs to pay attention to the issuance of the device command, which is conducive to speeding up the development of the product and simplifying the control logic, thereby shortening the development cycle.

[0089] In one embodiment, the connection port is used to connect the power board, display board and control board of the electrical appliance, and the control method of the universal module also includes step 308: obtaining power from the power board, and using the connected power to power the display board and the control board.

[0090] The power board, display board and control board are components of the electrical appliance, and each connection port is connected to two or more components of the electrical appliance, that is, the power board, display board and control board are connected respectively. Among them, the number of power boards and display boards connected to the universal module is usually one, and the number of control boards connected to the universal module can be more than two.

[0091] The power board is responsible for the access and distribution control of strong electricity, supplying power to devices that require strong power, such as heating tubes and lighting, and also supplying power to devices that require weak power. The display board is used to control information related to the display, and can connect to a touch screen and physical buttons. There are many types of control boards, such as a circuit board responsible for central control, an access board with a camera module, or other access boards that reflect differences.

[0092] The universal module is used to obtain electric energy from the power board and use the connected electric energy to power the display board and the control board. That is to say, after adding a universal module to the electrical appliance, the power board only needs to supply one weak current to the universal module, and the universal module can power other connected devices, such as the display board and the control board in this embodiment. Generally speaking, the power supplied by the universal module to the display board and the control board is weak current.

[0093] In this embodiment, the universal module is used to obtain electric energy from the power board and use the received electric energy to power the display board and the control board. The universal module can act as a power supply circuit.

[0094] In one embodiment, the control method of the universal module further includes step 310: after receiving the high-power device control instruction with a transfer identifier, forwarding the high-power device control instruction to the power board.

[0095] Among them, the strong electric device control instruction is an instruction to control the strong electric power supply device. Generally, the strong electric power supply device is on the power board, and its control is in charge of the power board. If the power board issues a command to control such a device, it does not need to be processed by the general module.

[0096] However, considering that there may be situations where the display board and control board have the right to control the equipment with strong power supply, it is necessary to go through the universal module. In fact, this kind of command that needs to be conveyed through the universal module can be solved by using the command word in the communication protocol. The role of the command word can enable the universal module to distinguish the received commands, such as the commands received from the power board, display board, and other control boards, whether they are to obtain sensor data or control the load. In this way, the role of the command word can be supplemented in the communication protocol, and the role of command transfer can be added. After receiving the control instruction of the strong electric device with a transfer mark in the communication protocol, the universal module forwards the control instruction of the strong electric device to the power board, and the power board controls the load with strong power supply.

[0097] In this embodiment, the general module is also used to forward the strong electric device control instruction to the power board after receiving the strong electric device control instruction with the transfer mark. The strong electric device control instruction is an instruction to control the strong electric power supply device. In this way, the control of the strong electric power supply device can be achieved.

[0098] In one embodiment, the control method of the general module further includes step 312: when the data currently transmitted by the sensor is acquired, the original data of the sensor is cleared and the data currently transmitted by the sensor is stored.

[0099] Specifically, when the general module obtains the data currently transmitted by the sensor and believes that the data transmitted by the sensor has been updated, the general module clears the original data of the sensor and writes the new data to store the data currently transmitted by the sensor to avoid the risk of storage space overflow.

[0100] In one embodiment, the control method of the universal module further includes step 314: after receiving the sensor stop instruction, stop receiving the data of the sensor corresponding to the sensor stop instruction, and clear the data of the sensor corresponding to the sensor stop instruction.

[0101] The sensor stop instruction is used to indicate that a certain sensor needs to stop working. After receiving the sensor stop instruction, the universal module only needs to stop receiving the data of the sensor corresponding to the sensor stop instruction and clear the data of the sensor corresponding to the sensor stop instruction, which is simple to implement.

[0102] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0103] In one embodiment, an electrical appliance system is provided, comprising an electrical appliance and a universal module as in any of the above embodiments. Further, the electrical appliance system may be a steam oven with the universal module.

[0104] In order to better understand the above embodiment, the following takes the universal module application appliance as an example of a steam oven and provides a detailed explanation in combination with a specific embodiment.

[0105] In order to solve the problem that there are many steam oven control boards, sensors, and control loads, which lead to overly complex control logic and confusing connections between boards, and also to solve the problem that steam ovens in the same series have poor versatility and expansibility and long development cycle, this embodiment provides a universal module common to steam ovens and a control method thereof.

[0106] like Figure 4 As shown, this universal module integrates various loads and sensors for the steam oven to supply weak electricity, and is responsible for communicating with the equipment and realizing control functions. The power supply of this universal module comes from the power board, and it serves as a transfer station for power supply to supply power to the display board and other control boards. The communication between this universal module and the power board, display board, and other control boards supports multiple methods such as UART, SPI, and IIC. This universal module uses the same set of communication protocols as the power board, display board, and other control boards. The universal module acts as a server in the entire system, regularly obtains sensor data and stores the data in the storage area. When any control board has a need, it directly sends a command to obtain the sensor to the universal module interface; when two or more control boards have control over a load, you only need to pay attention to the sending of the control board's own commands, and the control priority is determined by the universal module. The working process of the universal module specifically includes the following aspects:

[0107] 1. Determine the power supply circuit

[0108] Steam ovens are high-current, high-power products, and are mostly designed to be controlled separately by power boards, display boards, and other control boards. The power board is responsible for the access and distribution control of strong electricity, supplying power to equipment that requires strong electricity, and also supplying power to display boards and other control boards that require weak electricity.

[0109] With the addition of a universal module, the power board only needs to supply one weak current to the universal module, and the display panel and other control panels only need to be connected to the universal module to be powered.

[0110] 2. Determine the communication method and protocol

[0111] With the universal module as the center, the power board, display board, and other control boards connected to the universal module are all weak current. Therefore, in actual production, the universal module and the power board, the universal module and the display board, and the universal module and other control boards only need one board connection to achieve power supply and communication. Of course, this has certain requirements for the number of ports of the universal module, after all, it is one-to-many. This one-to-many port method that satisfies both power supply and communication makes the universal module play a role similar to a server in the entire steam oven control system, requiring the universal module to coordinate multi-party communications.

[0112] The communication between the universal module and the power board, display board, and other control boards can be carried out in various ways such as UART, SPI, and IIC. This embodiment takes the UART way as a typical example.

[0113] In order to efficiently handle the communication between the multi-universal module and the power board, display board, and other control boards, each control board must comply with the same set of communication protocols. The communication protocol should have a frame header, frame length, control board identifier (used to distinguish each control board), command word (determine whether to read sensor data or control the load), data content (detailed description of the command word), and check code.

[0114] 3. Determine the various devices connected to the universal module

[0115] In order to simplify the control logic, the universal module should connect various sensors and control loads as much as possible, and the universal module will process the sensor data and load actions uniformly. The criteria for determining whether to connect to the universal module are:

[0116] The first is equipment that can complete its work with weak current power supply (referring to various sensors and loads, the same below);

[0117] The second is whether the connected device is controlled by multiple parties. Multiple party control here means that the device is controlled by at least two or more of the power board, display board, and other control boards;

[0118] The third is that the common equipment of the same series of steam ovens should be included in the common module as much as possible, which can greatly improve the speed of product development and increase the commonality of the materials used;

[0119] The fourth is those that are only controlled by a single control board, but the IO port resources of the single control board are not sufficient, but the general module is sufficient, and they can also be connected to the general module.

[0120] The above-mentioned devices powered by weak current generally include multiple temperature sensors, humidity sensors, cooling fans, water pumps and other devices in different positions on the steam oven, while those powered by strong current are controlled by the power board. Generally speaking, the devices that need strong current to power the steam oven are mostly loads such as heating tubes and lighting lamps, and the heating methods of steam ovens in the same series are similar, which does not complicate the control logic of the entire steam oven.

[0121] 4. Determine the control method of the equipment supplying weak current

[0122] The universal module plays a role similar to that of a server. Although it is connected to power boards, display boards, other control boards, as well as multiple sensors and loads, its control logic and implementation methods are not complicated under the support of the same set of communication protocols.

[0123] For devices such as sensors, after receiving the command to obtain sensor data, the general module does not need to immediately obtain and send it to the source of the command; the general module only needs to periodically obtain the data of all sensors on its board and store the data in the register area of ​​the chip of the general module. When a command is given to the general module to obtain sensor data, it only needs to send the data in the register area, which will not occupy too many chip resources; the above implementation method is similar to the server / client. When the sensor data stored here is updated next time, the original data will be cleared and the new data will be written in to avoid the risk of storage space overflow.

[0124] After receiving the command to stop a certain sensor, the universal module only needs to stop the program for periodically acquiring data and clear the data in the register. This implementation method only needs to initiate a command to the universal module when there is a need when two or more of the power board, display board, and other control boards need sensor data; this avoids the problem of each control board carrying a sensor and reduces costs; it also avoids the problem of a control board connected to a sensor, but when another or two other control boards need to use the sensor data, the data has to be transmitted back and forth, which is too troublesome.

[0125] For devices such as loads, the general module only needs to directly control the load after receiving the command. When two or more of the power board, display board, and other control boards have control over a load, you only need to send commands to the general module separately, without considering the response priority issue. The response priority is determined by the general module. In this way, during development, developers only need to pay attention to the commands issued by the power board, display board, and other control boards, which is conducive to speeding up product development and simplifying control logic.

[0126] In addition, those devices that are not on the universal module and are only responsible for communication and control by a certain control board can realize communication and control by themselves. There are not too many such devices, and they are also differences in the same series of steam ovens to highlight the selling points. They do not affect the role of the universal module in the entire system.

[0127] 5. Determine the control method of the equipment supplying strong power

[0128] Devices that require high-voltage power supply are all on the power board, and their control is naturally the responsibility of the power board. If the power board issues commands to control such devices, there is no need for processing by the general module.

[0129] However, considering that there may be a situation where the display board and other control boards have the right to control such equipment, it is necessary to go through the universal module, but this situation is rare in actual applications. In fact, this kind of command that needs to be conveyed through the universal module can be solved using the command word in the communication protocol. The function of the command word is that the universal module is used to distinguish whether the command of the power board, display board, and other control boards is to obtain sensor data or control the load. In this case, the role of the command word can be supplemented in the communication protocol, and the role of command transfer can be added. When the command is used as a transfer, the original data is sent to the power board, and the power board controls the load with strong power supply.

[0130] The universal module of this embodiment is a control module other than the power board, display board, and other control boards. It is not attached to a certain control board. It integrates various loads and sensors for the steam oven to supply weak electricity, and is responsible for communicating with the equipment and realizing control functions. The power supply of this universal module comes from the power board, and it serves as a transfer station for power supply, supplying power to the display board and other control boards. The communication between this universal module and the power board, display board, and other control boards supports multiple methods such as UART, SPI, and IIC. The proposal of the universal module is not to complicate the existing control boards. On the contrary, the proposal of this universal module can simplify the control logic, reduce the connection between boards, expand the versatility, and shorten the development cycle.

[0131] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic description of the above terms does not necessarily refer to the same embodiment or example.

[0132] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0133] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A universal module, characterized in that: Applied to an electrical appliance, the universal module comprises a plurality of connection ports, each of which is used to connect a sensor, a load and two or more devices of the electrical appliance; The universal module is used to acquire and store the data transmitted by the sensor, and after receiving the data acquisition instruction from the device, call the data corresponding to the data acquisition instruction from the stored data and send it to the sender of the data acquisition instruction; The general module is also used to control the load according to the load control instruction after receiving the load control instruction from the device.

2. The universal module according to claim 1, characterized in that: The connection port is used to connect the power board, display board and control board of the electrical appliance; The universal module is used to obtain electric energy from the power board and use the input electric energy to supply power to the display board and the control board.

3. The universal module according to claim 2, characterized in that: The same communication method is adopted between the connection port and the power board, between the connection port and the display board, and between the connection port and the control board.

4. The universal module according to claim 2, characterized in that: The universal module is also used to forward the strong electric device control instruction to the power board after receiving the strong electric device control instruction with a transfer mark; the strong electric device control instruction is an instruction for controlling a device for strong electric power supply.

5. The universal module according to claim 2, characterized in that: The load and sensor connected to the connection port are devices controlled by at least two devices among the power board, the display board and the control board; or are devices controlled by one device among the power board, the display board and the control board, but the IO port resources of the controlled device are insufficient.

6. The universal module according to claim 1, characterized in that: The loads and sensors connected to the connection ports are devices that can complete their work with weak current power supply.

7. The universal module according to claim 1, characterized in that: The loads and sensors connected to the connection ports are common devices in electrical appliances used by the universal module.

8. The universal module according to claim 1, characterized in that: The universal module further includes a register connected to the connection port and a processor, wherein the register is connected to the processor.

9. The universal module according to claim 1, characterized in that: The general module is also used to clear the original data of the sensor and store the data currently transmitted by the sensor when the data currently transmitted by the sensor is acquired.

10. The universal module according to claim 1, characterized in that: The general module is also used for, after receiving the sensor stop instruction, stopping receiving the data of the sensor corresponding to the sensor stop instruction, and clearing the data of the sensor corresponding to the sensor stop instruction.

11. A control method for a universal module, characterized in that: The general module according to any one of claims 1 to 10 is implemented, comprising: Acquire and store data transmitted by sensors; After receiving the data acquisition instruction from the device, calling the data corresponding to the data acquisition instruction from the stored data and sending it to the sender of the data acquisition instruction; After receiving the load control instruction from the device, the load is controlled according to the load control instruction.

12. The control method of the universal module according to claim 11, characterized in that: The connection port is used to connect a power board, a display board and a control board of the electrical appliance, and the method further includes: The electric energy is obtained from the power board, and the display board and the control board are powered by the electric energy.

13. The control method of the universal module according to claim 12, characterized in that: The method further comprises: After receiving the high-voltage device control instruction with a transfer mark, the high-voltage device control instruction is forwarded to the power board; the high-voltage device control instruction is an instruction for controlling a device for high-voltage power supply.

14. The control method of the universal module according to claim 11, characterized in that: The method further comprises: When the data currently transmitted by the sensor is acquired, the original data of the sensor is cleared and the data currently transmitted by the sensor is stored.

15. The control method of the universal module according to claim 11, characterized in that: The method further comprises: After receiving the sensor stop instruction, stop receiving the data of the sensor corresponding to the sensor stop instruction, and clear the data of the sensor corresponding to the sensor stop instruction.

16. An electrical system, characterized in that: The invention comprises an electrical appliance and a universal module as claimed in any one of claims 1 to 10.