Control circuit of food collection cabinet, address allocation method and control instruction execution method
By automatically allocating the food pickup address using a series communication protocol in the food pickup cabinet control circuit, the problem of cumbersome installation and error prone to problems in the prior art is solved, and a simpler installation process and efficient communication performance are achieved.
Patent Information
- Application Number
- CN202210028806.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-01-19
- Filing Date
- 2022-01-11
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-01-11
AI Technical Summary
The existing dining cabinet control circuit needs to manually set the dial switch to distinguish the grid address during installation, which leads to cumbersome installation and error-prone.
Using a series communication protocol, the main control board automatically allocates the address of the meal pick-up port by sending address data, without using a dial switch. When the user operates, the main control board issues control commands with addresses, and the sub-control board performs corresponding operations based on the received address information.
It simplifies the installation process of the food pickup cabinet, reduces assembly difficulty, improves communication efficiency, short response time, and meets communication requirements.
Smart Images

Figure CN114326539B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a control circuit of a food taking cabinet. Background Art
[0002] The sub-control board of each compartment of the food cabinet is connected to the main board through CAN, that is, each sub-control board can communicate with the main control board, and the communication efficiency is also high. The advantage of this circuit is that the wiring harness is neat and easy to maintain. However, there is a problem with this circuit: since it communicates with the main board in parallel, in order to distinguish the compartment numbers, an address must be added to each sub-control board. The commonly used solution is to use a dip switch to distinguish different addresses and set the address through a hardware dip switch.
[0003] However, the dip switch uses a binary calculation method. Since the installers do not have this expertise, when installing the machine, the manufacturer needs to paste this schematic diagram on each grid to facilitate setting the correct grid address. The operation is cumbersome and prone to errors. Summary of the invention
[0004] The object of the present invention is to provide a control circuit of a food collection cabinet which is simple to install and automatically allocates addresses of food collection openings, as well as an address allocation method and a control instruction execution method.
[0005] The first object of the present invention is achieved by:
[0006] A control circuit of a food collection cabinet comprises a main control board, a system main board and a power supply. The food collection cabinet is provided with at least one food collection compartment, each of which is provided with a sub-control board for controlling a built-in functional module of the food collection compartment. The power supply supplies power to the main control board, the system main board communicates with the main control board, the sub-control boards of a plurality of food collection compartments communicate with the main control board in a serial manner, and the main control board supplies power to and communicates with the sub-control boards of each food collection compartment.
[0007] The sub-control boards corresponding to the multiple meal pickup openings communicate with the main control board in a serial manner. First, the main control board sends address data to the sub-control boards, and the sub-control boards obtain address information in turn. Then, when the user operates to open the designated meal pickup opening, the main control board sends a control instruction with an address to the sub-control board. When the address of the sub-control board matches the control instruction with an address sent by the main control board, the meal pickup opening corresponding to the sub-control board moves, thereby completing the operation of the designated meal pickup opening. The principle is simple, and the address is automatically assigned by software without the need to assign the address through a dial switch. When workers assemble the meal pickup cabinet, there is no need to modify the address of the meal pickup opening, thereby reducing the difficulty of assembling the meal pickup cabinet. In addition, the response time of the farthest end of the serial communication is short, thereby meeting the communication requirements.
[0008] The first object of the present invention can also be solved by the following technical measures:
[0009] Furthermore, it also includes a control panel, which is arranged on the surface of the food collection cabinet, and the control panel is electrically connected to the system mainboard.
[0010] Furthermore, the sub-control board and the main control board communicate via RS232, RS485 or RS422.
[0011] Furthermore, the sub-control board includes an interface for connecting to a built-in functional module of the food pickup opening, a communication line port for communication, and a power line port for connecting to a power source.
[0012] Furthermore, each food pickup opening is provided with a lighting lamp, an ultraviolet lamp, a door lock, a heating film and a temperature controller to form a built-in functional module of the food pickup opening, and the wiring harnesses of the lighting lamp, ultraviolet lamp, door lock, heating film and temperature controller are respectively connected to the interface of the sub-control board.
[0013] Furthermore, the main control board is a main control board used for sending address data and for sending control instructions containing address data.
[0014] Furthermore, the sub-control board is a sub-control board used for receiving address data, identifying whether the control instruction matches the address data, and executing the control instruction.
[0015] The second object of the present invention is achieved by:
[0016] The invention discloses an address allocation method using a control circuit of a food dispensing cabinet. When the food dispensing cabinet is powered on, a main control board sends the same number of address data as that of sub-control boards at one time. After the first sub-control board receives the data, it only reads the last byte of the data as the address data of the first sub-control board. Then, the first sub-control board deletes the address data of the first sub-control board and sends the remaining address data to the next sub-control board, and so on, until the last sub-control board receives only one byte of address data, and the address allocation is completed.
[0017] The main control board sends 15 bytes of address data (hexadecimal) at a time, which are 0f, 0e, 0d, 0c, 0b, 0a, 09, 08, 07, 06, 05, 04, 03, 02, 01 in sequence. Each sub-control board only reads the last byte of the received data, and determines that the byte data is the address of the corresponding grid. Then, after removing the address data of the corresponding grid, the other addresses are sent to the next sub-control board, until the last sub-control board only receives one byte of address data 0f, completing the address allocation.
[0018] For example, sub-control board 1 connected to the main control board receives 15 bytes of address, takes the last data address 01 as the address of sub-control board 1, and then sends 14 bytes of address data to the next sub-control board. The next sub-control board 2 receives 14 bytes of address data, takes the last data address 02 as the address of sub-control board 2, and then sends 13 bytes of address data to the next sub-control board, and so on, until the last sub-control board 15, which only receives one byte of address data 0f and determines it as the address of sub-control board 15. At this time, all address allocation is completed.
[0019] The third object of the present invention is achieved by:
[0020] A control instruction execution method for a control circuit of a food collection cabinet, wherein the main control board sends a control instruction with address data, and the sub-control board at address 1 receives instruction A, which includes but is not limited to controlling functions such as temperature, lock, heating, lighting, and disinfection. The sub-control board at address 1 identifies instruction A. If the sub-control board at address 1 identifies that the address of instruction A does not match, the sub-control board at address 1 passes instruction A to the sub-control board at address 2, and so on, until instruction A is passed to the sub-control board at the corresponding address, so that the sub-control board 6 at the corresponding address identifies that the address of instruction A matches, and the sub-control board at the corresponding address executes instruction A and opens the corresponding food collection compartment. At this time, the sub-control board at the corresponding address no longer passes instruction A downward. Accordingly, each sub-control board needs to send the current compartment information to the main control board, including but not limited to the current compartment door opening / closing state, temperature information, lighting state, disinfection state, etc. Similarly, the sub-control board at address 1 sends instruction B with address, and when the main control board receives the compartment status information with address, it will know the current status information of the corresponding compartment.
[0021] The beneficial effects of the present invention are as follows:
[0022] In the present invention, the sub-control boards corresponding to the multiple meal pickup openings communicate with the main control board in a serial manner. First, the main control board sends address data to the sub-control boards, and the sub-control boards obtain address information in turn. Then, when the user operates to open the specified meal pickup opening, the main control board sends a control instruction with an address to the sub-control board. When the address of the sub-control board matches the control instruction with an address sent by the main control board, the meal pickup opening corresponding to the sub-control board moves, thereby completing the operation of the specified meal pickup opening. The principle is simple, and the address is automatically assigned by software without the need to assign the address through a dial switch. When workers assemble the meal pickup cabinet, there is no need to modify the address of the meal pickup opening, thereby reducing the difficulty of assembling the meal pickup cabinet. In addition, the response time of the farthest end of the serial communication is short, thereby meeting the communication requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a schematic diagram of the food collection cabinet.
[0024] Figure 2 This is a schematic diagram of the door of the food collection cabinet being open.
[0025] Figure 3 This is a schematic diagram of the separated state of the food collection compartment of the food collection cabinet.
[0026] Figure 4 This is a schematic diagram of the food collection opening of the food collection cabinet.
[0027] Figure 5 This is a schematic diagram of the control circuit of the food collection cabinet. DETAILED DESCRIPTION
[0028] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0029] Example, combined with Figures 1 to 5 As shown, a control circuit of a food collection cabinet includes a main control board 1, a system main board 2, a control panel 3 and a power supply. The main control board 1 and the system main board 2 are placed in a food collection cabinet 4. The food collection cabinet 4 is provided with 15 food collection openings 5. Each food collection opening 5 is provided with a sub-control board 6 for controlling the built-in functional module of the food collection opening 5.
[0030] The main control board 1 is used to send address data and control instructions containing address data. The sub-control board 6 is used to receive address data, identify whether the control instruction matches the address data, and execute the control instruction.
[0031] Each meal-taking opening 5 is provided with a lighting lamp, an ultraviolet lamp, a door lock, a heating film and a temperature controller to form a built-in functional module of the meal-taking opening 5 .
[0032] The sub-control board 6 includes an interface for connecting to a built-in functional module of the food pickup opening 5, a communication line port for communication, and a power line port for connecting to a power source. The wiring harnesses of the lighting lamp, ultraviolet lamp, door lock, heating film, and temperature controller are respectively connected to the interfaces of the sub-control board 6.
[0033] The power supply supplies power to the main control board 1, the system main board 2 communicates with the main control board 1, the control panel 3 is arranged on the surface of the food collection cabinet 4, the control panel 3 and the system main board 2 are electrically connected, the sub-control boards 6 of the 15 food collection openings 5 communicate with the main control board 1 in a series manner via RS232, and the main control board 1 supplies power to and communicates with the sub-control boards 6 of each food collection opening 5.
[0034] Address allocation:
[0035] A method for allocating addresses of a control circuit of a food cabinet. When the food cabinet is powered on, the main control board sends 15 bytes of address data (hexadecimal) at a time, which are 0f, 0e, 0d, 0c, 0b, 0a, 09, 08, 07, 06, 05, 04, 03, 02, and 01 in sequence. Each sub-control board only reads the last byte of data and determines it as the address of the corresponding grid, then removes the data of the address of its own grid and sends the other addresses to the next sub-control board. For example, sub-control board 1 connected to the main control board receives a 15-byte address, takes the last data address 01 to determine it as the address of sub-control board 1, and then sends 14 bytes of address data to the next sub-control board. The next sub-control board 2 receives 14 bytes of address data, takes the last data address 02 as the address of sub-control board 2, and then sends 13 bytes of address data to the next sub-control board, and so on, until the last sub-control board 15, which only receives one byte of address data 0f and determines it as the address of sub-control board 15. At this time, all address allocation is completed.
[0036] Control instruction execution:
[0037] The main control board 1 sends a control instruction with address data (for example, instruction A, address: 13, control instruction: turn on the disinfection lamp), the sub-control board 6 at address 1 receives instruction A, the sub-control board 6 at address 1 identifies instruction A, the sub-control board 6 at address 1 identifies that the address of instruction A does not match, the sub-control board 6 at address 1 passes instruction A to the sub-control board 6 at address 2, and so on, until instruction A is passed to the sub-control board 6 at address 13, the sub-control board 6 at address 13 identifies that the address of instruction A matches, the sub-control board 6 at address 13 executes instruction A, opens the corresponding meal pick-up opening 5 (that is, the 13th meal pick-up opening 5), and at this time the sub-control board 6 at address 13 no longer passes instruction A down.
Claims
1. A control circuit of a food cabinet, comprising a main control board, a system main board and a power supply, characterized in that: The food cabinet is provided with at least one food grid, each of which is provided with a sub-control board for controlling the built-in functional modules of the food grid, the power supply supplies power to the main control board, the system main board communicates with the main control board, the sub-control boards of the multiple food grids communicate with the main control board in series, and the main control board supplies power and communicates with the sub-control boards of each food grid; The address allocation method of the control circuit of the food cabinet is that when the food cabinet is powered on, the main control board sends the same number of address data as the sub-control boards at one time. After the first sub-control board receives the data, it only reads the last byte of the data as the address data of the first sub-control board. Then, after the first sub-control board deletes the address data of the first sub-control board, it sends the remaining address data to the next sub-control board, and so on, until the last sub-control board receives only one byte of address data, and the address allocation is completed; The main control board sends 15 bytes of address data (hexadecimal) at a time, which are 0f, 0e, 0d, 0c, 0b, 0a, 09, 08, 07, 06, 05, 04, 03, 02, 01 in sequence. Each sub-control board only reads the last byte of the received data and determines that the byte is the address of the corresponding grid. Then, after removing the address data of the corresponding grid, it sends the other addresses to the next sub-control board until the last sub-control board receives only one byte of address data 0f, completing the address allocation. The control instruction execution method of the control circuit of the food collection cabinet, the main control board sends a control instruction with address data, and the sub-control board at address 1 receives instruction A, and instruction A includes control of temperature, lock, heating, lighting, and disinfection functions; The sub-control board at address 1 identifies instruction A. If the sub-control board at address 1 identifies that the address of instruction A does not match, the sub-control board at address 1 transmits instruction A to the sub-control board at address 2, and so on, until instruction A is transmitted to the sub-control board at the corresponding address, so that the sub-control board at the corresponding address identifies that the address of instruction A matches, and the sub-control board at the corresponding address executes instruction A and opens the corresponding food pickup opening. At this time, the sub-control board at the corresponding address no longer transmits instruction A downward; Accordingly, each sub-control board needs to send the current compartment information to the main control board, including the current compartment door opening / closing status, temperature information, lighting status, and disinfection status. Similarly, the sub-control board at address 1 sends instruction B with the address. When the main control board receives the compartment status information with the address, it will know the current status information of the corresponding compartment. The main control board sends out a control instruction with address data, the sub-control board at address 1 receives instruction A, the sub-control board at address 1 identifies instruction A, the sub-control board at address 1 identifies that the address of instruction A does not match, the sub-control board at address 1 passes instruction A to the sub-control board at address 2, and so on, until instruction A is passed to the sub-control board at address 13, the sub-control board at address 13 identifies that the address of instruction A matches, the sub-control board 6 at address 13 executes instruction A and opens the corresponding food pickup opening 5. At this time, the sub-control board at address 13 no longer passes instruction A down.
2. The control circuit of the food cabinet according to claim 1, characterized in that: It also includes a control panel, which is arranged on the surface of the food collection cabinet, and the control panel is electrically connected to the system mainboard.
3. The control circuit of the food cabinet according to claim 1 is characterized in that: The sub-control board and the main control board communicate via RS232, RS485 or RS422.
4. The control circuit of the food cabinet according to claim 1, characterized in that: The sub-control board includes an interface for connecting to a built-in functional module of the meal pickup opening, a communication line port for communication, and a power line port for connecting to a power source.
5. The control circuit of the food collection cabinet according to claim 4, characterized in that: Each food pickup opening is provided with a lighting lamp, an ultraviolet lamp, a door lock, a heating film and a temperature controller to form a built-in functional module of the food pickup opening, and the wiring harnesses of the lighting lamp, ultraviolet lamp, door lock, heating film and temperature controller are respectively connected to the interface of the sub-control board.
6. The control circuit of the food cabinet according to claim 1, characterized in that: The main control board is used for sending address data and for sending control instructions containing address data.
7. The control circuit of the food cabinet according to claim 1, characterized in that: The sub-control board is used for receiving address data, identifying whether the control instruction matches the address data, and executing the control instruction.
Citation Information
Patent Citations
Signal controller, signal control method and air treatment system
CN104329769A
Method for automatically allocating ammeter addresses
CN111629080A
Intelligent meal taking cabinet control device
CN211748486U