CN114343338B - Intelligent cabinet and intelligent cabinet control method - Google Patents

Intelligent cabinet and intelligent cabinet control method Download PDF

Info

Publication number
CN114343338B
CN114343338B CN202111647518.0A CN202111647518A CN114343338B CN 114343338 B CN114343338 B CN 114343338B CN 202111647518 A CN202111647518 A CN 202111647518A CN 114343338 B CN114343338 B CN 114343338B
Authority
CN
China
Prior art keywords
address
grid plate
address value
grid
plate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111647518.0A
Other languages
Chinese (zh)
Other versions
CN114343338A (en
Inventor
关锦君
曾贝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hive Box Network Technology Ltd
Original Assignee
Hive Box Network Technology Ltd
Filing date
Publication date
Application filed by Hive Box Network Technology Ltd filed Critical Hive Box Network Technology Ltd
Priority to CN202111647518.0A priority Critical patent/CN114343338B/en
Publication of CN114343338A publication Critical patent/CN114343338A/en
Application granted granted Critical
Publication of CN114343338B publication Critical patent/CN114343338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an intelligent cabinet and an intelligent cabinet control method. An intelligent cabinet comprises a main cabinet and a plurality of auxiliary cabinets, wherein the main cabinet comprises a control panel, and the auxiliary cabinets comprise a first grid plate and a plurality of second grid plates; the control board is connected with the first grid plates in series through address distribution lines, the first grid plates are connected with the second grid plates in series through the address distribution lines, and the two second grid plates are connected with each other in series through the address distribution lines; the signal output end of the control board is connected with the signal input end of the first grid plate through an address distribution line, the signal output end of the first grid plate is connected with the signal input end of the second grid plate through an address distribution line, and the signal output end of the second grid plate is connected with the signal input end of the next second grid plate through an address distribution line. The problems of complex circuit, limited structure, increased installation difficulty, easy occurrence of circuit connection error in the installation process and the like in the prior art are solved, and the effects of simplifying the circuit, reducing the installation difficulty and ensuring the accuracy in the installation process are realized.

Description

Intelligent cabinet and intelligent cabinet control method
Technical Field
The embodiment of the invention relates to the technology of intelligent cabinets, in particular to an intelligent cabinet and an intelligent cabinet control method.
Background
The intelligent cabinet comprises a main cabinet and a plurality of auxiliary cabinets, wherein the main cabinet is provided with a control board, the auxiliary cabinets are provided with grid plates, and the control board of the main cabinet is respectively connected with the grid plates of the plurality of auxiliary cabinets. The main cabinet is connected with the auxiliary cabinet through the grid plate, so that the cabinet door of the intelligent cabinet is controlled to be opened.
The existing control board is installed to the topmost layer of the main cabinet, all lock and grid related lines are led out by the lock board, so that the wire groove of the uppermost layer of grid is required to pass through lines required by all grids of the cabinet, and when the control board is installed, grid matching is required to be carried out according to different line lengths. In the process of realizing the invention, the prior art is found to have at least the following problems: the problems of complex circuit, limited structure, increased installation difficulty, inconsistent wire length, easy occurrence of circuit connection error in the installation process and the like are solved.
Disclosure of Invention
The invention provides an intelligent cabinet and an intelligent cabinet control method, which are used for realizing the effects of simplifying a circuit, reducing the installation difficulty and ensuring the accuracy in the installation process.
In a first aspect, an embodiment of the present invention provides an intelligent cabinet, including a main cabinet and a plurality of auxiliary cabinets, where the main cabinet includes a control board, and the auxiliary cabinet includes a plurality of grid plates, and the grid plates include a first grid plate and a second grid plate;
the control board is connected with the first grid plates in series through address distribution lines, the first grid plates are connected with the second grid plates in series through the address distribution lines, and the two second grid plates are connected with each other in series through the address distribution lines;
The signal output end of the control board is connected with the signal input end of the first grating plate through an address distribution line, the signal output end of the first grating plate is connected with the signal input end of the second grating plate through an address distribution line, and the signal output end of the second grating plate is connected with the signal input end of the next grating plate through an address distribution line;
the control board is electrically connected with all the grid plates and is used for supplying power to all the grid plates;
The control board is used for setting the address of the first grid plate through the address distribution line;
the first grid plate is used for setting the address of the second grid plate through the address distribution line.
In a second aspect, an embodiment of the present invention further provides a control method for an intelligent cabinet, which is applied to the intelligent cabinet in the first aspect, and includes:
The control board issues a target distribution address value to the first grid plate through an address distribution line;
the first grid plate is set according to the target allocation address value to obtain a first address value, and the first address value is returned to the control panel;
The control board compares and verifies the first address value with the target allocation address value to finish the address setting of the first grid plate;
the first grid plate updates a target distribution address value and transmits the target distribution address value to the second grid plate through an address distribution line;
The second grid plate is set according to the updated target allocation address value to obtain a second address value, and the second address value is returned to the first grid plate for verification, so that the address setting of the second grid plate is completed;
updating the second grid plate into a first grid plate, and performing address setting on the next second grid plate until the address setting of all the grid plates is completed.
Optionally, before the control board issues the target allocation address value to the first socket board through the address allocation line, the method further includes:
the control board sets the address distribution line output terminal to a low level and maintains the first preset time.
Optionally, the setting, by the first grid plate, according to the target allocation address value, to obtain a first address value includes:
The first grid plate obtains the jump times of the input end of the address distribution line detected in the second preset time to obtain the first address value.
Optionally, the control board compares and verifies the first address value with the target allocation address value, and completing the address setting of the first grid plate includes:
if the first address value is the same as the target allocation address value, the control board sends a confirmation instruction;
the first grid plate receives the confirmation instruction, writes the first address value into an internal memory, and completes address setting of the first grid plate;
if the first address value is different from the target allocation address value, the control board sends an error reporting instruction;
And the first grid interface board receives the error reporting instruction and clears the first address value.
Optionally, the updating, by the first bezel, the target allocation address value, and issuing the target allocation address value to the second bezel through the address allocation line includes:
and the first grid plate increases the address value which is set to be finished by 1 to update the address value allocated to the target.
Optionally, the setting of the second bezel according to the updated target allocation address value to obtain a second address value, and returning the second address value to the first bezel for verification, so as to complete address setting of the second bezel, including:
And the second grid plate acquires the jump times of the input end of the address distribution line detected in a second preset time to obtain the second address value.
Optionally, the setting of the second bezel is performed according to the updated target allocation address value, so as to obtain a second address value, and the second address value is returned to the first bezel for verification, so as to complete the address setting of the second bezel, and the method further includes:
if the second address value is the same as the target allocation address value, the first grid plate sends a confirmation instruction;
the second grid plate receives the confirmation instruction, writes the second address value into internal storage, and completes address setting of the second grid plate;
If the second address value is different from the target allocation address value, the first grid plate sends an error reporting instruction;
and the second grid port board receives the error reporting instruction and clears the second address value.
Optionally, before updating the second bezel to the first bezel, performing address setting on a next second bezel until address setting of all the bezel is completed, the method further includes:
The second bezel checks for the presence of a next second bezel.
Optionally, the second bezel checking whether a next second bezel exists includes:
The second grid plate reads the level of the output end of the address distribution line, if the level is high, the next second grid plate exists, and if the level is low, the next second grid plate does not exist.
The invention discloses an intelligent cabinet, which comprises a main cabinet and a plurality of auxiliary cabinets, wherein the main cabinet comprises a control board, the auxiliary cabinets comprise a plurality of grid plates, and the grid plates comprise a first grid plate and a second grid plate; the control board is connected with the first grid plates in series through address distribution lines, the first grid plates are connected with the second grid plates in series through the address distribution lines, and the two second grid plates are connected with each other in series through the address distribution lines; the signal output end of the control board is connected with the signal input end of the first grating plate through an address distribution line, the signal output end of the first grating plate is connected with the signal input end of the second grating plate through an address distribution line, and the signal output end of the second grating plate is connected with the signal input end of the next second grating plate through an address distribution line; the control panel is electrically connected with all the grid plates and is used for supplying power to all the grid plates; a control board for setting an address of the first grid plate by the distribution line; and the first grid plate is used for setting the address of the second grid plate through the address distribution line. And carrying out address setting on the first grating plate by the control panel, verifying the first address through a response mechanism to confirm that the address setting of the first grating plate is completed, carrying out address setting on the second grating plate by the first grating plate with the completed address setting, carrying out second address verification to confirm that the address setting of the second grating plate is completed, updating the second grating plate with the completed address setting into the first grating plate, setting the address of the connected second grating plate, repeating the operation, and completing the address setting of all grating plates. The problems of complex circuit, limited structure, increased installation difficulty, inconsistent wire length, easy occurrence of circuit connection error in the installation process and the like in the prior art are solved, and the effects of simplifying the circuit, reducing the installation difficulty and ensuring the accuracy in the installation process are realized.
Drawings
Fig. 1 is a schematic structural diagram of an intelligent cabinet according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a control method of an intelligent cabinet according to a second embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a schematic structural diagram of an intelligent cabinet according to a first embodiment of the present invention.
As shown in fig. 1, an intelligent cabinet includes a main cabinet including a control board 100 and a plurality of sub-cabinets including a plurality of pocket boards 200 including a first pocket board 210 and a second pocket board 220;
The control board 100 is connected in series with the first grating plate 210 through an address distribution line a, the first grating plate 210 and the second grating plate 220 are connected in series through the address distribution line a, and the two second grating plates 220 are connected in series through the address distribution line a;
The signal output end of the control board 100 is connected with the signal input end of the first grating 210 through an address distribution line a, the signal output end of the first grating 210 is connected with the signal input end of the second grating 220 through an address distribution line a, and the signal output end of the second grating 220 is connected with the signal input end of the next second grating 220 through an address distribution line a;
The control board 100 is electrically connected with all the grid plates 200 and is used for supplying power to all the grid plates 200;
a control board 100 for performing address setting on the first bezel 210 through an address distribution line a;
The first bezel 210 is used for performing address setting on the second bezel 220 through the address distribution line a.
The control board issues a target distribution address value to the first grid plate through an address distribution line; the first grid plate is set according to the target allocation address value to obtain a first address value, and the first address value is returned to the control panel; and the control board compares and verifies the first address value with the target allocation address value to finish the address setting of the first grid plate. After the first grid plate finishes address setting, the first grid plate updates a target allocation address value and sends the target allocation address value to the second grid plate through an address allocation line; the second grid plate is set according to the updated target allocation address value to obtain a second address value, and the second address value is returned to the first grid plate for verification, so that the address setting of the second grid plate is completed. After the second grid plate finishes address setting, updating the second grid plate into the first grid plate, and performing address setting on the next second grid plate until the address setting of all the grid plates is finished.
Further, the control board is commercially available, preferably using new Tang M031LD2AE as the main chip. Has the advantages of low cost, sufficient supply, and the like, and solves the defects of high hardware cost, chip shortage, and the like.
The intelligent cabinet comprises a main cabinet and a plurality of auxiliary cabinets, wherein the main cabinet comprises a control board, the auxiliary cabinets comprise a plurality of grid plates, and the grid plates comprise a first grid plate and a second grid plate; the control board is connected with the first grid plates in series through address distribution lines, the first grid plates are connected with the second grid plates in series through the address distribution lines, and the two second grid plates are connected with each other in series through the address distribution lines; the signal output end of the control board is connected with the signal input end of the first grating plate through an address distribution line, the signal output end of the first grating plate is connected with the signal input end of the second grating plate through an address distribution line, and the signal output end of the second grating plate is connected with the signal input end of the next second grating plate through an address distribution line; the control panel is electrically connected with all the grid plates and is used for supplying power to all the grid plates; a control board for setting an address of the first grid plate by the distribution line; and the first grid plate is used for setting the address of the second grid plate through the address distribution line. And carrying out address setting on the first grating plate by the control panel, verifying the first address through a response mechanism to confirm that the address setting of the first grating plate is completed, carrying out address setting on the second grating plate by the first grating plate with the completed address setting, carrying out second address verification to confirm that the address setting of the second grating plate is completed, updating the second grating plate with the completed address setting into the first grating plate, setting the address of the connected second grating plate, repeating the operation, and completing the address setting of all grating plates. The problems of complex circuit, limited structure, increased installation difficulty, inconsistent wire length, easy occurrence of circuit connection error in the installation process and the like in the prior art are solved, and the effects of simplifying the circuit, reducing the installation difficulty and ensuring the accuracy in the installation process are realized.
Example two
Fig. 2 is a schematic flow chart of a control method of an intelligent cabinet according to a second embodiment of the present invention.
The embodiment is applicable to the situation that the control panel of the main cabinet of the intelligent cabinet sets the addresses of the grid plates of the plurality of auxiliary cabinets, and the method can be executed by the intelligent cabinet. The method specifically comprises the following steps:
step 110, the control board issues a target distribution address value to the first grid plate through the address distribution line.
The intelligent cabinet includes main cabinet and a plurality of auxiliary cabinet, and main cabinet includes the control panel, and auxiliary cabinet includes a plurality of check mouth boards, and the check mouth board includes first check mouth board and second check mouth board.
The control panel is connected with the first grid plate in series through an address distribution line, the first grid plate is connected with the second grid plate in series through an address distribution line, and the two second grid plates are connected in series through the address distribution line.
When the intelligent cabinet starts to set each grid plate address, the control panel of the main cabinet controls, the grid plates of the auxiliary cabinets adjacent to the main cabinet are first grid plates, and the control panel is received.
Prior to step 110, further comprising:
step 100, the control board sets the output end of the address distribution line to be low level, and maintains the first preset time.
Any point value in the first preset time range of 0.5-5 seconds.
The control board sets the output end of the address distribution line to be low level, and keeps a first preset time, so that all the grid plates of all the auxiliary cabinets can be powered on completely, and in the embodiment, the first preset time is 1 second. When the power is firstly applied, each grid plate is in an address-unset state, and the communication address defaults to 0.
When the control board starts to set an address for the first grid plate, the control board controls the output end of the address distribution line to be in a high level, and the control board controls the output end of the address distribution line to output a jump edge signal according to a target distribution address value corresponding to the first grid plate.
And 120, setting the first grid port plate according to the target allocation address value to obtain a first address value, and returning the first address value to the control panel.
Optionally, the first grid plate obtains the jump number of the input end of the address distribution line detected in the second preset time to obtain the first address value.
The second preset time range is any point value in 300ms-700ms seconds.
The first grid plate acquires the jump times of the input end of the address distribution line detected in the second preset time, wherein the second preset time is 500ms, the first grid plate is fully ensured to receive the set address value, and the acquired jump times are determined to be the first address value.
And 130, the control board compares and verifies the first address value with the target allocation address value to finish the address setting of the first grid plate.
And a third preset time range of any point value in 750ms-950ms seconds.
And the control board waits for the first grid plate to return the received first address value within the third preset time. In this embodiment, the third preset time is 800ms, so as to avoid setting the waiting time too long.
The control board compares and verifies the first address value with the target allocation address value to finish the address setting of the first grid plate, and specifically comprises the following two conditions:
a1, if the first address value is the same as the target allocation address value, the control board sends a confirmation instruction.
The control board receives the first address value of the first grid plate, compares the first address value with the issued target assigned address value, if the first address value is the same as the target assigned address value, the control board indicates that the first grid plate successfully receives the address issued by the control board, and the address setting is completed, and the control board sends a confirmation instruction to the first grid plate.
A2, the first grid plate receives the confirmation instruction, and writes the first address value into the internal storage to finish the address setting of the first grid plate.
After receiving the confirmation instruction sent by the control board, the first grid board writes the current address value into the internal flash for storage. At this time, the address setting of the first cell plate is completed, and the first cell plate starts to set the address of the second cell plate.
B1, if the first address value is different from the target allocation address value, the control board sends an error reporting instruction.
The control board receives the first address value of the first grid plate, compares the first address value with the issued target assigned address value, and if the first address value is different from the target assigned address value, the control board indicates that the first grid plate does not successfully receive the address issued by the control board or the address setting is wrong, and sends an error reporting instruction to the first grid plate.
B2, the first grid plate receives the error reporting instruction and clears the first address value.
After the first grid plate receives the error report instruction sent by the control board, the first grid plate confirms that the address setting fails, clears the first address value and waits for the control board to reset the address value.
Step 140, the first socket board updates the target allocation address value and issues the target allocation address value to the second socket board through the address allocation line.
Because the control panel of the main cabinet is connected with the first grid plate of the adjacent auxiliary cabinet, the first grid plate of the auxiliary cabinet is connected in series with the second grid plate of the adjacent auxiliary cabinet, and the second grid plate is connected with the second grid plate of the next adjacent auxiliary cabinet; after the control board completes the setting of the first grid plate address, the first grid plate updates the target allocation address value in sequence, and performs address setting on the second grid plate. The sequentially updating of the target allocation address value includes: the first grid plate increases the address value of which the setting is completed by 1 to update the address value allocated for the target. That is, the first socket board after the setting up increases its own address value by 1 to determine the target assigned address value issued to the second socket board.
And 150, setting the second grid plate according to the updated target allocation address value to obtain a second address value, returning the second address value to the first grid plate for verification, and finishing the address setting of the second grid plate.
The second grid plate obtains the jump times of the input end of the address distribution line detected in a second preset time to obtain a second address value.
The signal output end of the first grid plate is connected with the signal input end of the second grid plate through an address distribution line. The first grid plate sends updated target distribution address values to the second grid plate through the address distribution line, the second grid plate obtains the jump times of the input ends of the address distribution line detected in a second preset time, wherein the second preset time is 500ms, the second grid plate is fully ensured to receive the set address values, and the obtained jump times are determined to be the second address values.
And the second grid plate returns the second address value to the first grid plate for verification, and the first grid plate receives the second address value returned by the second grid plate within a third preset time. In this embodiment, the third preset time is 800ms, so as to avoid setting the waiting time too long.
The second address value is returned to the first grid plate for verification, and address setting of the second grid plate is completed, and the method specifically comprises the following two conditions:
And C1, if the second address value is the same as the target allocation address value, the first grid plate sends a confirmation instruction.
The first grid plate receives a second address value of the second grid plate, compares the second address value with the issued target allocation address value, and if the second address value is the same as the target allocation address value, the first grid plate indicates that the second grid plate successfully receives the address issued by the first grid plate, and the address setting is completed, and the first grid plate sends a confirmation instruction to the second grid plate.
And C2, receiving a confirmation instruction by the second grid plate, writing a second address value into the internal storage, and finishing the address setting of the second grid plate.
And after receiving the confirmation instruction sent by the first grid plate, the second grid plate writes the current address value into the internal flash for storage. At this time, the address setting of the second aperture plate is completed, and the second aperture plate starts to perform address setting on the next second aperture plate.
And D1, if the second address value is different from the target allocation address value, the first grid plate sends an error reporting instruction.
The first grid plate receives a second address value of the second grid plate, compares the second address value with the issued target allocation address value, and if the second address value is different from the target allocation address value, the first grid plate indicates that the second grid plate does not successfully receive the address issued by the first grid plate or the address setting is wrong, and the first grid plate sends an error reporting instruction to the second grid plate.
Further, the first grid plate can also judge whether the received second address value of the second grid plate is larger than the self address value by 1, if so, the second grid plate is determined to successfully receive the address issued by the first grid plate, the address setting is completed, and a confirmation instruction is sent to the second grid plate.
And D2, receiving an error reporting instruction by the second grid plate, and clearing the second address value.
After the second grid plate receives the error report instruction sent by the first grid plate, the second grid plate confirms that the address setting fails, clears the second address value and waits for the first grid plate to reset the address value.
At this time, the second grid plate uploads error reporting information to the control board.
After the second grid plate finishes address setting, address setting is started to be carried out on the next second grid plate.
And 160, updating the second grid plate into the first grid plate, and performing address setting on the next second grid plate until the address setting of all the grid plates is completed.
Updating the second grid plate with the address set to the first grid plate, and setting the address of the next second grid plate connected with the first grid plate according to the method until the address set of all the grid plates is completed.
All the grid plates are electrified simultaneously, and the correctness and the completion condition of the address value setting are ensured by sequentially setting the time mutual exclusion of the addresses and sending the time mutual exclusion to the control board for address confirmation after each setting.
Wherein, before step 160, further comprises: the second bezel checks for the presence of a next second bezel.
The second grid plate with the completed address is updated to the first grid plate to perform address setting on the adjacent second grid plates, and because the number of the second grid plates is limited, after the address setting of the second grid plates is completed, whether the next second grid plate exists or not needs to be judged, if yes, step 130 is executed, if no next second grid plate exists, it is judged that all grid plates have completed address setting, at this time, the second grid plates with the completed address setting should send all setting completed data to the control panel of the main cabinet, and the control panel completes the address setting operation of all grid plates and enters other control operations. The address of the grid plate can be guaranteed to be set through the response mechanism, the grid plate is not interfered with other operations, and the accuracy of the grid plate address setting is guaranteed.
The specific steps of judging whether the next second grid plate exists include: the second aperture plate reads the level of the output end of the address distribution line, if the level is high, the next second aperture plate exists, and if the level is low, the next second aperture plate does not exist.
The two second grid plates are connected in series through an address distribution line, and the signal output end of each second grid plate is connected with the signal input end of the next second grid plate through the address distribution line. The second grid plate for finishing address setting reads the level of the output end of the address distribution line, if the next second grid plate exists and is electrified, the level of the output end is high, and if the next second grid plate does not exist, the level of the output end is low; and judging whether the address setting of all the grid plates is finished according to the level of the output end of the read address distribution line by the second grid plate with the address setting finished, executing step 160 when the next second grid plate exists, and continuing to set the address for the next second grid plate.
According to the technical scheme, the intelligent cabinet control method comprises the following steps: the control board issues a target distribution address value to the first grid plate through an address distribution line; the first grid plate is set according to the target allocation address value to obtain a first address value, and the first address value is returned to the control panel; the control board compares and verifies the first address value with the target allocation address value to finish the address setting of the first grid plate; the first grid plate updates the target distribution address value and transmits the target distribution address value to the second grid plate through the address distribution line; the second grid plate is set according to the updated target allocation address value to obtain a second address value, and the second address value is returned to the first grid plate for verification, so that the address setting of the second grid plate is completed; updating the second grating plate into the first grating plate, and setting the address of the next second grating plate until the address setting of all grating plates is completed. Through carrying out the address setting by the control panel of main cabinet earlier to the first check board of auxiliary cabinet, after the address setting of first check board accomplishes, carry out the address setting to the second check board that links to each other, the second check board that the address setting accomplished is updated into first check board in proper order, updates the target distribution address value in proper order, carries out the address setting to the next second check board, when reducing the wiring, can also guarantee that the address sets up correctly in proper order when reducing the installation degree of difficulty. The grid plate is placed at the edge of the grid, and the lock wire and the like can be directly connected to the grid plate, and the upper grid plate and the lower grid plate can communicate only through a 485 bus. The problems of complex circuit, limited structure, increased installation difficulty, inconsistent wire length, easy occurrence of circuit connection error in the installation process and the like are solved, and the effects of simplifying the circuit, reducing the installation difficulty and ensuring the accuracy in the installation process are realized.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. The intelligent cabinet is characterized by comprising a main cabinet and a plurality of auxiliary cabinets, wherein the main cabinet comprises a control panel, the auxiliary cabinets comprise a plurality of grid plates, and the grid plates comprise a first grid plate and a second grid plate;
the control board is connected with the first grid plates in series through address distribution lines, the first grid plates are connected with the second grid plates in series through the address distribution lines, and the two second grid plates are connected with each other in series through the address distribution lines;
The signal output end of the control board is connected with the signal input end of the first grating plate through an address distribution line, the signal output end of the first grating plate is connected with the signal input end of the second grating plate through an address distribution line, and the signal output end of the second grating plate is connected with the signal input end of the next grating plate through an address distribution line;
the control board is electrically connected with all the grid plates and is used for supplying power to all the grid plates;
The control board is used for setting the address of the first grid plate through the address distribution line;
The control board issues a target distribution address value to the first grid plate through the address distribution line; the first grid plate is set according to the target allocation address value to obtain a first address value, and the first address value is returned to the control panel; the control board compares and verifies the first address value with the target allocation address value to finish the address setting of the first grid plate;
the first grid port board is set according to a target allocation address value to obtain a first address value, and the method comprises the following steps:
The first grid plate obtains the jump times of the input end of the address distribution line detected in a second preset time to obtain the first address value;
the first grid plate is used for setting the address of the second grid plate through the address distribution line;
After the first grid plate finishes address setting, the first grid plate updates a target allocation address value and sends the target allocation address value to the second grid plate through an address allocation line; the second grid plate is set according to the updated target allocation address value to obtain a second address value, and the second address value is returned to the first grid plate for verification, so that the address setting of the second grid plate is completed.
2. An intelligent cabinet control method applied to the intelligent cabinet of claim 1, and comprising the steps of:
The control board issues a target distribution address value to the first grid plate through an address distribution line;
the first grid plate is set according to the target allocation address value to obtain a first address value, and the first address value is returned to the control panel;
The control board compares and verifies the first address value with the target allocation address value to finish the address setting of the first grid plate;
the first grid plate updates a target distribution address value and transmits the target distribution address value to the second grid plate through an address distribution line;
The second grid plate is set according to the updated target allocation address value to obtain a second address value, and the second address value is returned to the first grid plate for verification, so that the address setting of the second grid plate is completed;
updating the second grid plate into a first grid plate, and performing address setting on the next second grid plate until the address setting of all the grid plates is completed.
3. The intelligent cabinet control method according to claim 2, further comprising, before the control board issues the target allocation address value to the first socket board through the address allocation line:
the control board sets the address distribution line output terminal to a low level and maintains the first preset time.
4. The intelligent cabinet control method according to claim 2, wherein the first grid plate is configured according to the target allocation address value to obtain a first address value, and the method comprises:
The first grid plate obtains the jump times of the input end of the address distribution line detected in the second preset time to obtain the first address value.
5. The intelligent cabinet control method according to claim 2, wherein the control board compares the first address value with the target allocation address value for verification, and completing the address setting of the first bezel includes:
if the first address value is the same as the target allocation address value, the control board sends a confirmation instruction;
the first grid plate receives the confirmation instruction, writes the first address value into an internal memory, and completes address setting of the first grid plate;
if the first address value is different from the target allocation address value, the control board sends an error reporting instruction;
And the first grid interface board receives the error reporting instruction and clears the first address value.
6. The intelligent cabinet control method according to claim 2, wherein the first bezel updating the target allocation address value and issuing to the second bezel through the address allocation line comprises:
and the first grid plate increases the address value which is set to be finished by 1 to update the address value allocated to the target.
7. The intelligent cabinet control method according to claim 2, wherein the setting of the second grid plate according to the updated target allocation address value, obtaining a second address value, and returning the second address value to the first grid plate for verification, and completing the address setting of the second grid plate, includes:
And the second grid plate acquires the jump times of the input end of the address distribution line detected in a second preset time to obtain the second address value.
8. The intelligent cabinet control method according to claim 7, wherein the second grid plate is set according to the updated target allocation address value to obtain a second address value, and the second address value is returned to the first grid plate for verification, so as to complete address setting of the second grid plate, and further comprising:
if the second address value is the same as the target allocation address value, the first grid plate sends a confirmation instruction;
the second grid plate receives the confirmation instruction, writes the second address value into internal storage, and completes address setting of the second grid plate;
If the second address value is different from the target allocation address value, the first grid plate sends an error reporting instruction;
and the second grid port board receives the error reporting instruction and clears the second address value.
9. The intelligent cabinet control method according to claim 2, wherein, before the updating the second grid plate to the first grid plate and performing address setting on the next second grid plate, the method further comprises:
The second bezel checks for the presence of a next second bezel.
10. The intelligent cabinet control method according to claim 9, wherein the second bezel checking whether a next second bezel exists comprises:
The second grid plate reads the level of the output end of the address distribution line, if the level is high, the next second grid plate exists, and if the level is low, the next second grid plate does not exist.
CN202111647518.0A 2021-12-30 Intelligent cabinet and intelligent cabinet control method Active CN114343338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111647518.0A CN114343338B (en) 2021-12-30 Intelligent cabinet and intelligent cabinet control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111647518.0A CN114343338B (en) 2021-12-30 Intelligent cabinet and intelligent cabinet control method

Publications (2)

Publication Number Publication Date
CN114343338A CN114343338A (en) 2022-04-15
CN114343338B true CN114343338B (en) 2024-07-05

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984295A (en) * 2012-12-07 2013-03-20 中兴通讯股份有限公司 Mobile terminal and address allocation method thereof
CN106437340A (en) * 2016-11-28 2017-02-22 广州惠远电子有限公司 Intelligent cabinet electromagnetic lock control method, control system and intelligent cabinet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984295A (en) * 2012-12-07 2013-03-20 中兴通讯股份有限公司 Mobile terminal and address allocation method thereof
CN106437340A (en) * 2016-11-28 2017-02-22 广州惠远电子有限公司 Intelligent cabinet electromagnetic lock control method, control system and intelligent cabinet

Similar Documents

Publication Publication Date Title
US20120268069A1 (en) Method and system for setting sequential identification to multi-slave in battery pack
CN111147619A (en) Method and system for realizing automatic address allocation of RS485 slave equipment locally
CN105930236A (en) Application program version returning method based on BMS Bootloaderupgrade
CN108958772A (en) A kind of batch upgrading method and system of more board equipment
CN106897088A (en) Software update system and method for upgrading software
CN106647238A (en) Method for refreshing redundant controller based on CAN line
CN108920168B (en) Bootloader method supporting simultaneous upgrading of multiple similar ECUs and having function of preventing program mismatching
CN114343338B (en) Intelligent cabinet and intelligent cabinet control method
CN111221765A (en) Communication method and communication system for preventing I2C bus address conflict
CN113010190A (en) MAC address burning method, device, equipment and storage medium
CN111782246A (en) Embedded program upgrading method of multi-node equipment based on bus
CN107015829A (en) Audio system upgrade method, device
CN110727255A (en) Whole vehicle controller software upgrading test system and vehicle
CN114343338A (en) Intelligent cabinet and intelligent cabinet control method
CN203616750U (en) ID (identity) identification device based on CAN (controller area network) bus communication and battery system
CN116599936A (en) Battery pack physical position identification device and method and photovoltaic power station start-up addressing method
CN115357537A (en) Automatic address identification method, air conditioner and computer readable storage medium
CN101551769B (en) Agglomeration method and device of configurable firmware
CN115378082A (en) CAN bus communication address automatic allocation method, battery management method and system
CN218601804U (en) Master-slave board bus communication addressing system
CN110364211A (en) A kind of method, device and equipment reducing nonvolatile storage erasing interference time
CN107203392A (en) A kind of many stipulations implementation methods of mini system end product
CN117880249B (en) Automatic addressing method for differential communication bus unit
CN112783549A (en) Method for upgrading data version number of automobile electric control element
CN101819532B (en) Method and device for updating data

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 518000, Building T2, 1601, Qianhai Building, No. 123 Guiwan Fifth Road, Nanshan Street, Qianhai Shenzhen Hong Kong Cooperation Zone, Shenzhen, Guangdong Province

Applicant after: Fengchao Network Technology Co.,Ltd.

Address before: 16F, building 2, yongxinhui, no.4078 Dongbin Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Fengchao Network Technology Co.,Ltd.

Country or region before: China

GR01 Patent grant