Acquisition and drive board control system, address signal self-checking method, medium and equipment
By designing modules with identification function of the driver board in the control system, and using the standard configuration information and the device operation configuration information to check the problem of duplication, interchange or disguise of the driver board address signals, the uniqueness of the driver board address signals is solved, and the address signal is achieved and certainty improve the accuracy of data transmission and the adaptability of the system.
Patent Information
- Application Number
- CN202411539921.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-11
AI Technical Summary
In existing control systems, the address signals of the driver board may be repeated, interchangeable or disguised due to device failure, resulting in data transmission errors, and the uniqueness and certainty of the address module cannot be ensured.
A control system with identity identification function of the driver board is designed. Through the combination of the main driver board and the sub driver board, the standard configuration information and the equipment operation configuration information are checked to ensure that the address signal of the driver board matches and passes through CRC checks to ensure uniqueness and certainty of address signals.
It realizes the matching of the address signals of the driver board by one, reduces the number of configuration board and address circuits, quickly locates the wrong address or identity, is highly adaptable, and can self-correct errors when the driver board is mixed and plugged in.
Smart Images

Figure CN119414759A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of railway signals, and in particular to a mining drive board control system, an address signal self-checking method, a medium and equipment. Background Art
[0002] The current control system involves a variety of acquisition and drive boards, such as turnout acquisition and drive, signal light acquisition and drive, track circuit acquisition, encoder drive, etc. Considering the convenience and cost of system maintenance, these boards are usually in the same cabinet and have universality, and the location is determined by the address circuit. However, it is inevitable that the physical address will be repeated, interchanged, disguised, etc. due to random failures of the device, resulting in logical judgment using the acquisition and drive results of the wrong address, resulting in unpredictable consequences. How to ensure the correct transmission and identification of data, and ensure that the address module is unique and deterministic both physically and logically, has become an urgent problem to be solved. Summary of the invention
[0003] The purpose of the present invention is to provide a mining drive board control system, an address signal self-checking method, a medium and a device, which have the advantages of ensuring the correct transmission and identification of data.
[0004] To achieve the above-mentioned purpose, the present invention provides a control system with a mining and driving board identity recognition function, the control system is used to control the equipment, and the control system includes: a main mining and driving module, which exchanges data with the equipment, receives initial data from the equipment, generates mining and driving commands according to the initial data, and transmits them to the corresponding equipment; a plurality of sub-mining and driving modules, which are respectively connected to the main mining and driving module by signal, exchange data with the main mining and driving module, receive initial data from the main mining and driving module, and output corresponding mining and driving commands to the main mining and driving module according to the initial data; the main mining and driving module receives the mining and driving commands from the sub-mining and driving modules and transmits them to the corresponding equipment; the main mining and driving module and the sub-mining and driving modules each include a plurality of mining and driving boards; the main mining and driving module stores standard configuration information of the mining and driving boards, and performs identity recognition on all the mining and driving boards.
[0005] Preferably, the main acquisition and drive module includes: a backplane; a plurality of communication boards, which are arranged on the backplane and are respectively connected to all sub-acquisition and drive modules and device signals to receive initial data from the devices; if there are more than two communication boards, the communication boards are connected to each other by signals; a plurality of acquisition and drive boards, which are arranged on the backplane and are all connected to all communication boards by signals to receive initial data from the communication boards, generate acquisition and drive commands according to the initial data, and transmit them to all communication boards; all communication boards receive acquisition and drive commands and transmit them to corresponding devices.
[0006] Preferably, any of the sub-collection and drive modules includes: a backplane; multiple collection and drive boards, which are arranged on the backplane of the sub-collection and drive module to which they belong, are all connected to the signals of all communication boards, receive initial data from the communication board, generate collection and drive commands based on the initial data, and transmit them to all communication boards. After the communication board receives the collection and drive commands from the collection and drive board of the sub-collection and drive module, it transmits them to the corresponding device.
[0007] Preferably, the connection between the communication board and the device, the connection between multiple communication boards, and the connection between the communication board and the sampling and driving board adopt the CAN bus protocol.
[0008] Preferably, the main acquisition and drive module also includes: a acquisition and drive board configuration board, which is arranged on the backplane and stores standard configuration information of all acquisition and drive boards; a plurality of communication board configuration boards, which are arranged on the communication board and are respectively connected with the corresponding communication board, acquisition and drive board configuration board and device signals, receive the device operation configuration information of all acquisition and drive boards from the device, and store it. At least one communication board configuration board is arranged on any of the communication boards; if more than two communication boards are arranged on one communication board, the communication board configuration boards are connected with each other by signals.
[0009] Preferably, the standard configuration information includes an address signal, a signal transmission path, a factory identification number, software and hardware versions, and a physical address.
[0010] Preferably, the standard configuration information is the configuration information that all the mining and driving boards on the backplane should have under normal operation; the device operation configuration information is the configuration information that should be used in real time when the corresponding device is running.
[0011] Preferably, the equipment operation configuration information and the standard configuration information are checked in the drive board configuration board and the communication board configuration board; if they are consistent, normal operation is carried out; if they are inconsistent, the equipment operation configuration information shall prevail and the standard configuration information shall be overwritten.
[0012] Preferably, the initial data transmitted by the device to the control system includes first operating data and second operating data.
[0013] Preferably, any of the communication boards include: a first central processor, which is respectively connected to the communication board configuration board, all the acquisition and driving boards and the device signals of the communication board to which it belongs; receives the first operation data from the device and transmits it to the corresponding acquisition and driving board, receives the device operation configuration information from the communication board configuration board and transmits it to the acquisition and driving board; any of the acquisition and driving boards include: a first sub-processor, which stores the factory configuration information, and is connected to the first central processor by signal; the first sub-processor receives the device operation configuration information from the first central processor, verifies the device operation configuration information with the factory configuration information, and receives the first operation data to generate the acquisition and driving command and transmits it to the first central processor, and the first central processor transmits it to the corresponding device.
[0014] Preferably, any of the communication boards include: a second central processor, which is respectively connected to the communication board configuration board, all the acquisition and driving boards and the device signals of the communication board to which it belongs; receives the second operation data from the device and transmits it to the corresponding acquisition and driving board, receives the device operation configuration information from the communication board configuration board and transmits it to the acquisition and driving board; any of the acquisition and driving boards include: a second sub-processor, which stores the factory configuration information, and is connected to the second central processor by signal; the second sub-processor receives the device operation configuration information from the second central processor, verifies the device operation configuration information with the factory configuration information, and receives the second operation data to generate the acquisition and driving command and transmits it to the second central processor, and the second central processor transmits it to the corresponding device.
[0015] Preferably, the first sub-processor and the second sub-processor check the factory configuration information and the equipment operation configuration information, and if they are consistent, they operate normally; if they are inconsistent, they perform safety-side processing.
[0016] Preferably, the first central processor and the second central processor belonging to the same communication board are signal connected to each other; when all communication boards have completed the verification of the aforementioned equipment operation configuration information and the standard configuration information, the first sub-processor and the second sub-processor of the same mining and driving board respectively transmit the factory configuration information to the corresponding first central processor and the second central processor; the factory configuration information of the first sub-processor and the second sub-processor belonging to the same mining and driving board is verified; if there is any inconsistency between the output results of the first central processor and the second central processor belonging to the same communication board, safety side processing is performed.
[0017] A method for self-checking an address signal is implemented by using the control system with the identification function of the drive board as described above, and the method includes: step S1, the communication board configuration board receives the equipment operation configuration information from the equipment and receives the standard configuration information from the drive board configuration board, and checks the address signal therein; step S2, if they are consistent, enter step S3; if there is any inconsistency in any configuration information, the standard configuration information is overwritten with the equipment operation configuration information, and returns to step S1; step S3, the first central processor calls the equipment operation configuration information of the communication board configuration board, and transmits the equipment operation configuration information to the corresponding first sub-processor to check the address signal; the second central processor calls the equipment of the communication board configuration board Run configuration information, transmit the equipment run configuration information to the corresponding second sub-processor for address signal verification; if all are correct, enter step S4, if there is any inconsistency, perform safety side processing; step S4, all first sub-processors transmit the corresponding factory configuration information to the corresponding first central processor; all second sub-processors transmit the corresponding factory configuration information to the corresponding second central processor; the first central processor and the second central processor belonging to the same communication board check the address signal of the same acquisition and drive board through CRC; step S5, if consistent, it means that the self-test is completed; if there is any inconsistency between the output results of the first central processor and the second central processor belonging to the same communication board, perform safety side processing;
[0018] Preferably, the verification of address signals originating from different configuration information is achieved by verifying the authorization code BID in the address signal.
[0019] Preferably, after the self-check operation exceeds a certain time threshold, it is directed to the safety side for processing.
[0020] Preferably, if the first sub-processor or the second sub-processor does not store the factory configuration information, a request is made to the corresponding first central server or the second central server for the corresponding device operation configuration information as the factory configuration information.
[0021] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the address signal self-checking method as described above is implemented.
[0022] An electronic device comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, an address signal self-checking method as described above is implemented.
[0023] In summary, compared with the prior art, the control system with the mining drive board identification function provided by the present invention has the following beneficial effects:
[0024] First, the present invention can match the address signals of the sampling and driving boards one by one without causing errors.
[0025] Second, the present invention reduces the number of configuration boards and address circuits in hardware.
[0026] Third, the present invention facilitates rapid location of an incorrect address or incorrect identity.
[0027] Fourthly, the present invention has strong adaptability and can also perform self-correction when mixed insertion of drive boards is performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of an embodiment of the present invention with two communication boards.
[0029] Figure 2 The figure is a schematic diagram of an embodiment of the present invention in the case of a communication board.
[0030] Figure 3 It is a schematic diagram of an embodiment of the present invention with two central processors and two sub-processors.
[0031] Figure 4 The present invention provides a flowchart of an address signal self-checking method. DETAILED DESCRIPTION
[0032] The following will be combined with the attached embodiment of the present invention Figure 1 ~Attached Figure 4 , the technical solutions, structural features, objectives achieved and effects in the embodiments of the present invention are described in detail.
[0033] It should be noted that the drawings are in a very simplified form and use non-precise proportions. They are only used to conveniently and clearly assist in explaining the embodiments of the present invention, and are not used to limit the conditions for the implementation of the present invention. Therefore, they have no substantive technical significance. Any structural modification, change in proportional relationship or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical content disclosed by the present invention.
[0034] It should be noted that, in the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only the elements explicitly listed, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0035] The present invention provides a control system with a sampling and driving board identity recognition function, which is used to control equipment; the equipment described here, for example, is a signal light control device, a track circuit control device, etc., and the important component for controlling the equipment is the sampling and driving board inside the control system. The so-called sampling and driving board is an important component for collecting data and driving the equipment to operate. A control system is often composed of multiple types of multiple sampling and driving boards that work together to realize its control of the equipment. Therefore, during operation, different sampling and driving boards may have operating address errors, sampling and driving board setting positions are incorrect, and received data cannot correspond to other problems; in this regard, the control system proposed by the present invention solves this problem.
[0036] The present invention provides a control system with a mining drive board identity recognition function, such as Figure 2 As shown, the control system includes:
[0037] A main acquisition and drive module exchanges data with the device, receives initial data from the device, generates acquisition and drive commands based on the initial data, and transmits them to the corresponding device; wherein, data exchange with the device includes data exchange with the device body, and data exchange with the upper system of the control device, and then transmits the initial data; its core purpose is that the device needs to send the initial data including "what acquisition and drive command to generate" to the main acquisition and drive module; of course, the initial data also includes general data such as the device acquisition status and the device operation results, which will not be elaborated here;
[0038] Several sub-collection and drive modules are respectively connected to the main collection and drive module signals, perform data exchange with the main collection and drive module, receive initial data from the main collection and drive module, and output corresponding collection and drive commands to the main collection and drive module according to the initial data; the main collection and drive module receives the collection and drive commands from the sub-collection and drive module and transmits them to the corresponding equipment;
[0039] Among them, the difference between the sub-acquisition drive module and the main acquisition drive module is that the sub-acquisition drive module only has the computing function, while the main acquisition drive module also has the function of communicating with the device; by combining a main acquisition drive module and several sub-acquisition drive modules, the computing efficiency can be increased and the execution and control of the acquisition drive commands of the target device can be optimized.
[0040] In some specific embodiments, for example, when there is not much computing pressure, only the main acquisition and driving module works, and the sub-acquisition and driving module only receives initial data, which is equivalent to only assuming the function of storing information.
[0041] like Figure 1 and Figure 2In the example, cabinet A represents a control system for controlling device A, and cabinet B represents another control system for controlling device B. As for the existence of cabinet A and cabinet B, because there are multiple devices in one area, there will be an arrangement of cabinet A, cabinet B, cabinet C, etc., which is equivalent to a combination of multiple single devices corresponding to a single control system. They are not related to each other and are just set in the same control site.
[0042] In a specific embodiment, Figure 1 and Figure 2 As shown, the main mining and driving module includes:
[0043] A backplane, used to carry corresponding components; generally speaking, the backplane is also provided with basic components such as a power supply, used to power the entire module, which is not the focus of this patent and will not be elaborated later;
[0044] Several communication boards are arranged on the backplane, respectively connected with all sub-collection drive modules and device signals, and receive initial data from the devices; if there are more than two communication boards, the communication boards are connected with each other by signals;
[0045] Multiple sampling and driving boards are arranged on the backplane, and are all connected with all communication board signals, receiving initial data from the communication board, and generating sampling and driving commands according to the initial data, and transmitting them to all communication boards; all communication boards receive the sampling and driving commands and transmit them to corresponding devices;
[0046] In a specific embodiment, the connection between the communication board and the device, the connection between multiple communication boards, and the connection between the communication board and the sampling and driving board adopts the CAN (Controller Area Network) bus protocol.
[0047] Among them, Figure 1 As shown, two communication boards are set up. The content and functions stored in the two communication boards are exactly the same, but one is the main communication board and the other is the backup communication board. The use of two communication boards can ensure that the control system will not crash when problems occur; and the two communication boards can be used together to reduce the computing pressure by reasonably allocating computing tasks. Here, the main communication board and the backup communication board are only used for reference. The number of main communication boards and backup communication boards can be combined according to actual needs, but it must be ensured that at least one communication board is "nominal" as the main communication board.
[0048] In addition, in some embodiments, for example, if the computing task is not large, the standby communication board does not need to send initial data to the sampling and driving board; here, the standby communication board only receives the initial data and the sampling and driving commands. At this time, the standby communication board is equivalent to synchronizing the data of the main communication board and plays the role of data storage.
[0049] In addition, in order to ensure that the content and functions stored in the two communication boards are exactly the same, data interaction is required before each control system is used to ensure consistency. Figure 2 As shown, one communication board is provided. In this case, the aforementioned data interaction process does not need to be performed before each use of the control system, because there is no other communication board for data interaction therewith.
[0050] In a specific embodiment, Figure 1 and Figure 2 As shown, any of the sub-collection and driving modules includes:
[0051] A backplane, used to carry corresponding components; here, the backplane of the sub-collection drive module and the backplane of the aforementioned main collection drive module are the same type of backplane, and have the same functions;
[0052] Multiple acquisition and drive boards are arranged on the backplane of the sub-acquisition and drive module, and are all connected with the signal of all the communication boards of the main acquisition and drive module. They receive the initial data from the communication board, generate acquisition and drive commands according to the initial data, and transmit them to all the communication boards. After receiving the acquisition and drive commands from the acquisition and drive boards of the sub-acquisition and drive modules, the communication boards transmit them to the corresponding devices.
[0053] In a specific embodiment, the connection between the communication board and the sampling and driving board adopts the CAN bus protocol.
[0054] For the settings of the drive board, you can set it up independently or in correspondence, for example Figure 2 As shown in FIG. 1 , this type is an independent operation setting of the mining drive board, mining drive board A-1, mining drive board A-2, etc.; that is, each mining drive board independently performs the corresponding operation, and the connectivity between each other is weak; and as shown in FIG. Figure 1 As shown, it is a corresponding operation setting, the mining drive board A-1 and the mining drive board A-1' are set correspondingly, and similarly, the mining drive board A-2 and the mining drive board A-2' are set correspondingly, and so on; that is, two correspondingly set mining drive boards perform calculations together, and their connectivity is strong; no matter which setting scheme can be selected according to the calculation requirements, there is no restriction here.
[0055] It should be reiterated here that the backplane only has the function of bearing components and does not have any computing function. Figure 1 and Figure 2 In the figure, backplane A, backplane B, etc. are connected to each other, but the logic of data transmission is still built around the communication board. For example, for any communication board, Figure 1 and Figure 2 As shown in the red dotted line, all sampling and driving boards are connected to all communication board signals.
[0056] In addition, there is no difference between the acquisition and drive board of the main acquisition and drive module and the acquisition and drive board of the sub-acquisition and drive module. They are components with the same function, that is, they can be inserted in the position of any other acquisition and drive board. At this time, the incorrectly installed acquisition and drive board does not affect the startup of the control system, but the corresponding acquisition instructions cannot be calculated, and thus the output of the acquisition and drive commands to the equipment cannot be realized, so it is inevitable that there will be a situation where the identity of the acquisition and drive board needs to be determined.
[0057] Based on this, the main mining and driving module also includes:
[0058] A drive board configuration board, which is arranged on the back panel and stores standard configuration information of all drive boards;
[0059] The standard configuration information includes, but is not limited to, address signals, signal transmission paths, factory identification numbers, software and hardware versions, physical addresses, etc. In addition, “all acquisition and drive boards” here refer to the acquisition and drive boards of the main acquisition and drive module and the acquisition and drive boards of all sub-acquisition and drive modules;
[0060] Several communication board configuration boards are arranged on the communication board, and are respectively connected with the communication board, the sampling and driving board configuration board and the equipment signals to which they belong, receive the equipment operation configuration information from all the sampling and driving boards of the equipment, and store it. At least one communication board configuration board is arranged on any of the communication boards; if more than two communication boards are arranged on one communication board, the communication board configuration boards are connected with each other by signals;
[0061] Among them, the equipment operation configuration information and the standard configuration information include the same type of data, and the specific properties and differences are described in detail below.
[0062] Here, although the standard configuration information of the sampling and driving board configuration board and the equipment operation configuration information of the communication board configuration board both correspond to the configuration information of the sampling and driving board, the sampling and driving board configuration board stores a kind of configuration information that should be possessed by all the sampling and driving boards on the backplane under normal operation, that is, the standard configuration information of the sampling and driving board; and because the communication board configuration board is connected to the equipment in real time, this kind of configuration information is the configuration information that should be used by the sampling and driving board in real time when the corresponding equipment is running, so the communication board configuration board stores the equipment operation configuration information.
[0063] This results in that in some cases, due to the mixed use and mixed insertion of sampling and driving boards, the equipment operation configuration information is inconsistent with the standard configuration information when the corresponding equipment is running, that is, the configuration information stored in the sampling and driving board configuration board and the communication board configuration board are inconsistent; if there is an inconsistency, the equipment operation configuration information shall prevail and the standard configuration information shall be overwritten (hereinafter referred to as the "overwrite operation").
[0064] This mode is adopted. First, it is convenient for the communication board configuration board to check the sampling and driving board configuration board. Second, if the configuration information stored in the sampling and driving board configuration board and the communication board configuration board are different, real-time correction can be performed.
[0065] Generally speaking, a communication board only sets one communication board configuration board, such as Figure 1 As shown, the main communication board is provided with a communication board configuration board 1A, and the standby communication board is provided with a communication board configuration board 1'A. In a special embodiment, if a communication board is provided with two or more communication board configuration boards for backup and other reasons, attention should be paid to their program settings to prevent data interaction errors, such as differences in the configuration information of all sampling and driving boards stored in the two communication board configuration boards, resulting in the inability to perform operations such as identification and proofreading.
[0066] like Figure 3 As shown, a specific embodiment of the operation of the mining drive board is introduced below. In this embodiment, the initial data transmitted by the device to the control system includes two different data, namely, the first operation data and the second operation data. The two data come from the same device, that is, the device operation configuration information of the two devices should be consistent. At this time, the address signals of the first operation data and the second operation data (that is, two operation channels) are stored in the device operation configuration information, which are SlotA and SlotB, respectively, and both of them are 7-bit address signals of the same type but independent of each other. Based on this, the present invention proposes the following specific embodiment based on the first operation data and the second operation data.
[0067] In this embodiment, any of the communication boards includes: a first central processor, the first central processor is respectively connected to the communication board configuration board of the communication board to which it belongs, all the acquisition and driving boards, and the device signal; receives the first operation data from the device and transmits it to the corresponding acquisition and driving board, receives the device operation configuration information from the communication board configuration board and transmits it to the acquisition and driving board (the operation of this step requires a prerequisite, which needs to be checked for consistency between the standard configuration information and the device operation configuration information);
[0068] Any of the above-mentioned acquisition and drive boards includes: a first sub-processor, the first sub-processor stores factory configuration information, and the first sub-processor is signal-connected to the first central processor; the first sub-processor receives equipment operation configuration information from the first central processor, verifies the equipment operation configuration information with the factory configuration information, and receives first operation data to generate an acquisition and drive command and transmits it to the first central processor, which transmits it to the corresponding device (the operation of this step requires a prerequisite, which requires a consistency check between the equipment operation configuration information and the factory configuration information).
[0069] In this embodiment, the specific operation mode of the communication board and the mining and driving board is clarified. The reason why the first sub-processor verifies the equipment operation configuration information is that the above only ensures that the standard configuration information and the equipment operation configuration information are consistent; but it does not involve the verification of the mining and driving board, because the first sub-processor of the mining and driving board stores the factory configuration information, so the verification is completed in the first sub-processor here, ensuring the safety of the entire process. If the factory configuration information is consistent with the equipment operation configuration information, the corresponding data is processed; if not, it means that the mining and driving board does not correspond at this time, and the safety side processing is performed to start the protection control system mode.
[0070] Similarly, it is clarified above that there are two operation channels under this embodiment. Under this embodiment, any of the communication boards includes: a second central processor, which is respectively connected to the communication board configuration board, all the acquisition and driving boards and the device signal of the communication board to which it belongs; receives the second operation data from the device and transmits it to the corresponding acquisition and driving board, receives the device operation configuration information from the communication board configuration board and transmits it to the acquisition and driving board (the operation of this step requires a prerequisite, which needs to be checked for consistency between the device operation configuration information and the factory configuration information);
[0071] Any of the above-mentioned acquisition and drive boards includes: a second sub-processor, the second sub-processor stores factory configuration information, and the second sub-processor is signal-connected to the second central processor; the second sub-processor receives equipment operation configuration information from the second central processor, verifies the equipment operation configuration information with the factory configuration information, and receives second operation data to generate an acquisition and drive command and transmits it to the second central processor, which transmits it to the corresponding device (the operation of this step requires a prerequisite, which requires a consistency check between the equipment operation configuration information and the factory configuration information).
[0072] The rest is the same as above and will not be repeated here. In this way, the first central processor and the first sub-processor are used to process the first operating data, that is, processing under SlotA; the second central processor and the second sub-processor are used to process the second operating data, that is, processing under SlotB.
[0073] In a preferred embodiment, in order to realize the factory configuration information check between the first sub-processor and the second sub-processor of the same mining and driving board; the first central processor and the second central processor of the same communication board are connected by signals to each other, and when all communication boards complete the check of the aforementioned equipment operation configuration information and the standard configuration information, the first sub-processor and the second sub-processor of the same mining and driving board transmit the factory configuration information to the corresponding first central processor and the second central processor respectively; because the first central processor and the second central processor of the same communication board are connected by signals to each other, the factory configuration information of the first sub-processor and the second sub-processor of the same mining and driving board can be checked in the first central processor and the second central processor at this time; thereby ensuring that the control system executes the first operation data and the second operation data from the same device. Specifically, CRC (Cyclic Redundancy Check) can be used to check the corresponding configuration information, that is, the first central processor and the second central processor calculate a value by calculating the factory configuration information of the same mining and driving board received by each of them, and check, if consistent, it means that they are from the same device, if inconsistent, it means that the data are from different devices; generally speaking, it is output to the second central processor for checking. Of course, when there is only one operating channel, only one central processor and sub-processor will be used accordingly, and naturally this kind of verification will not be performed.
[0074] The following will introduce specific embodiments. Figure 1 and Figure 3 As shown, this embodiment is provided with two communication boards, namely the main communication board and the standby communication board. A communication board configuration board 1A is provided for the main communication board, and a communication board configuration board 1'A is provided for the standby communication board. Both the communication board configuration board 1A and the communication board configuration board 1'A are signal-connected to the sampling and driving board configuration board 2A provided on the backplane. In this embodiment, there are first operating data and second operating data, which correspond to two operating channels, so a first central processor and a second central processor, as well as a first sub-processor and a second sub-processor are provided, and the first central processor and the second central processor are connected; in this embodiment, due to the low computing intensity, only the main communication board is used, and the standby communication board is used for data proofreading and storage functions; therefore, the following first central processor and second central processor only refer to the first central processor and the second central processor of the main communication board.
[0075] Here, as mentioned above, in the first step, the device transmits the device operation configuration information to the communication board configuration board 1A and the communication board configuration board 1'A, the device transmits the first operation data to the first central processor, and the device transmits the second operation data to the second central processor. The communication board configuration board 1A and the communication board configuration board 1'A and the mining and driving board configuration board 2A check the device operation configuration information with the standard configuration information to ensure that the device operation configuration information is consistent with the standard configuration information; if they are consistent, the first central processor transmits the first operation data to the first sub-processor, and the second central processor transmits the second operation data to the second sub-processor; if they are inconsistent, the aforementioned overwriting operation is performed, and then the first operation data and the second operation data are transmitted; it should be emphasized here that the first operation data and the second operation data are only transmitted, and no calculation is performed.
[0076] In the second step, the first central processor calls the equipment operation configuration information of the communication board configuration board, and transmits the equipment operation configuration information to the first sub-processor for checking the factory configuration information to ensure that the equipment operation configuration information is consistent with the factory configuration information. If it is inconsistent, the safety side is processed; if it is consistent, the third step is entered. It should be noted that at this time, the first sub-processor does not generate the acquisition and drive command, because in the subsequent steps, the first central processor and the second central processor are required to check the factory configuration information of the first sub-processor and the second sub-processor belonging to the same acquisition and drive board;
[0077] In the third step, the second central processor calls the equipment operation configuration information of the communication board configuration board, and transmits the equipment operation configuration information to the second sub-processor for checking the factory configuration information to ensure that the equipment operation configuration information is consistent with the factory configuration information. If it is inconsistent, the safety side is processed; if it is consistent, enter the fourth step. It should be noted that at this time, the second sub-processor does not generate the acquisition and drive command, because in the subsequent steps, the first central processor and the second central processor are required to check the factory configuration information of the first sub-processor and the second sub-processor belonging to the same acquisition and drive board;
[0078] In the fourth step, all first sub-processors transmit the corresponding factory configuration information to the first central processor; all second sub-processors transmit the corresponding factory configuration information to the second central processor; the first central processor and the second central processor check the factory configuration information of the first sub-processors and the second sub-processors belonging to the same acquisition and drive board; if all are correct, the first central processor and the second central processor respectively transmit instructions that can execute the generation of acquisition and drive commands to all first sub-processors and second sub-processors, all first sub-processors and second sub-processors execute the generation of corresponding acquisition and drive commands, and transmit them to the first central processor and the second central processor accordingly, and the first central processor and the second central processor transmit them to the corresponding devices; if there is any inconsistency, it is processed on the safety side.
[0079] In addition, when the control system is operating, in order to avoid errors in the address signal in the configuration information during operation, the address signal needs to be self-checked periodically; specifically, Figure 4 As shown, a method for self-checking an address signal; using the aforementioned control system, the control system is as shown in the Figure 1 and Figure 3 According to an embodiment of the present invention, the method comprises:
[0080] Step S1, the communication board configuration board receives the equipment operation configuration information from the equipment and receives the standard configuration information from the sampling and driving board configuration board, and checks the address signals therein;
[0081] Step S2: if they are consistent, proceed to step S3; if any configuration information is inconsistent, the standard configuration information is overwritten with the equipment operation configuration information, and the process returns to step S1;
[0082] Step S3, the first central processor calls the device operation configuration information of the communication board configuration board, and transmits the device operation configuration information to the corresponding first sub-processor for address signal verification; the second central processor calls the device operation configuration information of the communication board configuration board, and transmits the device operation configuration information to the corresponding second sub-processor for address signal verification; if both are correct, go to step S4, if any one is inconsistent, perform security side processing;
[0083] Step S4, all first sub-processors transmit the corresponding factory configuration information to the corresponding first central processor; all second sub-processors transmit the corresponding factory configuration information to the corresponding second central processor; the first central processor and the second central processor belonging to the same communication board check the address signal of the same sampling and driving board through CRC;
[0084] Step S5: if they are consistent, it means that the self-check is completed; if there is any inconsistency between the output results of the first central processor and the second central processor belonging to the same communication board, perform safety side processing;
[0085] In a specific embodiment, the verification of address signals from different configuration information can be achieved by verifying the authorization code BID (Bridge ID, which is an identifier used in STP to determine the root bridge in the network) in the address signal.
[0086] In a preferred embodiment, after the self-check operation exceeds a certain time threshold, it is directed to the safety side for processing.
[0087] In a preferred embodiment, if the first sub-processor or the second sub-processor does not store the factory configuration information, the corresponding device operation configuration information is requested from the corresponding first central server or the second central server as the factory configuration information; this can be understood as a factory setting of a control system.
[0088] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.
Claims
1. A control system with a mining and driving board identification function, characterized in that: The control system is used to control the equipment, and the control system includes: A main acquisition and drive module exchanges data with the device, receives initial data from the device, generates acquisition and drive commands based on the initial data, and transmits them to the corresponding device; Several sub-collection and drive modules are respectively connected to the main collection and drive module signals, perform data exchange with the main collection and drive module, receive initial data from the main collection and drive module, and output corresponding collection and drive commands to the main collection and drive module according to the initial data; the main collection and drive module receives the collection and drive commands from the sub-collection and drive module and transmits them to the corresponding equipment; The main mining and driving module and the sub-mining and driving module both include multiple mining and driving boards; the main mining and driving module stores standard configuration information of the mining and driving boards and performs identity recognition on all mining and driving boards.
2. A control system with a mining and driving board identity recognition function according to claim 1, characterized in that: The main mining and driving module includes: a back plate; Several communication boards are arranged on the backplane, respectively connected with all sub-collection drive modules and device signals, and receive initial data from the devices; if there are more than two communication boards, the communication boards are connected with each other by signals; Multiple sampling and driving boards are arranged on the backplane, are connected to all communication board signals, receive initial data from the communication board, generate sampling and driving commands according to the initial data, and transmit them to all communication boards; All communication boards receive the acquisition and drive commands and transmit them to the corresponding devices.
3. A control system with a mining and driving board identity recognition function according to claim 2, characterized in that: Any of the sub-collection and driving modules comprises: a back plate; Multiple sampling and driving boards are arranged on the backplane of the corresponding sub-sampling and driving module, and are all connected to the signals of all communication boards. They receive the initial data from the communication board, generate sampling and driving commands according to the initial data, and transmit them to all communication boards. After the communication board receives the sampling and driving commands from the sampling and driving board of the sub-sampling and driving module, it transmits them to the corresponding equipment.
4. A control system with a mining and driving board identity recognition function according to claim 3, characterized in that: The connection between the communication board and the device, the connection between multiple communication boards, and the connection between the communication board and the sampling and driving board adopts the CAN bus protocol.
5. The control system with mining and driving board identification function according to claim 1 is characterized in that: The main mining and driving module also includes: A drive board configuration board, which is arranged on the back panel and stores standard configuration information of all drive boards; Several communication board configuration boards are arranged on the communication board, and are respectively connected with the communication board, the sampling and driving board configuration board and the equipment signals to which they belong, receive the equipment operation configuration information of all the sampling and driving boards of the equipment, and store it. At least one communication board configuration board is arranged on any of the communication boards; if more than two communication boards are arranged on one communication board, the communication board configuration boards are connected with each other by signals.
6. A control system with a mining and driving board identification function according to claim 5, characterized in that: The standard configuration information includes address signals, signal transmission paths, factory identification numbers, software and hardware versions, and physical addresses.
7. A control system with a mining and driving board identity recognition function according to claim 6, characterized in that: The standard configuration information is the configuration information that all the drive boards on the backplane should have under normal operation; the device operation configuration information is the configuration information that should be used in real time when the corresponding device is running.
8. The control system with mining and driving board identification function according to claim 5 is characterized in that: The equipment operation configuration information and the standard configuration information are checked in the drive board configuration board and the communication board configuration board; if they are consistent, they operate normally; if they are inconsistent, the equipment operation configuration information shall prevail and the standard configuration information shall be overwritten.
9. A control system with a mining and driving board identification function according to claim 8, characterized in that: The initial data transmitted by the device to the control system includes first operating data and second operating data.
10. A control system with a mining and driving board identity recognition function according to claim 9, characterized in that: Any of the communication boards comprises: A first central processor, the first central processor is respectively connected with the communication board configuration board of the communication board, all the sampling and driving boards and the device signal; receives the first operation data from the device and transmits it to the corresponding sampling and driving board, receives the device operation configuration information from the communication board configuration board and transmits it to the sampling and driving board; Any of the above-mentioned acquisition and driving boards includes: a first sub-processor, the first sub-processor stores factory configuration information, and the first sub-processor is signal-connected to the first central processor; the first sub-processor receives equipment operation configuration information from the first central processor, verifies the equipment operation configuration information with the factory configuration information, and receives first operation data to generate acquisition and driving commands and transmits them to the first central processor, and the first central processor transmits them to the corresponding equipment.
11. A control system with a mining and driving board identification function according to claim 10, characterized in that: Any of the communication boards comprises: A second central processor, the second central processor is respectively connected to the communication board configuration board of the communication board, all the sampling and driving boards and the device signal; receives the second operation data from the device and transmits it to the corresponding sampling and driving board, receives the device operation configuration information from the communication board configuration board and transmits it to the sampling and driving board; Any of the above-mentioned acquisition and drive boards includes: a second sub-processor, the second sub-processor stores factory configuration information, and the second sub-processor is signal-connected to the second central processor; the second sub-processor receives equipment operation configuration information from the second central processor, verifies the equipment operation configuration information with the factory configuration information, and receives second operation data to generate acquisition and drive commands and transmits them to the second central processor, and the second central processor transmits them to the corresponding equipment.
12. A control system with a mining and driving board identification function according to claim 11, characterized in that: The first sub-processor and the second sub-processor check the factory configuration information and the equipment operation configuration information. If they are consistent, the equipment operates normally. If they are inconsistent, safety-side processing is performed.
13. A control system with a mining and driving board identification function according to claim 12, characterized in that: The first central processing unit and the second central processing unit belonging to the same communication board are signal-connected to each other; When all communication boards have completed the verification of the aforementioned equipment operation configuration information and the standard configuration information, the first sub-processor and the second sub-processor of the same acquisition and drive board transmit the factory configuration information to the corresponding first central processor and the second central processor respectively; Verification of factory configuration information of the first sub-processor and the second sub-processor belonging to the same acquisition and drive board; If there is any inconsistency between the outputs of the first central processor and the second central processor belonging to the same communication board, security side processing is performed.
14. An address signal self-checking method, characterized in that: The method is implemented by using a control system with a mining drive plate identification function as claimed in any one of claims 1 to 13, and the method comprises: Step S1, the communication board configuration board receives the equipment operation configuration information from the equipment and receives the standard configuration information from the sampling and driving board configuration board, and checks the address signals therein; Step S2: if they are consistent, proceed to step S3; if any configuration information is inconsistent, the standard configuration information is overwritten with the equipment operation configuration information, and the process returns to step S1; Step S3, the first central processor calls the device operation configuration information of the communication board configuration board, and transmits the device operation configuration information to the corresponding first sub-processor for address signal verification; the second central processor calls the device operation configuration information of the communication board configuration board, and transmits the device operation configuration information to the corresponding second sub-processor for address signal verification; if both are correct, go to step S4, if any one is inconsistent, perform security side processing; Step S4, all first sub-processors transmit the corresponding factory configuration information to the corresponding first central processor; all second sub-processors transmit the corresponding factory configuration information to the corresponding second central processor; the first central processor and the second central processor belonging to the same communication board check the address signal of the same sampling and driving board through CRC; Step S5: If they are consistent, it means that the self-check is completed; if there is any inconsistency between the output results of the first central processor and the second central processor belonging to the same communication board, perform safety side processing.
15. The address signal self-checking method according to claim 14, characterized in that: The address signals from different configuration information are checked by checking the authorization code BID in the address signal.
16. The address signal self-checking method according to claim 14, characterized in that: After the self-check operation exceeds a certain time threshold, it is directed to the safety side for processing.
17. The address signal self-checking method according to claim 14, characterized in that: If the first sub-processor or the second sub-processor does not store the factory configuration information, a request is made to the corresponding first central server or the second central server for the corresponding device operation configuration information as the factory configuration information.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, an address signal self-detection method as described in any one of claims 14 to 17 is implemented.
19. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, an address signal self-checking method as claimed in any one of claims 14 to 17 is implemented.