WO2021254224A1 - Bus network access units, conveying line electrical control system, and deployment method - Google Patents

Bus network access units, conveying line electrical control system, and deployment method Download PDF

Info

Publication number
WO2021254224A1
WO2021254224A1 PCT/CN2021/099084 CN2021099084W WO2021254224A1 WO 2021254224 A1 WO2021254224 A1 WO 2021254224A1 CN 2021099084 W CN2021099084 W CN 2021099084W WO 2021254224 A1 WO2021254224 A1 WO 2021254224A1
Authority
WO
WIPO (PCT)
Prior art keywords
network access
access unit
bus network
bus
port
Prior art date
Application number
PCT/CN2021/099084
Other languages
French (fr)
Chinese (zh)
Inventor
邓嘉
王钟卿
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2021254224A1 publication Critical patent/WO2021254224A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4184Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by fault tolerance, reliability of production system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present disclosure relates to the field of automatic control, and more specifically, to a bus network access unit, a transmission line electrical control system, and a deployment method.
  • Conveyor line products are commonly used in the sorting and outgoing of logistics in the back-end of modern logistics merchants.
  • the conveying line is the sum of all conveying equipment such as conveyor belts and conveyors that complete the conveying of items.
  • a conveyor chain composed of many belt conveyors, roller conveyors, etc. is set up, which are connected end to end to form a continuous conveyor line. Since the conveying line not only needs the physical equipment used for actual conveying, but also the electric control signal to control the transmission of the conveying line, therefore, the corresponding electric control system is also required in the conveying line.
  • the electrical control system of the conveyor line that is widely used in the market adopts programmable logic controller (PLC) centralized control.
  • PLC programmable logic controller
  • the main disadvantages are single-point or multi-point control, complicated wiring, difficult on-site deployment, and easy assembly errors, which is not conducive to speed. Open a shop.
  • Another improved electrical control system of the conveyor line uses a single-chip microcomputer, which only solves the problem of high PLC cost.
  • the disadvantage is still difficult on-site deployment, prone to assembly errors, which is not conducive to quick shop opening.
  • Each transmission section has a bus network unit as the electrical control part, and each bus network unit is connected according to the adjacent relationship of the transmission section.
  • the whole electrical control system is composed in a similar way as building blocks.
  • due to the directionality of the bus access unit the direction of goods in and out is fixed, it will be unusable if it is assembled incorrectly. If assembly errors are not detected during assembly, repeated assembly will result and on-site deployment time will be longer.
  • the present disclosure aims to reduce the time to deploy the transmission line electrical control system.
  • a transmission line electrical control system wherein the electrical control system is connected by bus network access units, and the method includes:
  • the first bus network access unit detects the nature of the entrance and exit of the connection port of the second bus network access unit connected to the first bus network access unit;
  • the alarming includes at least one of the following:
  • the cloud platform server used to control the electrical control system of the transmission line displays a connection error or sends out a voice reminder of the connection error
  • the direction of rotation is displayed on the animation effect display area set on the network access unit of the first bus.
  • the linear bus network access units sequentially serve as the first bus network access unit, and other linear bus network access units connected to the first bus network access unit
  • the type bus network access unit serves as the second bus network access unit.
  • the transfer machine bus network access unit serve as the first bus network access unit, and a linear bus network access unit connected to the first bus network access unit As the second bus access unit.
  • the detection by the first bus network access unit of the access nature of the connection port of the second bus network access unit connected to the first bus network access unit includes:
  • the connection port of the two-bus network access unit is the entrance, where the bus network access unit has first, second, third, and fourth ports, and the port numbers are 1-4 respectively;
  • the first bus network access unit receives a message indicating port number 3 from the second bus network access unit during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it determines the first The connection port of the two-bus network access unit is the outlet.
  • the determining the signal flow direction in the second bus network access unit includes:
  • connection port of the second bus network access unit is an entrance, determining that the signal flow direction is a direction away from the first bus network access unit;
  • connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the first bus network access unit.
  • the message indicating the port number 1 of the second bus network access unit also indicates that the bus number is 1, where the bus network access unit has a first bus and a second bus, and the bus numbers are 1-2, respectively;
  • the message indicating the port number 3 of the two-bus network access unit also indicates that the bus number is 2.
  • the message indicating the port number 1 and the message indicating the port number 3 of the second bus network access unit also indicate the identification of the second bus network access unit; the method further includes: receiving the first bus network access unit The identification, bus number, and port number of the received second bus network access unit are reported to the cloud platform server, and the cloud platform server generates the topology of the electrical control system.
  • a bus network access unit including a first, second, third, and fourth port, and a controller, wherein the controller is based on the first, second, and third ports.
  • the controller is based on the first, second, and third ports.
  • at least one of the fourth ports received the message of the connection port of the second bus network access unit connected to the bus network unit, determine the nature of the entrance and exit of the connection port, according to the status of the connection port of the second bus network access unit The nature of the entrance and exit determines the signal flow direction in the second bus network access unit, wherein if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, a prompt message is output.
  • the output prompt information includes at least one of the following:
  • the bus network access unit is a linear bus network access unit among a plurality of serial linear bus network access units in the electrical control system, and the second bus network access unit is another linear bus network access unit connected to the bus network access unit.
  • Bus access unit is a linear bus network access unit among a plurality of serial linear bus network access units in the electrical control system, and the second bus network access unit is another linear bus network access unit connected to the bus network access unit. Bus access unit.
  • the bus network access unit is a transfer machine bus network access unit in the electrical control system
  • the second bus network access unit is a linear bus network access unit connected to the bus network access unit.
  • connection is determined according to the message of the connection port of the second bus network access unit connected to the bus network access unit received by at least one of the first, second, third, and fourth ports
  • the nature of the entrance and exit of the port including:
  • the connection port of the second bus network access unit is determined Is an entrance, where the port numbers of the first, second, third, and fourth ports of the bus access unit are 1-4 respectively;
  • the connection port of the second bus network access unit is determined For export.
  • the determining the signal flow direction in the second bus network access unit includes:
  • connection port of the second bus network access unit is an entrance, determine that the signal flow direction is a direction away from the first bus network access unit;
  • connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the first bus network access unit.
  • an electrical control system for a transmission line including a first bus network access unit and a second bus network access unit connected, wherein the first bus network access unit and the second bus network access unit each include a first bus network access unit and a second bus network access unit.
  • the second, third, and fourth ports, and the controller wherein the controller of the first bus network access unit is based on the first, second, third, and fourth ports of the first bus network access unit
  • At least one port in the second bus network access unit receives the message of the connection port of the second bus network unit, determines the entrance and exit nature of the connection port, and determines the signal in the second bus network access unit according to the entrance and exit nature of the connection port of the second bus network access unit Flow direction, wherein, if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, a prompt message is output.
  • the output prompt information includes at least one of the following:
  • the direction of rotation is displayed on the animation effect display area set on the network access unit of the first bus.
  • the first bus network access unit is one of a plurality of linear bus network access units connected in series in the transmission line electrical control system, and the second bus network access unit is connected to the first bus network access unit.
  • Other linear bus access units connected to the bus access unit.
  • the bus network access unit is a transfer machine bus network access unit in the transmission line electrical control system
  • the second bus network access unit is a linear bus network access unit connected to the first bus network access unit
  • connection is determined according to the message of the connection port of the second bus network access unit received by at least one of the first, second, third, and fourth ports of the first bus network access unit
  • the nature of the entrance and exit of the port including:
  • connection port is an entrance, where:
  • the port numbers of the first, second, third, and fourth ports of the bus access unit are 1-4 respectively;
  • the at least one port receives a message indicating that the port number is 3 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it is determined that the connection port is an outlet.
  • the determining the signal flow direction in the second bus network access unit includes:
  • connection port of the second bus network access unit is an entrance, determine that the signal flow direction is a direction away from the first bus network access unit;
  • connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the first bus network access unit.
  • the bus access unit detects the nature of the entrance and exit of the connection port of the adjacent bus access unit connected to it, and according to the nature of the entrance and exit, determines the signal flow direction in the second bus network entry unit, and compares the signal flow direction with the second bus.
  • a prompt message is output.
  • Fig. 1 is a diagram of an on-site conveyor line according to an embodiment of the present disclosure.
  • Fig. 2 is a schematic diagram of the overall structure of a transmission line and its electrical control system according to an embodiment of the present disclosure.
  • Fig. 3A is a physical structure diagram of a bus network access unit according to an embodiment of the present disclosure.
  • Fig. 3B is a logical structure diagram of a bus network access unit according to an embodiment of the present disclosure.
  • Fig. 4A is a diagram of a linear conveying section according to an embodiment of the present disclosure.
  • Fig. 4B is a diagram of a conveying section of a transfer machine according to an embodiment of the present disclosure.
  • Fig. 5A is a connection diagram of a linear bus network access unit according to an embodiment of the present disclosure when it is assembled correctly.
  • Fig. 5B is a connection diagram of a linear bus network access unit according to an embodiment of the present disclosure when it is assembled incorrectly.
  • Fig. 6A is a connection diagram of a linear bus network access unit according to an embodiment of the present disclosure when it is assembled correctly.
  • Fig. 6B is a connection diagram of a linear bus network access unit according to an embodiment of the present disclosure when it is assembled incorrectly.
  • Fig. 7 is a flowchart of a deployment method of a transmission line electrical control system according to an embodiment of the present disclosure.
  • Fig. 8 is a specific structure diagram of a bus network access unit according to an embodiment of the present disclosure.
  • Conveyor line 100 is commonly used for logistics sorting and outbound in the back-end of modern logistics merchants, as shown in Figure 1.
  • the conveying line 100 is the sum of all conveying equipment such as conveyor belts and conveyors that complete the conveying of items.
  • a conveyor chain composed of many belt conveyors, roller conveyors, etc. is set up, which are connected end to end to form a continuous conveyor line 100. Since the conveying line not only needs the physical equipment used for actual conveying, but also the electric control signal to control the transmission of the conveying line, therefore, the corresponding electric control system (inside the conveying line in Fig. 1) is also required in the conveying line.
  • the electrical control system of transmission line 100 which is widely used in the market, adopts programmable logic controller (PLC) for centralized control.
  • PLC programmable logic controller
  • the main disadvantages are single-point or multi-point control, complicated wiring, difficult on-site deployment, and easy assembly errors, which is not conducive to Shop quickly.
  • Another improved electrical control system of the conveyor line 100 uses a single-chip microcomputer, which only solves the problem of high PLC cost. The disadvantage is still that it is difficult to deploy on site and prone to assembly errors, which is not conducive to quick shop opening.
  • the conveying section 102 is connected end to end, just like building blocks, to build various conveying lines 100 according to site needs.
  • the conveying section 102 shown in FIG. 4A is called a linear conveying section. Its characteristic is that only the left and right directions can be connected to other conveying sections 102, and it is generally used for conveying without changing the conveying direction.
  • the conveying section 102 shown in Fig. 4B is called the transfer section. Its characteristic is that it can be connected to other conveying sections 102 in four directions: front, back, left, and right. It is generally used for conveying that changes the conveying direction.
  • bus network access unit 110 In each transmission section 102 of the transmission line 100, there is a bus network access unit 110 as an electrical control part.
  • the bus network access unit 110 may adopt a controller area network (CAN) bus network access unit, and the electrical control system built in this way implements electrical communication through CAN, which is also the main communication form of the electrical control system of the current transmission line.
  • CAN controller area network
  • those skilled in the art can also conceive of other communication forms of the transmission line electrical control system, so as to adopt other bus network access units.
  • the bus network access unit 110 is inside the transmission section 102, which is not shown in FIGS. 1 and 4A and 4B. Since it is the electrical control part of the conveying section 102, its shape is also consistent with the shape of the conveying section 102 where it is located.
  • the bus network access unit 110 in the linear transport section is a linear bus network access unit, and only the left and right directions can be used to connect with the bus network access unit 110 in the adjacent transport section 102.
  • the bus network access unit 110 in the transfer section of the transfer machine is a transfer machine bus network access unit, which has four directions, front, back, left, and right, which can be used to connect with the bus network access unit 110 in the adjacent transfer section 102.
  • FIG. 2 shows a schematic diagram of the overall topological structure of a transmission line 100.
  • the transmission line 100 is divided into transmission sections 102.
  • each transmission section there is a bus network access unit 110 as the electrical control part, and all the bus network access units 110 are connected to the electrical control system 119 in the order of the corresponding transmission line 100.
  • the electrical control system 119 is the electrical control part of the entire conveying line 100.
  • each transmission section 102 there may be some control components 113, which are connected to the bus network access unit 110 of the transmission section 102, and are connected to the entire electrical control system 119 through the bus network access unit 110, and are connected to the control components 113 in other transmission sections 102. Communication.
  • the bus network access unit 110 actually functions as an interface for the control components 113 of the entire network to communicate with each other, so that these control components 113 can transmit control signals between them, and the transmission line 100 can operate in coordination.
  • the electrical control system 119 in the transmission line 100 of FIG. 1 includes a plurality of local area networks 114, and each local area network CAN 114 is an ellipse located in a thick-line grid in FIG. Figure 2 shows the first local area network 1141, the second local area network 1142, the third local area network 1143, but those skilled in the art understand that the electrical control system 119 may also include other numbers of local area networks, such as 2, 4, 5, etc. Wait.
  • the aforementioned local area network may be a Controller Area Network (CAN), which is one of the most widely used field buses in the world.
  • CAN Controller Area Network
  • a node's message is broadcast to all other nodes in the CAN. Therefore, it can be considered that a message in a CAN is sent to all nodes in the CAN through the same CAN bus. Messages in different CANs are sent using different CAN buses.
  • multiple local area networks 114 are connected in series.
  • two adjacent local area networks 114 are connected by a routing bus network access unit 112.
  • the routing bus network access unit 112 belongs to two adjacent local area networks 114 at the same time, and is responsible for forwarding (broadcasting) messages from one local area network 114 to another local area network 114.
  • the routing bus network access unit 112 Since the two local area networks 114 use different buses to transmit messages, it is usually required that the routing bus access unit 112 be able to connect two buses at the same time, and be able to forward messages on one bus to the other bus.
  • the routing bus network access unit 112 shown in FIG. 2 includes C4, C8, and C11, where CX is the identifier of the Xth bus network access unit in FIG. 2.
  • another type of the bus access unit 110 is an internal bus access unit 111, that is, a unit inside a local area network 114 that is not a routing bus access unit 112. Since the same bus is used to transmit messages within a local area network 114, it does not require that messages on one local area network 114 can be forwarded to another local area network 114.
  • the internal bus network access unit 111 shown in FIG. 2 includes C1, C2, C3, C5, C6, C7, C9, and C10.
  • the bus network access unit 110 includes: a first bus 121, a second bus 122, a first bus transceiver 123, a second bus transceiver 124, a first port 131, and a second port 132, a third bus Port 133, a plurality of variable connection ports 130 of the fourth port 134. At least one variable connection port among the plurality of variable connection ports 130 may be connected to any one of the first bus 121 and the second bus 122, or may be connected to neither of the two buses.
  • the bus network access unit 110 when used as the routing bus network access unit 112, different buses need to be connected. At this time, one of the second port 132, the third port 133, and the fourth port 134 can be connected to the second bus 122. Since the first port 131 is always connected to the first bus 121, the purpose of connecting different buses is achieved. When the bus network access unit 110 is used as the internal bus network access unit 111, it needs to be connected to the same bus. At this time, the second port 132, the third port 133, and the fourth port 134 can be connected to the first bus 121, because the first port 131 is always Connecting the first bus 121 achieves the purpose of connecting to the same bus.
  • the plurality of variable connection ports 130 include the second port 132, the third port 133, and the fourth port 134, in fact, they may also include other numbers of ports, for example, may also include a fifth port as required. , The sixth port, etc., may also only include the second port 132, the third port 133, and so on.
  • the first bus transceiver 123 is connected to the first bus 121 and is used to communicate with the first bus transceiver 123 of other bus network access units 110 in the electrical control system 119, so as to establish a first local area network communication.
  • the second bus transceiver 124 is connected to the second bus 122 and is used to communicate with the second bus transceiver 124 of other bus network access units 110 in the electrical control system 119. It should be noted that although FIG.
  • bus network access unit C1 is connected to the bus network access unit C2, and the bus network access unit C2 is connected to the bus network access unit C3
  • bus network access unit C3 is connected to the bus network access unit C3
  • a bus network access unit 110 sends a message through its first bus transceiver 123 or second bus transceiver 124, it is connected to the first bus transceiver 123 of the other bus network access unit 110 on the first bus or the second bus.
  • the second bus transceiver 124 can receive the message.
  • sending a message can be regarded as a kind of broadcast.
  • the first port 131 is connected to the first bus 121.
  • At least one variable connection port 130 of the plurality of variable connection ports 130 is connected to one of the first bus 121 and the second bus 122, or is not connected to the first bus 121 and the second bus 122, Therefore, the bus network access unit 110 has different types, namely, a linear bus network access unit and a transfer machine bus network access unit, which will be described in detail later.
  • FIG. 3B is a logical structure diagram of the bus network access unit 110 according to an embodiment of the present disclosure.
  • This logical structure diagram obscures the internal connection relationship in the bus network access unit 110 of FIG. 3A, regards its internal connection relationship as a black box, and only considers the bus network access unit 110 as having four logical ports 131-134, each logical port The connection relationship between 131-134 and the first bus 121 or the second bus 122 is hidden.
  • the logical ports 131-134 can be signal inlets or signal outlets.
  • the first port 131 is a signal inlet
  • the third port 133 is a signal outlet.
  • the meaning of an entrance is that if a port is connected to the first bus 121 or the second bus 122 and an input signal is provided to it, the port is an entrance.
  • the meaning of a logical outlet is that if a port is connected to the first bus 121 or the second bus 122 and a signal is output from the bus to the port, the port is an outlet. Since the first port 131 is fixedly connected to the first bus 121, it can only be an entrance. Since the second port 132, the third port 133, and the fourth port 134 can be connected to either the first bus 121 or the second bus 122, when they are connected to the first bus 121, they form a logical connection with the first port 131.
  • the exit of the signal of the entrance is therefore used as the exit; when it is connected to the second bus 122, it is connected to a new bus at this time, and its input signal is used as the entrance. Therefore, in the bus network access unit 110, the first port 131 is an inlet, and each of the second, third, and fourth ports 132-134 may be an inlet or an outlet.
  • linear bus network access unit and the transfer machine bus network access unit.
  • the second port 132 and the fourth port 134 are not used (the second port 132 and the fourth port 134 are passed through Physical equipment shielding, such as closed with a cover), is a linear bus access unit.
  • the first port 131 is fixedly connected to the first bus 121, which must be an inlet, and the third port 133 can only be connected to the first bus 121 as an outlet, because if it is connected to the second bus 122, from the first port
  • the incoming signal 131 cannot flow out. Therefore, it can only be used as an outlet for the incoming signal from the first port 131 and connected to the first bus 121. Any one of the second port 132 and the fourth port 134 is not connected to the first bus 121 and the second bus 122.
  • the first port 131, the second port 132, the third port 133, and the fourth port 134 can all be used, and it is the transfer machine bus network access unit. Its first port 131 is fixedly connected to the first bus 121, which must be an entrance. The second port 132, the third port 133, and the fourth port 134 can be connected to the first bus 121 as an exit or can be connected to the second bus. 122, as an entrance. In FIG. 6A, the first port 131 of the bus network access unit B is fixed as an entrance, and it is connected to the third port 133 of the bus network access unit A as an exit.
  • the second port 132, the third port 133, and the fourth port 134 can be either an inlet or an outlet.
  • the second port 132 is connected to the first port 131 of the bus network access unit E as an entrance, and is an exit.
  • the third port 133 is connected to the first port 131 of the bus network access unit C as an entrance, and is an exit.
  • the fourth port 134 is connected to the third port 133 of the bus network access unit D as an outlet, and is an entrance.
  • Figure 6A shows a situation where the second port 132, third port 133, and fourth port 134 of the transfer machine bus network access unit are all connected to other bus network access units. In fact, they do not need to be connected to other bus network access units. Some are not connected.
  • the linear bus network access unit can be connected to the linear bus network access unit, as shown in Figure 5A-5B, the linear bus network access unit AC is connected in sequence; the linear bus network access unit can also be connected to the transfer machine bus network access unit , As shown in Fig. 6A-Fig. 6B, the linear bus network access units A, C, D, and E are connected to the transfer machine bus network access unit B. However, the transfer machine bus network access unit can only be connected to the linear bus network access unit.
  • the bus network access unit B in Figure 6A-6B is connected to the linear bus network access units A, C, D, and E.
  • the direction of the port connection of the bus network access unit 110 must conform to the predetermined conveying direction (for example, the goods conveying direction on the conveying line 100).
  • the signal flow direction in each bus network access unit 110 is from the entrance to the exit.
  • the predetermined transmission direction is better opposite to the signal flow direction in the transmission section 102 where the bus network access unit 110 is located, the normal operation cannot be performed.
  • the first port 131 of the bus network access unit A is the entrance
  • the third port 133 is the exit.
  • the internal signal flow is from the first port 131 to the third port 133, that is, from left to right in Figure 5A,
  • the predetermined conveying direction of the conveying section 102 where it is located is also from left to right, and the two are the same, and the installation is correct.
  • the bus network access units B and C in Figure 5A are installed correctly.
  • the first port 131 is the outlet, and the third port 133 is the inlet.
  • the internal signal flow is from the third port 133 to the first port 131, that is, from the right to the first port 131 in FIG. 5B.
  • the predetermined conveying direction of the conveying section 102 where it is located is from left to right, and the two are opposite, and installation errors will cause the actual required control signal transmission direction to be inconsistent due to assembly. If assembly errors are not detected during assembly, repeated assembly will result and on-site deployment time will be longer.
  • the embodiment of the present disclosure proposes a solution that can identify whether the signal flow direction caused by the assembly is consistent with the predetermined conveying direction during assembly, and prompt promptly when it is inconsistent. As assembly errors can be found on site, the deployment time is greatly reduced, and the deployment time is improved. Deployment accuracy.
  • Fig. 7 shows a flowchart of a method for deploying a transmission line electrical control system according to an embodiment of the present disclosure.
  • the transmission line electrical control system is the electrical control system 119 of the transmission line 100 in FIG. 2.
  • the deployment of the transmission line electrical control system refers to connecting the ports (first to fourth ports) of each adjacent bus network access unit 110 that constitute the electrical control system 119 to connect the bus network access unit 110 to the electrical control system 119.
  • the embodiment of the present disclosure can prompt if an error occurs during the port connection process, thereby avoiding connection errors.
  • the method is executed by the first bus network access unit in the electrical control system 119, and the object of execution is the second bus network access unit connected to the first bus network access unit.
  • the typical topology shown in Figures 6A-6B will appear around it, that is, each port of a transfer machine bus access unit is connected to another linear bus access unit. .
  • the typical topological structure shown in Figs. 5A-5B will appear, that is, multiple linear bus network access units are connected in series. In these two different topologies, the ways to select the first bus access unit and the second bus access unit are slightly different.
  • the transfer machine bus network access unit serves as the first bus network access unit, which is connected to the first bus network access unit
  • the linear bus network access unit serves as the second bus network access unit.
  • the bus network access unit B be the first bus network access unit
  • the bus network access units A, C, D, and E connected to it are respectively used as the second bus network access unit.
  • the method includes:
  • Step 710 In the deployment phase, the first bus network access unit detects the nature of the entrance and exit of the connection port of the second bus network access unit connected to the first bus network access unit.
  • Step 720 Determine the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit.
  • Step 730 If the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, output a prompt message.
  • the deployment stage of step 710 refers to a stage in which the bus network access units are interconnected through ports to form an electrical control system of the transmission line.
  • the connection port refers to a port used to connect to the first bus network access unit among the ports of the second bus network access unit.
  • the nature of the entrance and exit refers to whether it is an entrance or an exit.
  • the bus access units connected to each other initially do not know which bus access unit is connected to itself, and its first, second, third or fourth port is connected to itself, and the connection port of the other party is the entrance Still export. It notifies the above information through a message sending mechanism.
  • a message sending mechanism In this mechanism, multiple sequential scan periods are set. In each scanning period, the connection relationship between each port of each bus network access unit 110 and the first bus 121 or the second bus 122 is set, and each port sends a message according to a predetermined rule, and the message indicates the port number and The connection relationship between the port and the first bus 121 or the second bus 122.
  • the port of the other bus network access unit 110 connected to the port receives the message, it recognizes the connected bus network access unit 110, the connected port number, whether the port is a logical entry or exit, etc., thereby automatically obtaining the bus entry unit 110 At the same time, the connection status of each port in the step 710 is also obtained.
  • each bus network access unit 110 acts as a message sender, and its ports are connected to its internal first bus 121 or second bus 122 and sent out according to predetermined rules during multiple sequential scan periods.
  • the message that is, the status notification, is used to send its own identification, the port number of each port (the corresponding port numbers of the first, second, third, or fourth port are 1-4 respectively), and the bus number to which each port is connected (the first bus The bus number of the first bus is 1, and the bus number of the first bus is 2).
  • the purpose is to let the bus network access unit 110 connected to itself discover its own identity and port information.
  • each bus network access unit 110 acts as a message receiver and receives the above-mentioned message sent by the bus network access unit 110 connected to it, so as to know the identity and port information of the bus network access unit 110 connected to it.
  • the following describes the sending and receiving processes respectively.
  • This aspect is to coordinate the actions of the bus network access units 110 in the entire electrical control system 119, so that the above-mentioned message notification and detection can be synchronized (because only one of the two connected bus network access units 110 performs message notification, the other receives the message Only by detecting it can we coordinate the work).
  • it provides a unified time reference for the first, second, third, and fourth scan periods mentioned below.
  • the detection and activation of the bus network access unit is a bus network access unit 110 preset in the electrical control system 119, such as the bus network access unit C5 in FIG. 2. It sends a control message of the scan initiation subtype from the entire network, so that after the bus access unit 110 of the entire network receives the control message, it starts setting based on the time when the control message is received or the time stamp in the control message. In the first, second, third, and fourth scan periods mentioned later, the connection status of each port and the first bus 121 or the second bus 122 is set in the first, second, third, and fourth scan periods. To send different messages, the other bus network access unit 110 connected to its port receives the message, and based on the message, identifies the connection status of the adjacent bus network access unit 110 and the port.
  • the control message is a message prescribed in advance (for example, through a protocol) and used to send a network-wide control command in the entire electrical control system 119.
  • This kind of network-wide control command is not limited to scan start, and can also perform other types of control, such as timing control.
  • Control messages used for different types of control can be distinguished by subtypes.
  • the subtype can be embodied as a field of the control message.
  • a bus network access unit 110 receives a control message, it looks at the field indicating the sub-type. If the field indicates the scan-initiating sub-type, it starts to prepare for the first, second, third, and fourth scans mentioned later. During the period, set different connection states of each port with the first bus 121 or the second bus 122, and send different messages.
  • the linear bus network access unit For the linear bus network access unit, it connects the first port 131 to the first bus 121 and the third port 133 to the first scan period, second scan period, third scan period, and fourth scan period. Second bus 122.
  • the linear bus network access unit has only the first port 131 and the third port 133 working in actual work, and in normal operation, the first port 131 is also connected to the first bus 121 and the third port 133. Connected to the second bus 122. In this way, as long as the connection relationship between the port and the bus is set as in actual use, in the message sent, the other bus network access unit 110 connected to the port can be clearly notified that the other party is its first port 131 by means of the port number. When connecting to the other party, the third port 133 is still connecting to the other party.
  • the first scan period connect the first port 131 to the first bus 121; in the second scan period, connect the second port 132 to the second bus 122; In the third scan period, the third port 133 is connected to the second bus 122; in the fourth scan period, the fourth port 134 is connected to the second bus 122.
  • the first scan period is used to identify the nature of the entrance and exit of the first port
  • the second scan period is used to identify the nature of the entrance and exit of the second port
  • Each scan period connects a corresponding port to the corresponding bus, so that the connection status of each port in different scan periods can be clearly separated, thereby distinguishing different ports and the nature of the entrance and exit of the ports.
  • linear bus network access unit use its first bus transceiver and second bus transceiver to send a message, and notify the bus network access unit through each port connected to the first bus transceiver and the second bus transceiver , The bus number corresponding to the transceiver, and the port number to which the bus is connected.
  • the identifier of the bus network access unit is the only identifier assigned to the bus network access unit, and it can uniquely distinguish the "who is" the identification of the bus network access unit. In the message, this identifier is used to notify other bus network access units 110 connected to the current bus network access unit 110, and which bus network access unit 110 has its port connected to the other party.
  • the bus number corresponding to the transceiver refers to whether the transceiver is connected to the first bus 121 or the second bus 122.
  • the first bus 121 may be represented by 1
  • the second bus 122 may be represented by 2.
  • the port number to which the bus is connected refers to which of the first port 131, the second port 132, the third port 133, and the fourth port 134 is connected to.
  • the first port 131 can be represented by 1
  • the second port 132 can be represented by 2
  • the third port 133 can be represented by 3
  • the fourth port 134 can be represented by 4.
  • the first bus transceiver 123 is used to connect to the first bus transceiver 123.
  • the first port 131 sends a message.
  • the message contains the identification of the bus access unit, bus number 1 (because the first bus 121 is connected to the first bus transceiver 123), and port number 1 (because it is connected to the first bus 121).
  • the second bus transceiver 124 is used to send a message through the third port 133 connected to the second bus transceiver 124 to notify the bus access unit’s identification and bus number 2 (because it is connected to the second bus
  • the bus transceiver 124 is connected to the second bus 122) and port number 3 (because the third port 133 is connected to the second bus 122).
  • the connection relationship between each port and the first bus 121 or the second bus 122 has different setting methods At this time, it is difficult to notify the port number in the message. Therefore, only the identification of the bus network access unit and the bus number corresponding to the bus transceiver, that is, the first bus 121 or the second bus 122 may be notified in the message. Then, the bus network access unit 110 that has received the message sends a port query request to the current bus network access unit 110, and the current bus network access unit 110 responds to this request. The response indicates the port number of the bus connection.
  • the message sent by the transfer machine bus network entry unit contains a specific flag bit, indicating that it is a message sent by the transfer machine bus network entry unit.
  • the message contains the identification of the bus network access unit, the bus number 1, and the specific flag bit, where the bus number 1 indicates that the first bus transceiver 123 corresponds to the first bus. 121.
  • the specific flag bit indicates that it is a message sent by the network access unit of the transfer machine bus, for example, 0.
  • the message contains the identifier of the bus network access unit, the bus number, and the specific flag bit, where the bus number 2 indicates that the second bus transceiver 124 corresponds to the second bus 122.
  • the above describes the process of the bus network access unit 110 sending a message for notification, and the following describes the process of receiving the message to perform detection.
  • a port of the bus network access unit 110 For a port of the bus network access unit 110, if the port receives the identification of the bus network access unit, bus number 1, port during the consecutive first scan period, second scan period, third scan period, and fourth scan period. No. 1 message, it is determined that the port is connected to a linear bus network access unit, and the identification of the bus network access unit is recorded. The port to be detected is connected to the first port of the linear bus network access unit, and the first port is the entrance .
  • the port receives a message notifying the identification of the bus access unit, bus number 2, port number 3 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, the port is determined Connect to a linear bus network access unit, record the identification of the bus network access unit, the port is connected to the third port of the linear bus network access unit, and the third port is an exit.
  • the notification message has the identifier of the bus network access unit, the bus number 1 or 2 corresponding to the transceiver, and the port number 1 or 3 to which the bus is connected, and there is no specific Flag bit (such as 0), and for the transfer machine bus network unit, the notification message has the identifier of the bus network unit, the bus number 1 or 2 corresponding to the transceiver, and the specific flag bit. Therefore, from Whether there is a specific flag bit can determine whether the connection is a linear bus access unit or a loader bus access unit.
  • a linear bus network access unit is connected, and it can be further determined which port of the linear bus network access unit is connected, and whether the port is an entrance or an exit. Specifically, if the received message includes the identification of the linear bus network access unit, the bus number 1, and the port number 1, it can be determined from the port number 1 that the first port 131 of the linear bus network access unit is connected. Since the first port 131 is connected to the first bus 121 and functions as a signal flow inlet, it is an inlet. If the received message contains the identification of the linear bus network access unit, the bus number 2, and the port number 3, it can be determined from the port number 3 that the third port 133 of the linear bus network access unit is connected. Since the third port 133 is connected to the second bus 122 and functions as an outlet, it is an outlet.
  • the connection status of the port and the bus in the first scan period, second scan period, third scan period, and fourth scan period are the same, so it can be used in the first scan period and the first scan period.
  • the foregoing process is performed at any time in the second scan period, the third scan period, and the fourth scan period.
  • the foregoing process may be specified to be performed only in the first scan period, or the foregoing process may be specified to be performed in any other scan period.
  • a port of the bus network access unit 110 For a port of the bus network access unit 110, if the port receives a message informing the bus network access unit's identification, bus number 1, and specific flag bit during the first scan period, it is determined that the port is connected to a transfer machine bus network access Unit, record the identification of the bus access unit, the port is connected to the first port of the linear bus access unit, and the first port is a logical entry; if the port receives the notification bus access unit during the second scan period After the port query request is sent, the received port number is 2, record the identity of the bus access unit, and the port is connected to the first line of the linear bus access unit.
  • the second port is a logical outlet; in the case of bus number 2, the second port is a logical inlet; if the port receives the notification bus during the third scan period
  • the identification of the network access unit, the bus number 1 or 2, and the message of the specific flag bit, and the port number received is 3 after sending the port query request.
  • the third port is the exit; in the case of bus number 2, the third port is the entry; if the port receives the notification bus in the fourth scan period
  • the identification of the network access unit, the bus number 1 or 2, and the message of the specific flag bit, and the port number received is 4 after sending the port query request, record the identification of the bus network access unit, and the port is connected to the linear bus network access unit
  • the fourth port is the outlet; in the case of bus number 2, the fourth port is the inlet.
  • the received message contains a specific flag bit, which means that the port is connected to a transfer machine bus network unit, and then it is necessary to combine the four scanning periods of the transfer machine bus network unit to send messages to determine Which port of the transfer machine bus access unit is connected, and whether the port is the entrance or the exit.
  • the port receives a message informing the bus network access unit’s identification, bus number, and specific flag bit during the first scan period, since the first bus 121 is fixedly connected to the first port 131, there is no need to send a query request It is directly determined that the first port 131 of the linear bus network access unit is connected. Moreover, since the first port 131 is connected to the first bus 121, it must be the entrance of the control signal.
  • the port receives a message informing the bus access unit’s identification, bus number 1 or 2, and a specific flag bit during the second scan period, and after sending a port query request, the received port number is 2, then it can be determined
  • the port is connected to the second port 132 of the linear bus network access unit.
  • the second port 132 is connected to the first bus 121.
  • the control signal flows in from the first port 131. At this time, it must flow out from the second port 132, so it is the outlet. .
  • the second port 132 is connected to the second bus 122. On the first bus 122, no signal has flowed in yet. At this time, it must be flowed in from the second port 132, so it is an entrance.
  • the analysis process after the port receives the message informing the bus access unit's identification, bus number 1 or 2 and the specific flag bit in the third and fourth scan periods is similar to the analysis process in the second scan period, so it will not be repeated.
  • each port is connected to a straight line Type bus access unit
  • the detected second bus access unit are all linear bus access units. Therefore, in combination with the foregoing process, it is possible to determine whether the connection port of the second bus network access unit is the inlet or the outlet only by the port number indicated in the received message.
  • the first bus network access unit receives a message indicating port number 1 from the second bus network access unit during the consecutive first scan period, second scan period, third scan period, and fourth scan period, then Determine the connection port of the second bus network access unit as the entrance, where the bus network access unit has the first, second, third, and fourth ports, and the port numbers are 1-4 respectively; if the first bus network access unit is in continuous If a message indicating the port number 3 of the second bus network access unit is received during the first scan period, the second scan period, the third scan period, and the fourth scan period, it is determined that the connection port of the second bus network access unit is an exit.
  • step 720 the signal flow direction in the second bus network access unit is determined according to the nature of the entrance and exit of the connection port of the second bus network access unit.
  • the signal flow in each bus network unit is from the entrance to the exit of the bus network unit.
  • the nature of the entrance and exit of the connection port of the second bus network access unit is determined, and the signal flow direction in the second bus network access unit can be determined.
  • the signal flow direction is from the entrance to the exit, then the signal flow direction at this time It is a direction away from the network access unit of the first bus.
  • connection port of the second bus network access unit is the outlet
  • the other port of the second bus network access unit except the connection port is the inlet
  • the signal flow direction is from the inlet to the outlet, and then the signal flow direction is toward all Describe the direction of the first bus into the network unit.
  • bus network access unit B of FIG. 5A is the first bus network access unit
  • bus network access units A and C are the second bus network access units.
  • the bus network access unit A is connected to the third port 133, and the third port 133 is the outlet. It is determined that the signal flow in the bus network access unit A is from left to right in FIG. 5A.
  • step 730 if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, a prompt message is output.
  • the conveying direction of each conveying section 102 of the conveying line 100 is predetermined, which can be obtained by searching the conveying direction map of the conveying line. As shown in Figure 5A, it is determined that the signal flow directions inside the bus access units A, B, and C are all from left to right, and the predetermined transmission direction of the transmission section 102 where they are located is also from left to right. The bus access units A, B and C are connected correctly. However, for the bus network unit A in FIG. 5B, the internal signal flow is from right to left, and the predetermined conveying direction of the conveying section 102 where it is located is from left to right, so the connection is wrong, and a prompt message is output.
  • the signal flow inside the bus access unit A is from left to right, and the predetermined transmission direction of the transmission section 102 where it is located is also from left to right.
  • the bus access unit A is connected correctly and no prompt message is output.
  • the signal flow inside the bus network unit C is from left to right, and the predetermined transmission direction of the transmission section 102 where it is located is also from left to right.
  • the bus network unit C is connected correctly and does not output prompt information;
  • the signal inside the bus network unit D The flow direction is from top to bottom, and the predetermined transportation direction of the transmission section 102 where it is located is also from top to bottom.
  • the bus network access unit D is connected correctly and does not output prompt information; the internal signal flow direction of the bus network access unit E is from top to bottom.
  • the predetermined conveying direction of the conveying section 102 is also from top to bottom, the bus network access unit E is correctly connected, and no prompt information is output.
  • the internal signal flow is from bottom to top, and the predetermined conveying direction of the conveying section 102 where it is located is from top to bottom. Therefore, the connection is wrong and a prompt message is output.
  • the output prompt information may include at least one of the following:
  • the cloud platform server used to control the electrical control system of the transmission line displays a connection error or sends out a voice reminder of the connection error
  • the direction of rotation is displayed on the animation effect display area set on the network access unit of the first bus.
  • the cloud platform server (not shown) is wired or wirelessly connected to the electrical control system of each transmission line to control the deployment and operation of each electrical control system.
  • the first bus network access unit detects a connection error, it reports to the cloud platform server.
  • the cloud platform server has a display to display the connection error message to the cloud platform staff, and the staff can remotely control the redeployment to make the wrongly connected bus network unit connected correctly, or have a speaker to send out the wrong connection voice to the cloud platform staff Prompt, the staff will remotely control the redeployment, so that the wrongly connected bus network unit is connected correctly, and so on.
  • the first bus network access unit detects a connection error, it does not report to the cloud platform server, but an alarm light is set on the first bus network access unit, and the on-site installer is reminded to install by turning the alarm light on Error and should be reinstalled.
  • a speaker is provided on the first bus network access unit, and a voice prompt is issued through the speaker to remind the on-site installer that the installation is wrong and should be reinstalled.
  • the rotation direction is displayed on the animation effect display area set on the network access unit of the first bus.
  • An animation effect display area such as a small display screen, or a dynamic effect direction lamp is provided on the network access unit of the first bus. If the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, determine the predetermined transmission direction as the signal flow direction of the second bus network access unit in the case of the entry and exit properties of the connection port of the second bus network access unit, and follow The nature of the entrance and exit determines the port number (first, second, third or fourth port) that should be connected to the second bus access unit, so as to determine the direction of rotation of the first bus access unit (in which direction it should be turned to connect correctly ), dynamically displayed on the animation effect display area.
  • the dynamic effect of rotation can be displayed; in the case of the dynamic effect direction lamp, the dynamic effect direction lamp generally includes a number of small indicators arranged in an arc shape, which are turned on by clockwise or counterclockwise. Small indicator lights to distinguish the direction of rotation.
  • the first bus network access unit after the first bus network access unit receives the message sent by the second bus network access unit that includes the identification of the second bus network access unit, the connected bus number, and the connected port number, it will determine the direction of the signal flow. In addition to whether it is consistent with the predetermined conveying direction and determining whether to output prompt information, the identification of the second bus network access unit, the connected bus number, and the connected port number can also be reported to the cloud platform server. Since each bus network access unit reports the identification of the bus network access unit connected to itself, the connected bus number, and the connected port number, the cloud platform server can generate the topology of the electrical control system based on this information.
  • the bus network access unit 110 includes a controller 191 in addition to a first bus 121, a second bus 122, and first to fourth ports 131-134, wherein , The controller determines the connection port according to the message of the connection port of the second bus network access unit connected to the bus network access unit received by at least one of the first, second, third, and fourth ports According to the nature of the entrance and exit of the connection port of the second bus network access unit, determine the signal flow direction in the second bus network access unit, where if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, Output prompt information. That is, the flowchart shown in FIG. 7 is substantially implemented by the controller 191. Since the specific process of the steps implemented by the controller 191 has been described in detail above in conjunction with the method embodiment, in order to save space, it will not be repeated.
  • modules or elements described or shown as separate herein may be combined into a single module or element, and modules or elements described or shown herein as a single module or element may be split into multiple modules or elements.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

Provided are bus network access units, a conveying line electrical control system, and a deployment method. The method comprises: at a deployment stage, by means of a first bus network access unit, detecting exit and entrance properties of a connection port of a second bus network access unit connected to the first bus network access unit (710); determining the signal flow direction in the second bus network access unit according to the exit and entrance properties of the connection port of the second bus network access unit (720); and if the signal flow direction is inconsistent with a predetermined conveying direction corresponding to the second bus network access unit, outputting prompt information (730). The described method lessens the time in which a conveying line electrical control system is deployed.

Description

总线入网单元、输送线电气控制***及部署方法Bus network access unit, transmission line electrical control system and deployment method
本公开要求2020年06月17日递交的申请号为202010553026.4、发明名称为“总线入网单元、输送线电气控制***及部署方法”中国专利申请的优先权,其全部内容通过引用结合在本申请中。This disclosure claims the priority of the Chinese patent application filed on June 17, 2020 with the application number 202010553026.4 and the invention titled "Bus access unit, transmission line electrical control system and deployment method", the entire content of which is incorporated into this application by reference .
技术领域Technical field
本公开涉及自动控制领域,更具体而言,涉及一种总线入网单元、输送线电气控制***及部署方法。The present disclosure relates to the field of automatic control, and more specifically, to a bus network access unit, a transmission line electrical control system, and a deployment method.
背景技术Background technique
现代的物流商家后台的物流分拣和出库,普遍采用输送线产品。输送线是完成物品的输送的传送带、输送机等所有输送设备的总和。在环绕库房、生产车间和包装车间的场地,设置有由许多皮带输送机、滚筒输送机等组成的一条条输送链,经首尾连接形成连续的输送线。由于输送线不仅需要有实际输送所用的物理设备,还要有电控制信号控制输送线的传输,因此,输送线中还要有相应的电气控制***。Conveyor line products are commonly used in the sorting and outgoing of logistics in the back-end of modern logistics merchants. The conveying line is the sum of all conveying equipment such as conveyor belts and conveyors that complete the conveying of items. In the site surrounding the warehouse, production workshop and packaging workshop, a conveyor chain composed of many belt conveyors, roller conveyors, etc. is set up, which are connected end to end to form a continuous conveyor line. Since the conveying line not only needs the physical equipment used for actual conveying, but also the electric control signal to control the transmission of the conveying line, therefore, the corresponding electric control system is also required in the conveying line.
目前市场上大量使用的输送线的电气控制***,采用可编程逻辑控制器(PLC)集中控制,主要缺点是单点或者多点控制,布线复杂,现场部署困难,容易出现组装错误,不利于快速开店。另一种改良的输送线的电气控制***采用单片机,只是解决了PLC成本高的问题,缺点仍然是现场部署困难,容易出现组装错误,不利于快速开店。At present, the electrical control system of the conveyor line that is widely used in the market adopts programmable logic controller (PLC) centralized control. The main disadvantages are single-point or multi-point control, complicated wiring, difficult on-site deployment, and easy assembly errors, which is not conducive to speed. Open a shop. Another improved electrical control system of the conveyor line uses a single-chip microcomputer, which only solves the problem of high PLC cost. The disadvantage is still difficult on-site deployment, prone to assembly errors, which is not conducive to quick shop opening.
因此,为克服以上问题,出现了一种技术,将输送线分成一段段的输送段,每个输送段有一个总线入网单元作为电气控制部分,各总线入网单元按照输送段的邻接关系进行接续,类似搭积木的方式组成整个电气控制***。但是,由于总线入网单元的方向性(货物进出方向固定),会造成如果错误组装不可使用。在组装时如果组装错误而不能察觉,造成反复组装,现场部署时间变长。Therefore, in order to overcome the above problems, a technology has emerged that divides the transmission line into sections of transmission sections. Each transmission section has a bus network unit as the electrical control part, and each bus network unit is connected according to the adjacent relationship of the transmission section. The whole electrical control system is composed in a similar way as building blocks. However, due to the directionality of the bus access unit (the direction of goods in and out is fixed), it will be unusable if it is assembled incorrectly. If assembly errors are not detected during assembly, repeated assembly will result and on-site deployment time will be longer.
发明内容Summary of the invention
有鉴于此,本公开旨在减少部署输送线电气控制***的时间。In view of this, the present disclosure aims to reduce the time to deploy the transmission line electrical control system.
根据本公开的一方面,提供了一种输送线电气控制***部署方法,其中,所述电气控制***由总线入网单元连接而成,所述方法包括:According to an aspect of the present disclosure, there is provided a method for deploying a transmission line electrical control system, wherein the electrical control system is connected by bus network access units, and the method includes:
在部署阶段,由第一总线入网单元检测与该第一总线入网单元连接的第二总线入网单元的连接端口的出入口性质;In the deployment phase, the first bus network access unit detects the nature of the entrance and exit of the connection port of the second bus network access unit connected to the first bus network access unit;
根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元 中信号流向;Determine the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit;
如果所述信号流向与第二总线入网单元所对应的预定货物输送方向不一致,进行输出提示信息。If the signal flow direction is inconsistent with the predetermined cargo conveying direction corresponding to the second bus network access unit, a prompt message is output.
可选地,所述进行报警包括以下中的至少一项:Optionally, the alarming includes at least one of the following:
在用于控制所述输送线电气控制***的云平台服务器显示连接错误或发出连接错误的语音提醒;The cloud platform server used to control the electrical control system of the transmission line displays a connection error or sends out a voice reminder of the connection error;
使第一总线入网单元上设置的报警灯变亮;Turn on the alarm light set on the first bus network access unit;
使第一总线入网单元上设置的扬声器发出语音提醒;Make the loudspeaker set on the first bus network access unit give voice reminders;
使第一总线入网单元上设置的动画效果显示区上动画显示转动方向。The direction of rotation is displayed on the animation effect display area set on the network access unit of the first bus.
可选地,对于所述电气控制***中多个串联的直线型总线入网单元,让所述直线型总线入网单元依次作为所述第一总线入网单元,与该第一总线入网单元连接的其它直线型总线入网单元作为第二总线入网单元。Optionally, for multiple linear bus network access units connected in series in the electrical control system, the linear bus network access units sequentially serve as the first bus network access unit, and other linear bus network access units connected to the first bus network access unit The type bus network access unit serves as the second bus network access unit.
可选地,对于所述电气控制***中的移载机总线入网单元,让该移载机总线入网单元作为所述第一总线入网单元,与该第一总线入网单元连接的直线型总线入网单元作为第二总线入网单元。Optionally, for the transfer machine bus network access unit in the electrical control system, let the transfer machine bus network access unit serve as the first bus network access unit, and a linear bus network access unit connected to the first bus network access unit As the second bus access unit.
可选地,所述由第一总线入网单元检测与该第一总线入网单元连接的第二总线入网单元的连接端口的出入口性质,包括:Optionally, the detection by the first bus network access unit of the access nature of the connection port of the second bus network access unit connected to the first bus network access unit includes:
如果所述第一总线入网单元在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到第二总线入网单元的指示端口号1的消息,则确定第二总线入网单元的连接端口为入口,其中,总线入网单元具有第一、第二、第三、第四端口,端口号分别为1-4;If the first bus network access unit receives a message indicating port number 1 from the second bus network access unit during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it determines the first The connection port of the two-bus network access unit is the entrance, where the bus network access unit has first, second, third, and fourth ports, and the port numbers are 1-4 respectively;
如果所述第一总线入网单元在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到第二总线入网单元的指示端口号3的消息,则确定第二总线入网单元的连接端口为出口。If the first bus network access unit receives a message indicating port number 3 from the second bus network access unit during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it determines the first The connection port of the two-bus network access unit is the outlet.
可选地,所述根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,包括:Optionally, the determining the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit includes:
如果确定的第二总线入网单元的连接端口为入口,则确定所述信号流向为背离所述第一总线入网单元的方向;If the determined connection port of the second bus network access unit is an entrance, determining that the signal flow direction is a direction away from the first bus network access unit;
如果确定的第二总线入网单元的连接端口为出口,则确定所述信号流向为朝向所述第一总线入网单元的方向。If the determined connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the first bus network access unit.
可选地,所述第二总线入网单元的指示端口号1的消息还指示总线号为1,其中,总线入网单元具有第一总线和第二总线,总线号分别为1-2;所述第二总线入网单元的指示端口号3的消息还指示总线号为2。Optionally, the message indicating the port number 1 of the second bus network access unit also indicates that the bus number is 1, where the bus network access unit has a first bus and a second bus, and the bus numbers are 1-2, respectively; The message indicating the port number 3 of the two-bus network access unit also indicates that the bus number is 2.
可选地,所述第二总线入网单元的指示端口号1的消息、指示端口号3的消息还指示第二总线入网单元的标识;所述方法还包括:将所述第一总线入网单元接收到的第二总线入网单元的标识、总线号、端口号上报云平台服务器,由所述云平台服务器生成所述电气控制***的拓扑。Optionally, the message indicating the port number 1 and the message indicating the port number 3 of the second bus network access unit also indicate the identification of the second bus network access unit; the method further includes: receiving the first bus network access unit The identification, bus number, and port number of the received second bus network access unit are reported to the cloud platform server, and the cloud platform server generates the topology of the electrical control system.
根据本公开的一方面,提供了一种总线入网单元,包括第一、第二、第三和第四端口、和控制器,其中,所述控制器根据所述第一、第二、第三和第四端口中的至少一个端口接收到的与该总线入网单元连接的第二总线入网单元的连接端口的消息,确定该连接端口的出入口性质,根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,其中,如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,输出提示信息。According to an aspect of the present disclosure, there is provided a bus network access unit, including a first, second, third, and fourth port, and a controller, wherein the controller is based on the first, second, and third ports. And at least one of the fourth ports received the message of the connection port of the second bus network access unit connected to the bus network unit, determine the nature of the entrance and exit of the connection port, according to the status of the connection port of the second bus network access unit The nature of the entrance and exit determines the signal flow direction in the second bus network access unit, wherein if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, a prompt message is output.
可选地,所述输出提示信息包括以下中的至少一项:Optionally, the output prompt information includes at least one of the following:
向云平台服务器发通知消息,以便所述云平台服务器显示连接错误或发出连接错误的语音提醒;Send a notification message to the cloud platform server, so that the cloud platform server displays a connection error or issues a voice reminder of the connection error;
使该总线入网单元上设置的报警灯变亮;Make the alarm lamp set on the network access unit of the bus brighten;
使该总线入网单元上设置的扬声器发出语音提醒;Make the loudspeaker set on the bus access unit give voice reminders;
使总线入网单元上设置的动画效果显示区上动画显示转动方向。Make the animation display the direction of rotation on the animation effect display area set on the bus access unit.
可选地,所述总线入网单元是电气控制***中多个串联的直线型总线入网单元中的一个直线型总线入网单元,所述第二总线入网单元是与该总线入网单元连接的其它直线型总线入网单元。Optionally, the bus network access unit is a linear bus network access unit among a plurality of serial linear bus network access units in the electrical control system, and the second bus network access unit is another linear bus network access unit connected to the bus network access unit. Bus access unit.
可选地,所述总线入网单元是电气控制***中的移载机总线入网单元,所述第二总线入网单元是与该总线入网单元连接的直线型总线入网单元。Optionally, the bus network access unit is a transfer machine bus network access unit in the electrical control system, and the second bus network access unit is a linear bus network access unit connected to the bus network access unit.
可选地,所述根据所述第一、第二、第三和第四端口中的至少一个端口接收到的与该总线入网单元连接的第二总线入网单元的连接端口的消息,确定该连接端口的出入口性质,包括:Optionally, the connection is determined according to the message of the connection port of the second bus network access unit connected to the bus network access unit received by at least one of the first, second, third, and fourth ports The nature of the entrance and exit of the port, including:
如果所述至少一个端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到指示端口号为1的消息,则确定第二总线入网单元的连接端口为入口,其中,总线入网单元的第一、第二、第三、第四端口的端口号分别为1-4;If the at least one port receives a message indicating that the port number is 1 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, the connection port of the second bus network access unit is determined Is an entrance, where the port numbers of the first, second, third, and fourth ports of the bus access unit are 1-4 respectively;
如果所述至少一个端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到指示端口号为3的消息,则确定第二总线入网单元的连接端口为出口。If the at least one port receives a message indicating that the port number is 3 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, the connection port of the second bus network access unit is determined For export.
可选地,所述根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,包括:Optionally, the determining the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit includes:
如果确定的第二总线入网单元的连接端口为入口,则确定所述信号流向为背离 所述第一总线入网单元的方向;If the determined connection port of the second bus network access unit is an entrance, determine that the signal flow direction is a direction away from the first bus network access unit;
如果确定的第二总线入网单元的连接端口为出口,则确定所述信号流向为朝向所述第一总线入网单元的方向。If the determined connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the first bus network access unit.
根据本公开的一方面,提供了一种输送线电气控制***,包括连接的第一总线入网单元和第二总线入网单元,其中,所述第一总线入网单元和第二总线入网单元各自包括第一、第二、第三和第四端口、和控制器,其中,所述第一总线入网单元的控制器根据该第一总线入网单元的所述第一、第二、第三和第四端口中的至少一个端口接收到的第二总线入网单元的连接端口的消息,确定该连接端口的出入口性质,根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,其中,如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,输出提示信息。According to an aspect of the present disclosure, there is provided an electrical control system for a transmission line, including a first bus network access unit and a second bus network access unit connected, wherein the first bus network access unit and the second bus network access unit each include a first bus network access unit and a second bus network access unit. 1. The second, third, and fourth ports, and the controller, wherein the controller of the first bus network access unit is based on the first, second, third, and fourth ports of the first bus network access unit At least one port in the second bus network access unit receives the message of the connection port of the second bus network unit, determines the entrance and exit nature of the connection port, and determines the signal in the second bus network access unit according to the entrance and exit nature of the connection port of the second bus network access unit Flow direction, wherein, if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, a prompt message is output.
可选地,所述输出提示信息包括以下中的至少一项:Optionally, the output prompt information includes at least one of the following:
向用于控制所述输送线电气控制***的云平台服务器发通知消息,使所述云平台服务器显示连接错误或发出连接错误的语音提醒;Send a notification message to the cloud platform server used to control the electrical control system of the transmission line, so that the cloud platform server displays a connection error or issues a voice reminder of the connection error;
使第一总线入网单元上设置的报警灯变亮;Turn on the alarm light set on the first bus network access unit;
使第一总线入网单元上设置的扬声器发出语音提醒;Make the loudspeaker set on the first bus network access unit give voice reminders;
使第一总线入网单元上设置的动画效果显示区上动画显示转动方向。The direction of rotation is displayed on the animation effect display area set on the network access unit of the first bus.
可选地,所述第一总线入网单元是所述输送线电气控制***中多个串联的直线型总线入网单元中的一个直线型总线入网单元,所述第二总线入网单元是与该第一总线入网单元连接的其它直线型总线入网单元。Optionally, the first bus network access unit is one of a plurality of linear bus network access units connected in series in the transmission line electrical control system, and the second bus network access unit is connected to the first bus network access unit. Other linear bus access units connected to the bus access unit.
可选地,所述总线入网单元是所述输送线电气控制***中的移载机总线入网单元,所述第二总线入网单元是与该第一总线入网单元连接的直线型总线入网单元。Optionally, the bus network access unit is a transfer machine bus network access unit in the transmission line electrical control system, and the second bus network access unit is a linear bus network access unit connected to the first bus network access unit.
可选地,所述根据该第一总线入网单元的所述第一、第二、第三和第四端口中的至少一个端口接收到的第二总线入网单元的连接端口的消息,确定该连接端口的出入口性质,包括:Optionally, the connection is determined according to the message of the connection port of the second bus network access unit received by at least one of the first, second, third, and fourth ports of the first bus network access unit The nature of the entrance and exit of the port, including:
如果所述至少一个端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到指示端口号为1的消息,则确定该连接端口为入口,其中,总线入网单元的第一、第二、第三、第四端口的端口号分别为1-4;If the at least one port receives a message indicating that the port number is 1 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it is determined that the connection port is an entrance, where: The port numbers of the first, second, third, and fourth ports of the bus access unit are 1-4 respectively;
如果所述至少一个端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到指示端口号为3的消息,则确定该连接端口为出口。If the at least one port receives a message indicating that the port number is 3 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it is determined that the connection port is an outlet.
可选地,所述根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,包括:Optionally, the determining the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit includes:
如果确定的第二总线入网单元的连接端口为入口,则确定所述信号流向为背离 所述第一总线入网单元的方向;If the determined connection port of the second bus network access unit is an entrance, determine that the signal flow direction is a direction away from the first bus network access unit;
如果确定的第二总线入网单元的连接端口为出口,则确定所述信号流向为朝向所述第一总线入网单元的方向。If the determined connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the first bus network access unit.
本公开实施例中,总线入网单元检测与其连接的相邻总线入网单元的连接端口的出入口性质,根据该出入口性质,确定第二总线入网单元中信号流向,并在所述信号流向与第二总线入网单元所对应的预定输送方向不一致时,输出提示信息。通过这种方式,现场将总线入网单元组装成输送线电气控制***时,一旦错误组装,马上输出提示信息,避免了错误组装造成的现场部署时间变长,从而达到减小输送线电气控制***部署的目的。In the embodiment of the present disclosure, the bus access unit detects the nature of the entrance and exit of the connection port of the adjacent bus access unit connected to it, and according to the nature of the entrance and exit, determines the signal flow direction in the second bus network entry unit, and compares the signal flow direction with the second bus. When the predetermined conveying direction corresponding to the network access unit is inconsistent, a prompt message is output. In this way, when the field bus network unit is assembled into the transmission line electrical control system, once it is assembled incorrectly, prompt information will be output immediately, avoiding the lengthening of the field deployment time caused by the wrong assembly, thereby reducing the deployment of the transmission line electrical control system the goal of.
附图说明Description of the drawings
通过参考以下附图对本公开实施例的描述,本公开的上述以及其它目的、特征和优点将更为清楚,在附图中:The above and other objectives, features, and advantages of the present disclosure will be more clearly described by referring to the following drawings to describe the embodiments of the present disclosure. In the accompanying drawings:
图1是根据本公开一个实施例的现场的输送线图例。Fig. 1 is a diagram of an on-site conveyor line according to an embodiment of the present disclosure.
图2是根据本公开一个实施例的输送线及其电气控制***整体结构示意图。Fig. 2 is a schematic diagram of the overall structure of a transmission line and its electrical control system according to an embodiment of the present disclosure.
图3A是根据本公开一个实施例的总线入网单元的物理结构图。Fig. 3A is a physical structure diagram of a bus network access unit according to an embodiment of the present disclosure.
图3B是根据本公开一个实施例的总线入网单元的逻辑结构图。Fig. 3B is a logical structure diagram of a bus network access unit according to an embodiment of the present disclosure.
图4A是根据本公开一个实施例的直线型输送段的图例。Fig. 4A is a diagram of a linear conveying section according to an embodiment of the present disclosure.
图4B是根据本公开一个实施例的移载机输送段的图例。Fig. 4B is a diagram of a conveying section of a transfer machine according to an embodiment of the present disclosure.
图5A是根据本公开一个实施例的直线型总线入网单元正确组装时的连接图。Fig. 5A is a connection diagram of a linear bus network access unit according to an embodiment of the present disclosure when it is assembled correctly.
图5B是根据本公开一个实施例的直线型总线入网单元错误组装时的连接图。Fig. 5B is a connection diagram of a linear bus network access unit according to an embodiment of the present disclosure when it is assembled incorrectly.
图6A是根据本公开一个实施例的直线型总线入网单元正确组装时的连接图。Fig. 6A is a connection diagram of a linear bus network access unit according to an embodiment of the present disclosure when it is assembled correctly.
图6B是根据本公开一个实施例的直线型总线入网单元错误组装时的连接图。Fig. 6B is a connection diagram of a linear bus network access unit according to an embodiment of the present disclosure when it is assembled incorrectly.
图7是根据本公开一个实施例的一种输送线电气控制***部署方法的流程图。Fig. 7 is a flowchart of a deployment method of a transmission line electrical control system according to an embodiment of the present disclosure.
图8是根据本公开一个实施例的总线入网单元的具体结构图。Fig. 8 is a specific structure diagram of a bus network access unit according to an embodiment of the present disclosure.
具体实施方式detailed description
以下基于实施例对本公开进行描述,但是本公开并不仅仅限于这些实施例。在下文对本公开的细节描述中,详尽描述了一些特定的细节部分。对本领域技术人员来说没有这些细节部分的描述也可以完全理解本公开。为了避免混淆本公开的实质,公知的方法、过程、流程没有详细叙述。另外附图不一定是按比例绘制的。The present disclosure is described below based on embodiments, but the present disclosure is not limited to these embodiments. In the following detailed description of the present disclosure, some specific details are described in detail. Those skilled in the art can fully understand the present disclosure without the description of these details. In order to avoid obscuring the essence of the present disclosure, the well-known methods, processes, and procedures are not described in detail. In addition, the drawings are not necessarily drawn to scale.
现代的物流商家后台的物流分拣和出库,普遍采用输送线100,如图1所示。输送线100是完成物品的输送的传送带、输送机等所有输送设备的总和。在环绕库房、 生产车间和包装车间的场地,设置有由许多皮带输送机、滚筒输送机等组成的一条条输送链,经首尾连接形成连续的输送线100。由于输送线不仅需要有实际输送所用的物理设备,还要有电控制信号控制输送线的传输,因此,输送线中还要有相应的电气控制***(在图1的输送线内部)。 Conveyor line 100 is commonly used for logistics sorting and outbound in the back-end of modern logistics merchants, as shown in Figure 1. The conveying line 100 is the sum of all conveying equipment such as conveyor belts and conveyors that complete the conveying of items. In the site surrounding the warehouse, production workshop and packaging workshop, a conveyor chain composed of many belt conveyors, roller conveyors, etc. is set up, which are connected end to end to form a continuous conveyor line 100. Since the conveying line not only needs the physical equipment used for actual conveying, but also the electric control signal to control the transmission of the conveying line, therefore, the corresponding electric control system (inside the conveying line in Fig. 1) is also required in the conveying line.
目前市场上大量使用的输送线100的电气控制***,采用可编程逻辑控制器(PLC)集中控制,主要缺点是单点或者多点控制,布线复杂,现场部署困难,容易出现组装错误,不利于快速开店。另一种改良的输送线100的电气控制***采用单片机,只是解决了PLC成本高的问题,缺点仍然是现场部署困难,容易出现组装错误,不利于快速开店。At present, the electrical control system of transmission line 100, which is widely used in the market, adopts programmable logic controller (PLC) for centralized control. The main disadvantages are single-point or multi-point control, complicated wiring, difficult on-site deployment, and easy assembly errors, which is not conducive to Shop quickly. Another improved electrical control system of the conveyor line 100 uses a single-chip microcomputer, which only solves the problem of high PLC cost. The disadvantage is still that it is difficult to deploy on site and prone to assembly errors, which is not conducive to quick shop opening.
因此,为克服以上问题,出现了一种技术,将输送线100分成一段段的输送段102,如图4A-图4B所示。将输送段102首尾接续,就象搭积木一样随现场需要搭成了各种输送线100。图4A所示的输送段102叫直线型输送段,它的特点是只有左右两个方向能够连接其他输送段102,一般用于不需改变传输方向的输送。图4B所示的输送段102叫移载机输送段,它的特点是前后左右四个方向能够连接其他输送段102,一般用于改变传输方向的输送,其在打开时呈十字形,前后左右四个方向都有接口,用于连接四个方向的其它直线型输送段。由于四个方向都可以连接其它输送段,当货物需要改变传输方向时,就通过移载机输送段转到其它方向。移载机输送段只能连接直线型输送段。Therefore, in order to overcome the above problems, a technology has emerged that divides the conveying line 100 into sections of conveying sections 102, as shown in FIGS. 4A-4B. The conveying section 102 is connected end to end, just like building blocks, to build various conveying lines 100 according to site needs. The conveying section 102 shown in FIG. 4A is called a linear conveying section. Its characteristic is that only the left and right directions can be connected to other conveying sections 102, and it is generally used for conveying without changing the conveying direction. The conveying section 102 shown in Fig. 4B is called the transfer section. Its characteristic is that it can be connected to other conveying sections 102 in four directions: front, back, left, and right. It is generally used for conveying that changes the conveying direction. There are interfaces in all four directions, which are used to connect other linear conveying sections in four directions. Since the four directions can be connected to other conveying sections, when the goods need to change the conveying direction, they will be transferred to other directions through the conveying section of the transfer machine. The conveying section of the transfer machine can only be connected to the linear conveying section.
在输送线100的每个输送段102中,有一个总线入网单元110作为电气控制部分。该总线入网单元110可以采用控制器局域网(CAN)总线入网单元,这样搭建的电气控制***通过CAN实现电气通信,这也是目前输送线的电气控制***的主要通信形式。但本领域技术人员也能够构想到其它的输送线电气控制***的通信形式,从而采用其它的总线入网单元。In each transmission section 102 of the transmission line 100, there is a bus network access unit 110 as an electrical control part. The bus network access unit 110 may adopt a controller area network (CAN) bus network access unit, and the electrical control system built in this way implements electrical communication through CAN, which is also the main communication form of the electrical control system of the current transmission line. However, those skilled in the art can also conceive of other communication forms of the transmission line electrical control system, so as to adopt other bus network access units.
总线入网单元110在输送段102的内部,在图1和图4A、图4B中未示。由于它是输送段102中的电气控制部分,它的形状也与其所在的输送段102的形状一致。直线型输送段中的总线入网单元110是直线型总线入网单元,也只有左右两个方向可以用来与相邻的输送段102中的总线入网单元110接续。移载机输送段中的总线入网单元110是移载机总线入网单元,有前后左右四个方向可以用来与相邻的输送段102中的总线入网单元110接续。图2示出了一个输送线100的整体拓扑结构示意图。图2中,输送线100分成各输送段102,每个输送段中有一个总线入网单元110作为电气控制部分,所有的总线入网单元110按照对应的输送线100的顺序连接成电气控制***119。电气控制***119是整个输送线100的电气控制部分。应当理解,虽然图1中输送段都是依次直线连接的,但实际上由于有移载机输送段的存在,也可能发生 有输送段102在其他方向上伸出(例如,上下方向伸出一些输送段102)的情况。The bus network access unit 110 is inside the transmission section 102, which is not shown in FIGS. 1 and 4A and 4B. Since it is the electrical control part of the conveying section 102, its shape is also consistent with the shape of the conveying section 102 where it is located. The bus network access unit 110 in the linear transport section is a linear bus network access unit, and only the left and right directions can be used to connect with the bus network access unit 110 in the adjacent transport section 102. The bus network access unit 110 in the transfer section of the transfer machine is a transfer machine bus network access unit, which has four directions, front, back, left, and right, which can be used to connect with the bus network access unit 110 in the adjacent transfer section 102. FIG. 2 shows a schematic diagram of the overall topological structure of a transmission line 100. In FIG. 2, the transmission line 100 is divided into transmission sections 102. In each transmission section, there is a bus network access unit 110 as the electrical control part, and all the bus network access units 110 are connected to the electrical control system 119 in the order of the corresponding transmission line 100. The electrical control system 119 is the electrical control part of the entire conveying line 100. It should be understood that although the conveying sections in Fig. 1 are all linearly connected in sequence, in fact, due to the existence of the conveying section of the transfer machine, it may also happen that the conveying section 102 extends in other directions (for example, some up and down directions are extended). The situation of the conveying section 102).
每个输送段102中,可能有一些控制部件113,其连接到该输送段102的总线入网单元110,通过总线入网单元110连接到整个电气控制***119,与其它输送段102中的控制部件113通信。总线入网单元110实际上起到全网的控制部件113相互通信的接口的作用,使得这些控制部件113之间传递控制信号,使输送线100协调运行。In each transmission section 102, there may be some control components 113, which are connected to the bus network access unit 110 of the transmission section 102, and are connected to the entire electrical control system 119 through the bus network access unit 110, and are connected to the control components 113 in other transmission sections 102. Communication. The bus network access unit 110 actually functions as an interface for the control components 113 of the entire network to communicate with each other, so that these control components 113 can transmit control signals between them, and the transmission line 100 can operate in coordination.
图1的输送线100中的电气控制***119包括多个局域网114,每个局域网CAN114是位于图1的一个粗线格中的椭圆部分。图2中画出了第一局域网1141、第二局域网1142、第三局域网1143,但本领域技术人员理解,电气控制***119也可能包含其它数目的局域网,例如2个、4个、5个等等。The electrical control system 119 in the transmission line 100 of FIG. 1 includes a plurality of local area networks 114, and each local area network CAN 114 is an ellipse located in a thick-line grid in FIG. Figure 2 shows the first local area network 1141, the second local area network 1142, the third local area network 1143, but those skilled in the art understand that the electrical control system 119 may also include other numbers of local area networks, such as 2, 4, 5, etc. Wait.
上述局域网可以是控制器局域网络(Controller Area Network,CAN),它是国际上应用较为广泛的现场总线之一。在一个CAN内,一个节点的消息广播到CAN中所有的其它节点。因此,可以认为,一个CAN内的消息都通过同一CAN总线发送到该CAN内的所有节点。不同的CAN内的消息采用不同的CAN总线发送。The aforementioned local area network may be a Controller Area Network (CAN), which is one of the most widely used field buses in the world. Within a CAN, a node's message is broadcast to all other nodes in the CAN. Therefore, it can be considered that a message in a CAN is sent to all nodes in the CAN through the same CAN bus. Messages in different CANs are sent using different CAN buses.
由于输送线的长度可能长达几公里,含有几千个甚至几万个总线入网单元110,一个局域网的覆盖距离无法达到覆盖这样的长度,因此,本公开实施例中采用多个局域网114串联的形式,其中在两个相邻的局域网114之间由一个路由总线入网单元112连接。该路由总线入网单元112同时属于两个相邻的局域网114,负责将一个局域网114的消息向另一个局域网114转发(广播)。由于两个局域网114传输消息所用的总线不同,因此,通常要求路由总线入网单元112能够同时连接两条总线,并且能够将一条总线上的消息转发到另一条总线上。图2中示出的路由总线入网单元112包括C4、C8、C11,其中CX是图2中第X个总线入网单元的标识。Since the length of the transmission line may be as long as several kilometers and contains thousands or even tens of thousands of bus access units 110, the coverage distance of a local area network cannot reach such a length. Therefore, in the embodiment of the present disclosure, multiple local area networks 114 are connected in series. In the form, two adjacent local area networks 114 are connected by a routing bus network access unit 112. The routing bus network access unit 112 belongs to two adjacent local area networks 114 at the same time, and is responsible for forwarding (broadcasting) messages from one local area network 114 to another local area network 114. Since the two local area networks 114 use different buses to transmit messages, it is usually required that the routing bus access unit 112 be able to connect two buses at the same time, and be able to forward messages on one bus to the other bus. The routing bus network access unit 112 shown in FIG. 2 includes C4, C8, and C11, where CX is the identifier of the Xth bus network access unit in FIG. 2.
除了路由总线入网单元112之外,总线入网单元110的另一种类型是内部总线入网单元111,即在一个局域网114内部的、非路由总线入网单元112的单元。由于在一个局域网114内部传输消息采用同一条总线,因此,它不要求能将一个局域网114上的消息转发到另一个局域网114。图2示出的内部总线入网单元111包括C1、C2、C3、C5、C6、C7、C9、C10。In addition to the routing bus access unit 112, another type of the bus access unit 110 is an internal bus access unit 111, that is, a unit inside a local area network 114 that is not a routing bus access unit 112. Since the same bus is used to transmit messages within a local area network 114, it does not require that messages on one local area network 114 can be forwarded to another local area network 114. The internal bus network access unit 111 shown in FIG. 2 includes C1, C2, C3, C5, C6, C7, C9, and C10.
下面结合图3A,详细描述根据本公开一个实施例的总线入网单元110的详细结构。如图3A所示,总线入网单元110包括:第一总线121、第二总线122、第一总线收发器123、第二总线收发器124、第一端口131、和包括第二端口132、第三端口133、第四端口134的多个可变连接端口130。多个可变连接端口130中的至少一个可变连接端口可以连接到第一总线121、第二总线122中的任一总线,也可以与这两条总线都不连接。如上所述,当总线入网单元110作为路由总线入网单元112时,需要接续不同的总线,这时就可以让第二端口132、第三端口133、第四端口134之一 连接到第二总线122,由于第一端口131始终连接第一总线121,就达到了接续不同总线的目的。当总线入网单元110作为内部总线入网单元111时,需要接续同一总线,这时就可以让第二端口132、第三端口133、第四端口134连接到第一总线121,由于第一端口131始终连接第一总线121,就达到了接续同一总线的目的。The detailed structure of the bus network access unit 110 according to an embodiment of the present disclosure will be described in detail below with reference to FIG. 3A. As shown in FIG. 3A, the bus network access unit 110 includes: a first bus 121, a second bus 122, a first bus transceiver 123, a second bus transceiver 124, a first port 131, and a second port 132, a third bus Port 133, a plurality of variable connection ports 130 of the fourth port 134. At least one variable connection port among the plurality of variable connection ports 130 may be connected to any one of the first bus 121 and the second bus 122, or may be connected to neither of the two buses. As described above, when the bus network access unit 110 is used as the routing bus network access unit 112, different buses need to be connected. At this time, one of the second port 132, the third port 133, and the fourth port 134 can be connected to the second bus 122. Since the first port 131 is always connected to the first bus 121, the purpose of connecting different buses is achieved. When the bus network access unit 110 is used as the internal bus network access unit 111, it needs to be connected to the same bus. At this time, the second port 132, the third port 133, and the fourth port 134 can be connected to the first bus 121, because the first port 131 is always Connecting the first bus 121 achieves the purpose of connecting to the same bus.
虽然上面示例性地描述了多个可变连接端口130包括第二端口132、第三端口133、第四端口134,实际上,其也可以包括其它数量的端口,例如还可以根据需要包括第五、第六端口等,也可以仅包括第二端口132、第三端口133等。Although it is exemplarily described above that the plurality of variable connection ports 130 include the second port 132, the third port 133, and the fourth port 134, in fact, they may also include other numbers of ports, for example, may also include a fifth port as required. , The sixth port, etc., may also only include the second port 132, the third port 133, and so on.
第一总线收发器123连接第一总线121,用于与电气控制***119中其它总线入网单元110的第一总线收发器123通信,从而建立第一局域网通信。第二总线收发器124连接第二总线122,用于与电气控制***119中其它总线入网单元110的第二总线收发器124通信。应当注意,虽然在图2中示出在每个局域网中多个总线入网单元110是依次连接的(例如总线入网单元C1连接到总线入网单元C2,总线入网单元C2连接到总线入网单元C3),但实际上一个总线入网单元110通过其第一总线收发器123或第二总线收发器124发送消息后,连接到第一总线或第二总线上的其它总线入网单元110的第一总线收发器123或第二总线收发器124都可以接收到该消息。只要连接在一条总线上,发送消息可以认为是一种广播。因此,图2中,如果总线入网单元C2发送一个消息,由于总线入网单元C1、C3、C4都连接到第一总线121,它们都接收到该消息,即消息广播到总线入网单元C1、C3、C4。The first bus transceiver 123 is connected to the first bus 121 and is used to communicate with the first bus transceiver 123 of other bus network access units 110 in the electrical control system 119, so as to establish a first local area network communication. The second bus transceiver 124 is connected to the second bus 122 and is used to communicate with the second bus transceiver 124 of other bus network access units 110 in the electrical control system 119. It should be noted that although FIG. 2 shows that in each local area network, multiple bus network access units 110 are connected in sequence (for example, the bus network access unit C1 is connected to the bus network access unit C2, and the bus network access unit C2 is connected to the bus network access unit C3), But in fact, after a bus network access unit 110 sends a message through its first bus transceiver 123 or second bus transceiver 124, it is connected to the first bus transceiver 123 of the other bus network access unit 110 on the first bus or the second bus. Or the second bus transceiver 124 can receive the message. As long as it is connected to a bus, sending a message can be regarded as a kind of broadcast. Therefore, in Figure 2, if the bus network access unit C2 sends a message, since the bus network access units C1, C3, and C4 are all connected to the first bus 121, they all receive the message, that is, the message is broadcast to the bus network access units C1, C3, C4.
如图3A所示,第一端口131连接到第一总线121。多个可变连接端口130中的至少一个可变连接端口130连接到所述第一总线121、第二总线122中的一个,或与所述第一总线121、第二总线122都不相连,从而使总线入网单元110具有不同的类型,即直线型总线入网单元和移载机总线入网单元,在后文中会详细描述。As shown in FIG. 3A, the first port 131 is connected to the first bus 121. At least one variable connection port 130 of the plurality of variable connection ports 130 is connected to one of the first bus 121 and the second bus 122, or is not connected to the first bus 121 and the second bus 122, Therefore, the bus network access unit 110 has different types, namely, a linear bus network access unit and a transfer machine bus network access unit, which will be described in detail later.
图3B是根据本公开一个实施例的总线入网单元110的逻辑结构图。该逻辑结构图模糊了图3A的总线入网单元110中的内部连接关系,将其内部连接关系视为黑盒子,仅将总线入网单元110看作具有四个逻辑端口131-134,每个逻辑端口131-134与第一总线121或第二总线122的连接关系被隐藏。逻辑端口131-134可以是信号的入口,也可以是信号的出口。在图3B中,第一端口131是信号的入口,第三端口133是信号的出口。入口的含义是,如果从某个端口连接到第一总线121或第二总线122,并向其提供输入信号,则该端口为入口。逻辑出口的含义是,如果从某个端口连接到第一总线121或第二总线122,并从该总线输出信号到该端口,则该端口为出口。由于第一端口131固定连接第一总线121,其只能为入口。由于第二端口132、第三端口133、第四端口134都是既可以连接第一总线121,也可以连接第二总线122,其连接第一总线121时,正好形成与第一端口131的逻辑入口的信号的出口,因此作为 出口;其连接第二总线122时,此时是连接到一条新的总线上,为其输入信号,即作为入口。因此,总线入网单元110中,第一端口131是入口,第二、第三、第四端口132-134的每一个既可以是入口,也可以是出口。FIG. 3B is a logical structure diagram of the bus network access unit 110 according to an embodiment of the present disclosure. This logical structure diagram obscures the internal connection relationship in the bus network access unit 110 of FIG. 3A, regards its internal connection relationship as a black box, and only considers the bus network access unit 110 as having four logical ports 131-134, each logical port The connection relationship between 131-134 and the first bus 121 or the second bus 122 is hidden. The logical ports 131-134 can be signal inlets or signal outlets. In FIG. 3B, the first port 131 is a signal inlet, and the third port 133 is a signal outlet. The meaning of an entrance is that if a port is connected to the first bus 121 or the second bus 122 and an input signal is provided to it, the port is an entrance. The meaning of a logical outlet is that if a port is connected to the first bus 121 or the second bus 122 and a signal is output from the bus to the port, the port is an outlet. Since the first port 131 is fixedly connected to the first bus 121, it can only be an entrance. Since the second port 132, the third port 133, and the fourth port 134 can be connected to either the first bus 121 or the second bus 122, when they are connected to the first bus 121, they form a logical connection with the first port 131. The exit of the signal of the entrance is therefore used as the exit; when it is connected to the second bus 122, it is connected to a new bus at this time, and its input signal is used as the entrance. Therefore, in the bus network access unit 110, the first port 131 is an inlet, and each of the second, third, and fourth ports 132-134 may be an inlet or an outlet.
下面详细描述直线型总线入网单元和移载机总线入网单元。The following is a detailed description of the linear bus network access unit and the transfer machine bus network access unit.
如图3B所示的总线入网单元110中,如果只使用其第一端口131、第三端口133,不使用其第二端口132、第四端口134(将第二端口132、第四端口134通过物理设备屏蔽,例如用盖板封闭),则为直线型总线入网单元。这时,第一端口131固定连接到第一总线121,一定是入口,第三端口133也只能连接到第一总线121,作为出口,因为如果其连接到第二总线122,从第一端口131流入的信号就无法流出,因此,其只能作为第一端口131流入信号的出口,连接到第一总线121。第二端口132、第四端口134中的任一个与所述第一总线121、第二总线122都不相连。In the bus network access unit 110 shown in FIG. 3B, if only the first port 131 and the third port 133 are used, the second port 132 and the fourth port 134 are not used (the second port 132 and the fourth port 134 are passed through Physical equipment shielding, such as closed with a cover), is a linear bus access unit. At this time, the first port 131 is fixedly connected to the first bus 121, which must be an inlet, and the third port 133 can only be connected to the first bus 121 as an outlet, because if it is connected to the second bus 122, from the first port The incoming signal 131 cannot flow out. Therefore, it can only be used as an outlet for the incoming signal from the first port 131 and connected to the first bus 121. Any one of the second port 132 and the fourth port 134 is not connected to the first bus 121 and the second bus 122.
如图6A所示的总线入网单元B中,第一端口131、第二端口132、第三端口133、第四端口134都可以使用,则其为移载机总线入网单元。它的第一端口131固定连接到第一总线121,一定是入口,第二端口132、第三端口133、第四端口134可以连接到第一总线121,作为出口,也可以连接到第二总线122,作为入口。在图6A中,总线入网单元B的第一端口131固定是入口,其与总线入网单元A的作为出口的第三端口133连接。而它的第二端口132、第三端口133、第四端口134既可以是入口,也可以是出口。第二端口132与总线入网单元E的作为入口的第一端口131连接,是出口。第三端口133与总线入网单元C的作为入口的第一端口131连接,是出口。第四端口134与总线入网单元D的作为出口的第三端口133连接,是入口。图6A示出了移载机总线入网单元的第二端口132、第三端口133、第四端口134都连接有其他总线入网单元的情况,实际上它们中不需要都连接其他总线入网单元,可以有一些不连接。In the bus network access unit B shown in FIG. 6A, the first port 131, the second port 132, the third port 133, and the fourth port 134 can all be used, and it is the transfer machine bus network access unit. Its first port 131 is fixedly connected to the first bus 121, which must be an entrance. The second port 132, the third port 133, and the fourth port 134 can be connected to the first bus 121 as an exit or can be connected to the second bus. 122, as an entrance. In FIG. 6A, the first port 131 of the bus network access unit B is fixed as an entrance, and it is connected to the third port 133 of the bus network access unit A as an exit. The second port 132, the third port 133, and the fourth port 134 can be either an inlet or an outlet. The second port 132 is connected to the first port 131 of the bus network access unit E as an entrance, and is an exit. The third port 133 is connected to the first port 131 of the bus network access unit C as an entrance, and is an exit. The fourth port 134 is connected to the third port 133 of the bus network access unit D as an outlet, and is an entrance. Figure 6A shows a situation where the second port 132, third port 133, and fourth port 134 of the transfer machine bus network access unit are all connected to other bus network access units. In fact, they do not need to be connected to other bus network access units. Some are not connected.
应当注意,直线型总线入网单元可以与直线型总线入网单元相连,如图5A-图5B中的直线型总线入网单元A-C顺次连接;直线型总线入网单元也可以与移载机总线入网单元相连,如图6A-图6B中的直线型总线入网单元A、C、D、E与移载机总线入网单元B相连。但是,移载机总线入网单元只能与直线型总线入网单元相连,如图6A-图6B中的总线入网单元B连接的都是直线型总线入网单元A、C、D、E。It should be noted that the linear bus network access unit can be connected to the linear bus network access unit, as shown in Figure 5A-5B, the linear bus network access unit AC is connected in sequence; the linear bus network access unit can also be connected to the transfer machine bus network access unit , As shown in Fig. 6A-Fig. 6B, the linear bus network access units A, C, D, and E are connected to the transfer machine bus network access unit B. However, the transfer machine bus network access unit can only be connected to the linear bus network access unit. The bus network access unit B in Figure 6A-6B is connected to the linear bus network access units A, C, D, and E.
上述由总线入网单元110搭建输送线100的电气控制***119的方案中,有一个限制,即总线入网单元110的端口连接的方向性要符合预定输送方向(例如输送线100上货物输送方向)。每个总线入网单元110中的信号流方向都是从入口流向出口,但如果在此总线入网单元110所在的输送段102中,预定输送方向与信号流方向更好相反,就无法正常工作。例如,在图5A中,总线入网单元A的第一端口131是入口,第三端口133是出口,内部信号流向是从第一端口131流向第三端口133,即图5A中从左到 右,其所在的输送段102的预定输送方向也是从左到右,则两者一致,安装正确。同理,图5A中的总线入网单元B、C安装也是正确的。但对于图5B中的总线入网单元A来说,其第一端口131是出口,第三端口133是入口,内部信号流向是从第三端口133流向第一端口131,即图5B中从右到左,其所在的输送段102的预定输送方向是从左到右,则两者相反,安装错误,会造成实际需要的控制信号传递方向会组装导致的传递方向不一致。在组装时如果组装错误而不能察觉,造成反复组装,现场部署时间变长。In the above-mentioned solution of constructing the electrical control system 119 of the conveying line 100 by the bus network access unit 110, there is a limitation, that is, the direction of the port connection of the bus network access unit 110 must conform to the predetermined conveying direction (for example, the goods conveying direction on the conveying line 100). The signal flow direction in each bus network access unit 110 is from the entrance to the exit. However, if the predetermined transmission direction is better opposite to the signal flow direction in the transmission section 102 where the bus network access unit 110 is located, the normal operation cannot be performed. For example, in Figure 5A, the first port 131 of the bus network access unit A is the entrance, and the third port 133 is the exit. The internal signal flow is from the first port 131 to the third port 133, that is, from left to right in Figure 5A, The predetermined conveying direction of the conveying section 102 where it is located is also from left to right, and the two are the same, and the installation is correct. In the same way, the bus network access units B and C in Figure 5A are installed correctly. But for the bus network unit A in FIG. 5B, the first port 131 is the outlet, and the third port 133 is the inlet. The internal signal flow is from the third port 133 to the first port 131, that is, from the right to the first port 131 in FIG. 5B. On the left, the predetermined conveying direction of the conveying section 102 where it is located is from left to right, and the two are opposite, and installation errors will cause the actual required control signal transmission direction to be inconsistent due to assembly. If assembly errors are not detected during assembly, repeated assembly will result and on-site deployment time will be longer.
本公开实施例提出一种能够在组装时现场识别组装所导致的信号流向与预定输送方向是否一致,并在不一致时及时提示的方案,由于能够现场发现组装错误,大大减少了部署时间,提高了部署准确性。The embodiment of the present disclosure proposes a solution that can identify whether the signal flow direction caused by the assembly is consistent with the predetermined conveying direction during assembly, and prompt promptly when it is inconsistent. As assembly errors can be found on site, the deployment time is greatly reduced, and the deployment time is improved. Deployment accuracy.
图7示出了根据本公开的一个实施例的一种输送线电气控制***部署方法的流程图。输送线电气控制***即图2的输送线100的电气控制***119。输送线电气控制***部署是指将组成电气控制***119的各相邻总线入网单元110的端口(第一至第四端口)进行接续,以将总线入网单元110连成电气控制***119。本公开实施例可以在端口接续的过程中,如果发生错误进行提示,从而避免接续错误。Fig. 7 shows a flowchart of a method for deploying a transmission line electrical control system according to an embodiment of the present disclosure. The transmission line electrical control system is the electrical control system 119 of the transmission line 100 in FIG. 2. The deployment of the transmission line electrical control system refers to connecting the ports (first to fourth ports) of each adjacent bus network access unit 110 that constitute the electrical control system 119 to connect the bus network access unit 110 to the electrical control system 119. The embodiment of the present disclosure can prompt if an error occurs during the port connection process, thereby avoiding connection errors.
该方法由电气控制***119的中的第一总线入网单元执行,执行的对象是与第一总线入网单元连接的第二总线入网单元。The method is executed by the first bus network access unit in the electrical control system 119, and the object of execution is the second bus network access unit connected to the first bus network access unit.
如果电气控制***119有移载机总线入网单元,在其周围会出现图6A-图6B所示的典型拓扑结构,即一个移载机总线入网单元的各端口分别连接一个其它直线型总线入网单元。在其他的位置,会出现图5A-图5B所示的典型拓扑结构,即多个直线型总线入网单元串联。在这两种不同的拓扑结构中,选取第一总线入网单元、第二总线入网单元的方式稍有不同。If the electrical control system 119 has a transfer machine bus access unit, the typical topology shown in Figures 6A-6B will appear around it, that is, each port of a transfer machine bus access unit is connected to another linear bus access unit. . In other positions, the typical topological structure shown in Figs. 5A-5B will appear, that is, multiple linear bus network access units are connected in series. In these two different topologies, the ways to select the first bus access unit and the second bus access unit are slightly different.
对于所述电气控制***119中多个串联的直线型总线入网单元,如图5A-图5B所示,所述直线型总线入网单元依次作为所述第一总线入网单元,与该第一总线入网单元连接的其它直线型总线入网单元作为第二总线入网单元。这样,就可以针对这多个串联的直线型总线入网单元,检查其每个所连接的直线型总线入网单元是否有连接错误的情形,达到了穷尽排查的目的。例如,图5A-图5B中,先让总线入网单元A作为第一总线入网单元,与其连接的总线入网单元B作为第二总线入网单元;再让总线入网单元B作为第一总线入网单元,与其连接的总线入网单元A、C作为第二总线入网单元;再让总线入网单元C作为第一总线入网单元,与其连接的总线入网单元B作为第二总线入网单元,达到穷尽排查的目的。For the multiple linear bus network access units connected in series in the electrical control system 119, as shown in FIG. The other linear bus access unit connected to the unit serves as the second bus access unit. In this way, it is possible to check whether each of the linear bus network access units connected to these multiple linear bus network access units has a connection error, so as to achieve the purpose of exhaustive investigation. For example, in Figures 5A-5B, let the bus access unit A be the first bus access unit, and the bus access unit B connected to it as the second bus access unit; and then let the bus access unit B be the first bus access unit. The connected bus network access units A and C are used as the second bus network access unit; then the bus network access unit C is used as the first bus network access unit, and the bus network access unit B connected to it is used as the second bus network access unit to achieve the purpose of exhaustive investigation.
对于所述电气控制***中的移载机总线入网单元,如图6A-图6B所示,让该移载机总线入网单元作为所述第一总线入网单元,与该第一总线入网单元连接的直线型总线入网单元作为第二总线入网单元。例如,图6A-图6B中,让总线入网单元B作为第一 总线入网单元,与其连接的总线入网单元A、C、D、E分别作为第二总线入网单元。For the transfer machine bus network access unit in the electrical control system, as shown in Figures 6A-6B, let the transfer machine bus network access unit serve as the first bus network access unit, which is connected to the first bus network access unit The linear bus network access unit serves as the second bus network access unit. For example, in Figures 6A-6B, let the bus network access unit B be the first bus network access unit, and the bus network access units A, C, D, and E connected to it are respectively used as the second bus network access unit.
如图7所示,所述方法包括:As shown in Figure 7, the method includes:
步骤710、在部署阶段,由第一总线入网单元检测与该第一总线入网单元连接的第二总线入网单元的连接端口的出入口性质;Step 710: In the deployment phase, the first bus network access unit detects the nature of the entrance and exit of the connection port of the second bus network access unit connected to the first bus network access unit.
步骤720、根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向;Step 720: Determine the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit.
步骤730、如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,输出提示信息。Step 730: If the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, output a prompt message.
步骤710的部署阶段是指将总线入网单元通过端口进行互连以组成输送线电气控制***的阶段。连接端口是指第二总线入网单元的端口中用来与第一总线入网单元连接的端口。出入口性质是指是入口还是出口。The deployment stage of step 710 refers to a stage in which the bus network access units are interconnected through ports to form an electrical control system of the transmission line. The connection port refers to a port used to connect to the first bus network access unit among the ports of the second bus network access unit. The nature of the entrance and exit refers to whether it is an entrance or an exit.
在部署阶段,相互连接的总线入网单元之间最初并不知道与自己连接的总线入网单元是哪一个,其第一、第二、第三还是第四端口连接了自己,对方的连接端口是入口还是出口。它通过一个消息发送机制来通知以上信息。在该机制中,设置多个有顺序的扫描期。在每个扫描期中,各总线入网单元110中各端口与第一总线121或第二总线122的连接关系是设置好的,各端口按照预定的规则发送消息,该消息就表明了该端口号以及端口与第一总线121或第二总线122的连接关系。与该端口连接的其它总线入网单元110的端口接收到该消息,就识别出了连接的总线入网单元110、连接的端口号、该端口是逻辑入口还是出口等信息,从而自动得到总线入网单元110的各端口的连接情况,同时也得到了步骤710需要的连接端口的出入口性质。In the deployment phase, the bus access units connected to each other initially do not know which bus access unit is connected to itself, and its first, second, third or fourth port is connected to itself, and the connection port of the other party is the entrance Still export. It notifies the above information through a message sending mechanism. In this mechanism, multiple sequential scan periods are set. In each scanning period, the connection relationship between each port of each bus network access unit 110 and the first bus 121 or the second bus 122 is set, and each port sends a message according to a predetermined rule, and the message indicates the port number and The connection relationship between the port and the first bus 121 or the second bus 122. When the port of the other bus network access unit 110 connected to the port receives the message, it recognizes the connected bus network access unit 110, the connected port number, whether the port is a logical entry or exit, etc., thereby automatically obtaining the bus entry unit 110 At the same time, the connection status of each port in the step 710 is also obtained.
在上述机制中,一方面,每个总线入网单元110作为消息发送者,其各端口在多个有顺序的扫描期按照预定规则与其内部的第一总线121或第二总线122连接并向外发消息,即状态通知,以将自己的标识、各端口的端口号(第一、第二、第三或第四端口对应端口号分别为1-4)、各端口连接的总线号(第一总线的总线号为1,第一总线的总线号为2)通知出去,其目的是为了让与自己连接的总线入网单元110发现自己的身份和端口信息。另一方面,每个总线入网单元110作为消息接收者,接收与自己连接的总线入网单元110发送的上述消息,从而了解与自己连接的总线入网单元110的身份和端口信息。下面对发送和接收的过程分别进行描述。In the above mechanism, on the one hand, each bus network access unit 110 acts as a message sender, and its ports are connected to its internal first bus 121 or second bus 122 and sent out according to predetermined rules during multiple sequential scan periods. The message, that is, the status notification, is used to send its own identification, the port number of each port (the corresponding port numbers of the first, second, third, or fourth port are 1-4 respectively), and the bus number to which each port is connected (the first bus The bus number of the first bus is 1, and the bus number of the first bus is 2). The purpose is to let the bus network access unit 110 connected to itself discover its own identity and port information. On the other hand, each bus network access unit 110 acts as a message receiver and receives the above-mentioned message sent by the bus network access unit 110 connected to it, so as to know the identity and port information of the bus network access unit 110 connected to it. The following describes the sending and receiving processes respectively.
首先,在输送线电气控制***中设置一个检测启动总线入网单元,由它发出扫描启动子类型的控制消息,来启动整个输送线电气控制***中所有总线入网单元的上述消息发送和检测。这一方面是为了协调整个电气控制***119中各总线入网单元110的动作,使上述消息通知和检测能够同步(因为只有相连接的两个总线入网单元110中一个进行消息通知,另一个接收消息并从中检测,才能协调工作),另一方面是为 下文提到的第一、第二、第三、第四扫描期提供一个统一的时间基准。First, set a detection and start bus access unit in the transmission line electrical control system, which sends out a scan start sub-type control message to start the above-mentioned message sending and detection of all bus access units in the entire transmission line electrical control system. This aspect is to coordinate the actions of the bus network access units 110 in the entire electrical control system 119, so that the above-mentioned message notification and detection can be synchronized (because only one of the two connected bus network access units 110 performs message notification, the other receives the message Only by detecting it can we coordinate the work). On the other hand, it provides a unified time reference for the first, second, third, and fourth scan periods mentioned below.
检测启动总线入网单元是电气控制***119中预先设定的一个总线入网单元110,如图2中的总线入网单元C5。由它全网发送一个扫描启动子类型的控制消息,从而全网的总线入网单元110接收到该控制消息后,基于该接收到该控制消息的时间或接收到该控制消息中的时间戳开始设置后面提到的第一、第二、第三、第四扫描期,在第一、第二、第三、第四扫描期设置不同的各端口与第一总线121或第二总线122的连接状态,发送不同的消息,由其端口连接的其它总线入网单元110接收该消息,并基于该消息识别相邻总线入网单元110和端口连接状态。The detection and activation of the bus network access unit is a bus network access unit 110 preset in the electrical control system 119, such as the bus network access unit C5 in FIG. 2. It sends a control message of the scan initiation subtype from the entire network, so that after the bus access unit 110 of the entire network receives the control message, it starts setting based on the time when the control message is received or the time stamp in the control message. In the first, second, third, and fourth scan periods mentioned later, the connection status of each port and the first bus 121 or the second bus 122 is set in the first, second, third, and fourth scan periods. To send different messages, the other bus network access unit 110 connected to its port receives the message, and based on the message, identifies the connection status of the adjacent bus network access unit 110 and the port.
控制消息是事先规定(例如通过协议规定)的用于在整个电气控制***119中发送全网控制指令的消息。这种全网控制指令不限于扫描启动,还可以进行其他类型的控制,例如定时控制。用于不同类型的控制的控制消息可以用子类型来区分。子类型可以体现为控制消息的一个字段。当一个总线入网单元110接收到一个控制消息后,查看该表示子类型的字段,如果该字段表明扫描启动子类型,则开始准备在后面提到的第一、第二、第三、第四扫描期,设置不同的各端口与第一总线121或第二总线122的连接状态,发送不同的消息。The control message is a message prescribed in advance (for example, through a protocol) and used to send a network-wide control command in the entire electrical control system 119. This kind of network-wide control command is not limited to scan start, and can also perform other types of control, such as timing control. Control messages used for different types of control can be distinguished by subtypes. The subtype can be embodied as a field of the control message. When a bus network access unit 110 receives a control message, it looks at the field indicating the sub-type. If the field indicates the scan-initiating sub-type, it starts to prepare for the first, second, third, and fourth scans mentioned later. During the period, set different connection states of each port with the first bus 121 or the second bus 122, and send different messages.
对于直线型总线入网单元,其在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期,将第一端口131连接到第一总线121,将第三端口133连接到第二总线122。For the linear bus network access unit, it connects the first port 131 to the first bus 121 and the third port 133 to the first scan period, second scan period, third scan period, and fourth scan period. Second bus 122.
这样做是因为,直线型总线入网单元在实际工作时就只有第一端口131和第三端口133在工作,并在正常工作时,也是第一端口131连接到第一总线121,第三端口133连接到第二总线122。这样,只要让端口与总线的连接关系按照实际使用那样设置,就能在发出的消息中,借助端口号中清楚地向该端口连接的其它总线入网单元110通知对方到底是自己的第一端口131在连接对方,还是自己的第三端口133在连接对方。This is because the linear bus network access unit has only the first port 131 and the third port 133 working in actual work, and in normal operation, the first port 131 is also connected to the first bus 121 and the third port 133. Connected to the second bus 122. In this way, as long as the connection relationship between the port and the bus is set as in actual use, in the message sent, the other bus network access unit 110 connected to the port can be clearly notified that the other party is its first port 131 by means of the port number. When connecting to the other party, the third port 133 is still connecting to the other party.
对于移载机总线入网单元,则在所述第一扫描期,将第一端口131连接到第一总线121;在所述第二扫描期,将第二端口132连接到第二总线122;在所述第三扫描期,将第三端口133连接到第二总线122;在所述第四扫描期,将第四端口134连接到第二总线122。For the transfer machine bus network unit, in the first scan period, connect the first port 131 to the first bus 121; in the second scan period, connect the second port 132 to the second bus 122; In the third scan period, the third port 133 is connected to the second bus 122; in the fourth scan period, the fourth port 134 is connected to the second bus 122.
在后续的消息接收并检测的环节中可知,第一扫描期用来识别第一端口的出入口性质,第二扫描期用来识别第二端口的出入口性质,以此类推,因此,要按照上述每个扫描期各自将一个对应的端口连接到对应的总线的方式,才能够清楚分开各端口在不同扫描期的连接状态,从而区分不同端口和端口的出入口性质。In the subsequent message reception and detection links, it can be seen that the first scan period is used to identify the nature of the entrance and exit of the first port, the second scan period is used to identify the nature of the entrance and exit of the second port, and so on. Each scan period connects a corresponding port to the corresponding bus, so that the connection status of each port in different scan periods can be clearly separated, thereby distinguishing different ports and the nature of the entrance and exit of the ports.
然后,对于上述直线型总线入网单元,利用其第一总线收发器和第二总线收发器发消息,通过与第一总线收发器和第二总线收发器连接的各端口,通知所述总线入网单元的标识、所述收发器对应的总线号、该总线连接到的端口号。Then, for the above-mentioned linear bus network access unit, use its first bus transceiver and second bus transceiver to send a message, and notify the bus network access unit through each port connected to the first bus transceiver and the second bus transceiver , The bus number corresponding to the transceiver, and the port number to which the bus is connected.
总线入网单元的标识是分配给该总线入网单元的唯一标志,它能唯一地区分该总线入网单元的标识“是谁”。在该消息中,这个标识用来通知与当前总线入网单元110连接的其它总线入网单元110,是哪个总线入网单元110的端口在连接对方。The identifier of the bus network access unit is the only identifier assigned to the bus network access unit, and it can uniquely distinguish the "who is" the identification of the bus network access unit. In the message, this identifier is used to notify other bus network access units 110 connected to the current bus network access unit 110, and which bus network access unit 110 has its port connected to the other party.
所述收发器对应的总线号是指该收发器连接的是第一总线121,还是第二总线122。例如,第一总线121可以用1表示,第二总线122可以用2表示。The bus number corresponding to the transceiver refers to whether the transceiver is connected to the first bus 121 or the second bus 122. For example, the first bus 121 may be represented by 1, and the second bus 122 may be represented by 2.
该总线连接到的端口号是指该总线连接到第一端口131、第二端口132、第三端口133、第四端口134中的哪个端口。例如,第一端口131可以用1表示,第二端口132可以用2表示,第三端口133可以用3表示,第四端口134可以用4表示。The port number to which the bus is connected refers to which of the first port 131, the second port 132, the third port 133, and the fourth port 134 is connected to. For example, the first port 131 can be represented by 1, the second port 132 can be represented by 2, the third port 133 can be represented by 3, and the fourth port 134 can be represented by 4.
对于直线型总线入网单元,由于第一端口131连接到第一总线121,第三端口133连接到第二总线122,因此,利用第一总线收发器123,通过与第一总线收发器123连接的第一端口131发消息,消息中含有所述总线入网单元的标识、总线号1(因为与第一总线收发器123连接的是第一总线121)、端口号1(因为与第一总线121连接的是第一端口131);利用第二总线收发器124,通过与第二总线收发器124连接的第三端口133发消息,通知所述总线入网单元的标识、总线号2(因为与第二总线收发器124连接的是第二总线122)、端口号3(因为与第二总线122连接的是第三端口133)。For the linear bus network access unit, since the first port 131 is connected to the first bus 121 and the third port 133 is connected to the second bus 122, the first bus transceiver 123 is used to connect to the first bus transceiver 123. The first port 131 sends a message. The message contains the identification of the bus access unit, bus number 1 (because the first bus 121 is connected to the first bus transceiver 123), and port number 1 (because it is connected to the first bus 121). Is the first port 131); the second bus transceiver 124 is used to send a message through the third port 133 connected to the second bus transceiver 124 to notify the bus access unit’s identification and bus number 2 (because it is connected to the second bus The bus transceiver 124 is connected to the second bus 122) and port number 3 (because the third port 133 is connected to the second bus 122).
对于移载机总线入网单元,在第一扫描期、第二扫描期、第三扫描期、第四扫描期,各端口与第一总线121或第二总线122的连接关系都有不同的设置方式,此时在消息中通知端口号比较困难,因此可以在消息中只通知总线入网单元的标识和总线收发器所对应的总线号,即第一总线121还是第二总线122。然后,由收到该消息的总线入网单元110向当前总线入网单元110发送一个端口查询请求,由当前总线入网单元110对这个请求进行应答,应答中表明该总线连接的端口号。另外,为了区分移载机总线入网单元还是直线型总线入网单元发出的消息,在移载机总线入网单元发出的消息中含有特定标志位,表明是移载机总线入网单元发出的消息。这样,如果是第一总线收发器123发送的消息,该消息含有所述总线入网单元的标识、总线号1、特定标志位,其中总线号1表示第一总线收发器123对应的是第一总线121,特定标志位表明是移载机总线入网单元发送的消息,例如为0。如果是第二总线收发器124发送的消息,该消息含有所述总线入网单元的标识、总线号2、特定标志位,其中总线号2表示第二总线收发器124对应的是第二总线122。For the transfer machine bus network unit, in the first scan period, second scan period, third scan period, and fourth scan period, the connection relationship between each port and the first bus 121 or the second bus 122 has different setting methods At this time, it is difficult to notify the port number in the message. Therefore, only the identification of the bus network access unit and the bus number corresponding to the bus transceiver, that is, the first bus 121 or the second bus 122 may be notified in the message. Then, the bus network access unit 110 that has received the message sends a port query request to the current bus network access unit 110, and the current bus network access unit 110 responds to this request. The response indicates the port number of the bus connection. In addition, in order to distinguish the message sent by the transfer machine bus network entry unit or the linear bus network entry unit, the message sent by the transfer machine bus network entry unit contains a specific flag bit, indicating that it is a message sent by the transfer machine bus network entry unit. In this way, if it is a message sent by the first bus transceiver 123, the message contains the identification of the bus network access unit, the bus number 1, and the specific flag bit, where the bus number 1 indicates that the first bus transceiver 123 corresponds to the first bus. 121. The specific flag bit indicates that it is a message sent by the network access unit of the transfer machine bus, for example, 0. If it is a message sent by the second bus transceiver 124, the message contains the identifier of the bus network access unit, the bus number, and the specific flag bit, where the bus number 2 indicates that the second bus transceiver 124 corresponds to the second bus 122.
以上描述了总线入网单元110发消息进行通知的过程,下面描述接收到该消息进行检测的过程。The above describes the process of the bus network access unit 110 sending a message for notification, and the following describes the process of receiving the message to perform detection.
对于总线入网单元110的一个端口,如果该端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到通知总线入网单元的标识、总线号1、端口号1的消息,则确定该端口连接到一个直线型总线入网单元,记录该总线入网单元 的标识,该待检测端口连接到该直线型总线入网单元的第一端口,且该第一端口为入口。如果该端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到通知总线入网单元的标识、总线号2、端口号3的消息,则确定该端口连接到一个直线型总线入网单元,记录该总线入网单元的标识,该端口连接到该直线型总线入网单元的第三端口,且该第三端口为出口。For a port of the bus network access unit 110, if the port receives the identification of the bus network access unit, bus number 1, port during the consecutive first scan period, second scan period, third scan period, and fourth scan period. No. 1 message, it is determined that the port is connected to a linear bus network access unit, and the identification of the bus network access unit is recorded. The port to be detected is connected to the first port of the linear bus network access unit, and the first port is the entrance . If the port receives a message notifying the identification of the bus access unit, bus number 2, port number 3 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, the port is determined Connect to a linear bus network access unit, record the identification of the bus network access unit, the port is connected to the third port of the linear bus network access unit, and the third port is an exit.
如上所述,对于直线型总线入网单元,其通知的消息中具有所述总线入网单元的标识、所述收发器对应的总线号1或2、该总线连接到的端口号1或3,没有特定标志位(如0),而对于移载机总线入网单元,其通知的消息中具有所述总线入网单元的标识、所述收发器对应的总线号1或2、和特定标志位,因此,从是否有特定标志位就能确定出连接的是一个直线型总线入网单元,还是一个移载机总线入网单元。As mentioned above, for the linear bus network access unit, the notification message has the identifier of the bus network access unit, the bus number 1 or 2 corresponding to the transceiver, and the port number 1 or 3 to which the bus is connected, and there is no specific Flag bit (such as 0), and for the transfer machine bus network unit, the notification message has the identifier of the bus network unit, the bus number 1 or 2 corresponding to the transceiver, and the specific flag bit. Therefore, from Whether there is a specific flag bit can determine whether the connection is a linear bus access unit or a loader bus access unit.
如果没有特定标志位,则连接的是一个直线型总线入网单元,可以进一步确定连接的是直线型总线入网单元的哪个端口,该端口是入口还是出口。具体地,如果接收到的是包含直线型总线入网单元的标识、总线号1、端口号1的消息,从端口号1可以确定连接的是直线型总线入网单元的第一端口131。由于第一端口131连接的是第一总线121,起到的是信号流入口的作用,因此是入口。如果接收到的是包含直线型总线入网单元的标识、总线号2、端口号3的消息,从端口号3可以确定连接的是直线型总线入网单元的第三端口133。由于第三端口133连接的是第二总线122,起到的是出口的作用,因此是出口。If there is no specific flag bit, then a linear bus network access unit is connected, and it can be further determined which port of the linear bus network access unit is connected, and whether the port is an entrance or an exit. Specifically, if the received message includes the identification of the linear bus network access unit, the bus number 1, and the port number 1, it can be determined from the port number 1 that the first port 131 of the linear bus network access unit is connected. Since the first port 131 is connected to the first bus 121 and functions as a signal flow inlet, it is an inlet. If the received message contains the identification of the linear bus network access unit, the bus number 2, and the port number 3, it can be determined from the port number 3 that the third port 133 of the linear bus network access unit is connected. Since the third port 133 is connected to the second bus 122 and functions as an outlet, it is an outlet.
由于对于直线型总线入网单元,其在第一扫描期、第二扫描期、第三扫描期、第四扫描期的端口与总线的连接状态都是一样的,因此可以在第一扫描期、第二扫描期、第三扫描期、第四扫描期中任意时间进行上述过程,但在一个实施例中,可以规定仅在第一扫描期进行上述过程,或规定在其它任意一个扫描期进行上述过程。As for the linear bus access unit, the connection status of the port and the bus in the first scan period, second scan period, third scan period, and fourth scan period are the same, so it can be used in the first scan period and the first scan period. The foregoing process is performed at any time in the second scan period, the third scan period, and the fourth scan period. However, in one embodiment, the foregoing process may be specified to be performed only in the first scan period, or the foregoing process may be specified to be performed in any other scan period.
对于总线入网单元110的一个端口,如果该端口在所述第一扫描期接收到通知总线入网单元的标识、总线号1、特定标志位的消息,则确定该端口连接到一个移载机总线入网单元,记录该总线入网单元的标识,该端口连接到该直线型总线入网单元的第一端口,且该第一端口为逻辑入口;如果该端口在所述第二扫描期接收到通知总线入网单元的标识、总线号1或2、特定标志位的消息,且发送端口查询请求后,接收到的端口号为2,记录该总线入网单元的标识,该端口连接到该直线型总线入网单元的第二端口,且在总线号1的情况下,该第二端口为逻辑出口;在总线号2的情况下,该第二端口为逻辑入口;如果该端口在所述第三扫描期接收到通知总线入网单元的标识、总线号1或2、特定标志位的消息,且发送端口查询请求后,接收到的端口号为3,记录该总线入网单元的标识,该端口连接到该直线型总线入网单元的第三端口,且在总线号1的情况下,该第三端口为出口;在总线号2的情况下,该第三端口为入口;如 果该端口在所述第四扫描期接收到通知总线入网单元的标识、总线号1或2、特定标志位的消息,且发送端口查询请求后,接收到的端口号为4,记录该总线入网单元的标识,该端口连接到该直线型总线入网单元的第四端口,且在总线号1的情况下,该第四端口为出口;在总线号2的情况下,该第四端口为入口。For a port of the bus network access unit 110, if the port receives a message informing the bus network access unit's identification, bus number 1, and specific flag bit during the first scan period, it is determined that the port is connected to a transfer machine bus network access Unit, record the identification of the bus access unit, the port is connected to the first port of the linear bus access unit, and the first port is a logical entry; if the port receives the notification bus access unit during the second scan period After the port query request is sent, the received port number is 2, record the identity of the bus access unit, and the port is connected to the first line of the linear bus access unit. Two ports, and in the case of bus number 1, the second port is a logical outlet; in the case of bus number 2, the second port is a logical inlet; if the port receives the notification bus during the third scan period The identification of the network access unit, the bus number 1 or 2, and the message of the specific flag bit, and the port number received is 3 after sending the port query request. Record the identification of the bus network access unit, and the port is connected to the linear bus network access unit In the case of bus number 1, the third port is the exit; in the case of bus number 2, the third port is the entry; if the port receives the notification bus in the fourth scan period The identification of the network access unit, the bus number 1 or 2, and the message of the specific flag bit, and the port number received is 4 after sending the port query request, record the identification of the bus network access unit, and the port is connected to the linear bus network access unit In the case of bus number 1, the fourth port is the outlet; in the case of bus number 2, the fourth port is the inlet.
上面的情况中,接收到的消息都含有特定标志位,则说明该端口连接的是一个移载机总线入网单元,接着需要分别结合四个扫描期移载机总线入网单元发消息的情况,确定连接的是移载机总线入网单元的哪个端口,该端口是入口还是出口。In the above case, the received message contains a specific flag bit, which means that the port is connected to a transfer machine bus network unit, and then it is necessary to combine the four scanning periods of the transfer machine bus network unit to send messages to determine Which port of the transfer machine bus access unit is connected, and whether the port is the entrance or the exit.
如果端口在所述第一扫描期接收到通知总线入网单元的标识、总线号1、特定标志位的消息,由于第一总线121是固定连接到第一端口131的,因此,可以不用发送查询请求而直接确定连接的是直线型总线入网单元的第一端口131。而且,由于第一端口131连接的是第一总线121,一定是控制信号的入口。If the port receives a message informing the bus network access unit’s identification, bus number, and specific flag bit during the first scan period, since the first bus 121 is fixedly connected to the first port 131, there is no need to send a query request It is directly determined that the first port 131 of the linear bus network access unit is connected. Moreover, since the first port 131 is connected to the first bus 121, it must be the entrance of the control signal.
如果端口在所述第二扫描期接收到通知总线入网单元的标识、总线号1或2、特定标志位的消息,且发送端口查询请求后,接收到的端口号为2,这时可以确定该端口连接到该直线型总线入网单元的第二端口132。在总线号1的情况下,第二端口132连接的是第一总线121,在第一总线121上,控制信号从第一端口131流入,此时一定是从第二端口132流出,因此是出口。在总线号2的情况下,第二端口132连接的是第二总线122,在第一总线122上,还没有信号流入,此时一定是从第二端口132流入,因此是入口。If the port receives a message informing the bus access unit’s identification, bus number 1 or 2, and a specific flag bit during the second scan period, and after sending a port query request, the received port number is 2, then it can be determined The port is connected to the second port 132 of the linear bus network access unit. In the case of bus number 1, the second port 132 is connected to the first bus 121. On the first bus 121, the control signal flows in from the first port 131. At this time, it must flow out from the second port 132, so it is the outlet. . In the case of bus number 2, the second port 132 is connected to the second bus 122. On the first bus 122, no signal has flowed in yet. At this time, it must be flowed in from the second port 132, so it is an entrance.
端口在所述第三、四扫描期接收到通知总线入网单元的标识、总线号1或2、特定标志位的消息后的分析过程与第二扫描期的分析过程类似,故不赘述。The analysis process after the port receives the message informing the bus access unit's identification, bus number 1 or 2 and the specific flag bit in the third and fourth scan periods is similar to the analysis process in the second scan period, so it will not be repeated.
无论是如图5A-图5B所示的所述电气控制***中多个串联的直线型总线入网单元的情况,还是如图6A-图6B所示的移载机总线入网单元各端口连接一个直线型总线入网单元,被检测的第二总线入网单元都是直线型总线入网单元。因此,结合上述过程,仅通过接收到的消息中指示的端口号就能够判定第二总线入网单元的连接端口为入口还是出口。即,如果所述第一总线入网单元在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到第二总线入网单元的指示端口号1的消息,则确定第二总线入网单元的连接端口为入口,其中,总线入网单元具有第一、第二、第三、第四端口,端口号分别为1-4;如果所述第一总线入网单元在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到第二总线入网单元的指示端口号3的消息,则确定第二总线入网单元的连接端口为出口。Whether it is the case of multiple serially connected linear bus networked units in the electrical control system shown in Figures 5A-5B, or the transfer machine bus networked unit shown in Figures 6A-6B, each port is connected to a straight line Type bus access unit, the detected second bus access unit are all linear bus access units. Therefore, in combination with the foregoing process, it is possible to determine whether the connection port of the second bus network access unit is the inlet or the outlet only by the port number indicated in the received message. That is, if the first bus network access unit receives a message indicating port number 1 from the second bus network access unit during the consecutive first scan period, second scan period, third scan period, and fourth scan period, then Determine the connection port of the second bus network access unit as the entrance, where the bus network access unit has the first, second, third, and fourth ports, and the port numbers are 1-4 respectively; if the first bus network access unit is in continuous If a message indicating the port number 3 of the second bus network access unit is received during the first scan period, the second scan period, the third scan period, and the fourth scan period, it is determined that the connection port of the second bus network access unit is an exit.
在步骤720中,根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向。In step 720, the signal flow direction in the second bus network access unit is determined according to the nature of the entrance and exit of the connection port of the second bus network access unit.
每个总线入网单元中的信号流向都是从该总线入网单元的入口流向出口。这样, 确定了第二总线入网单元的连接端口的出入口性质,就可以确定第二总线入网单元中信号流向。具体地,如果确定的第二总线入网单元的连接端口为入口,则第二总线入网单元的除该连接端口的另一个端口为出口,所述信号流向是入口流向出口,则此时信号流方向为背离所述第一总线入网单元的方向。如果确定的第二总线入网单元的连接端口为出口,则第二总线入网单元的除该连接端口的另一个端口为入口,所述信号流向是入口流向出口,则此时信号流方向为朝向所述第一总线入网单元的方向。The signal flow in each bus network unit is from the entrance to the exit of the bus network unit. In this way, the nature of the entrance and exit of the connection port of the second bus network access unit is determined, and the signal flow direction in the second bus network access unit can be determined. Specifically, if the determined connection port of the second bus network access unit is the entrance, the other port of the second bus network access unit except the connection port is the exit, and the signal flow direction is from the entrance to the exit, then the signal flow direction at this time It is a direction away from the network access unit of the first bus. If the determined connection port of the second bus network access unit is the outlet, the other port of the second bus network access unit except the connection port is the inlet, and the signal flow direction is from the inlet to the outlet, and then the signal flow direction is toward all Describe the direction of the first bus into the network unit.
假设图5A的总线入网单元B为第一总线入网单元,总线入网单元A和C为第二总线入网单元,对于总线入网单元B的第一端口131来说,通过总线入网单元A的消息检测到总线入网单元A与自己连接的是第三端口133,该第三端口133是出口,则判定总线入网单元A中的信号流向是图5A中从左到右。对于总线入网单元B的第三端口133来说,通过总线入网单元C的消息检测到总线入网单元C与自己连接的是第一端口131,该第一端口133是入口,则判定总线入网单元C中的信号流向是图5A中从左到右。Assuming that the bus network access unit B of FIG. 5A is the first bus network access unit, and the bus network access units A and C are the second bus network access units. For the first port 131 of the bus network access unit B, it is detected by the message of the bus network access unit A. The bus network access unit A is connected to the third port 133, and the third port 133 is the outlet. It is determined that the signal flow in the bus network access unit A is from left to right in FIG. 5A. For the third port 133 of the bus network access unit B, it is detected through the message of the bus network access unit C that the bus network access unit C is connected to the first port 131, and the first port 133 is an entrance, then it is determined that the bus network access unit C The signal flow in Figure 5A is from left to right.
在步骤730中,如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,输出提示信息。In step 730, if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, a prompt message is output.
输送线100的每个输送段102的输送方向是预定的,其可以通过查找输送线输送方向图获得。如图5A所示,确定出总线入网单元A、B、C内部的信号流向都是从左到右,其所在的输送段102的预定输送方向也都是从左到右,总线入网单元A、B、C连接正确。但对于图5B的总线入网单元A,内部的信号流向是从右到左,其所在的输送段102的预定输送方向是从左到右,因此连接错误,输出提示信息。The conveying direction of each conveying section 102 of the conveying line 100 is predetermined, which can be obtained by searching the conveying direction map of the conveying line. As shown in Figure 5A, it is determined that the signal flow directions inside the bus access units A, B, and C are all from left to right, and the predetermined transmission direction of the transmission section 102 where they are located is also from left to right. The bus access units A, B and C are connected correctly. However, for the bus network unit A in FIG. 5B, the internal signal flow is from right to left, and the predetermined conveying direction of the conveying section 102 where it is located is from left to right, so the connection is wrong, and a prompt message is output.
再如图6A所示,确定出总线入网单元A内部的信号流向是从左到右,其所在的输送段102的预定输送方向也是从左到右,总线入网单元A连接正确,不输出提示信息;总线入网单元C内部的信号流向是从左到右,其所在的输送段102的预定输送方向也是从左到右,总线入网单元C连接正确,不输出提示信息;总线入网单元D内部的信号流向是从上到下,其所在的输送段102的预定输送方向也是从上到下,总线入网单元D连接正确,不输出提示信息;总线入网单元E内部的信号流向是从上到下,其所在的输送段102的预定输送方向也是从上到下,总线入网单元E连接正确,不输出提示信息。而对于图6B所示的总线入网单元E,内部的信号流向是从下到上,其所在的输送段102的预定输送方向是从上到下,因此连接错误,输出提示信息。As shown in Figure 6A, it is determined that the signal flow inside the bus access unit A is from left to right, and the predetermined transmission direction of the transmission section 102 where it is located is also from left to right. The bus access unit A is connected correctly and no prompt message is output. ; The signal flow inside the bus network unit C is from left to right, and the predetermined transmission direction of the transmission section 102 where it is located is also from left to right. The bus network unit C is connected correctly and does not output prompt information; the signal inside the bus network unit D The flow direction is from top to bottom, and the predetermined transportation direction of the transmission section 102 where it is located is also from top to bottom. The bus network access unit D is connected correctly and does not output prompt information; the internal signal flow direction of the bus network access unit E is from top to bottom. The predetermined conveying direction of the conveying section 102 is also from top to bottom, the bus network access unit E is correctly connected, and no prompt information is output. For the bus network access unit E shown in FIG. 6B, the internal signal flow is from bottom to top, and the predetermined conveying direction of the conveying section 102 where it is located is from top to bottom. Therefore, the connection is wrong and a prompt message is output.
所述输出提示信息可以包括以下中的至少一项:The output prompt information may include at least one of the following:
在用于控制所述输送线电气控制***的云平台服务器显示连接错误或发出连接错误的语音提醒;The cloud platform server used to control the electrical control system of the transmission line displays a connection error or sends out a voice reminder of the connection error;
使第一总线入网单元上设置的报警灯变亮;Turn on the alarm light set on the first bus network access unit;
使第一总线入网单元上设置的扬声器发出语音提醒;Make the loudspeaker set on the first bus network access unit to give voice reminders;
使第一总线入网单元上设置的动画效果显示区上动画显示转动方向。The direction of rotation is displayed on the animation effect display area set on the network access unit of the first bus.
在第一种情况下,云平台服务器(未示)通过有线或无线连接到各输送线电气控制***,控制各电气控制***的部署和运行。当第一总线入网单元检测到连接错误时,上报云平台服务器。云平台服务器具有显示器,向云平台的工作人员显示连接错误信息,由工作人员远程控制重新部署,使错误连接的总线入网单元连接正确,或者具有扬声器,向云平台的工作人员发出连接错误的语音提示,由工作人员远程控制重新部署,使错误连接的总线入网单元连接正确,等等。In the first case, the cloud platform server (not shown) is wired or wirelessly connected to the electrical control system of each transmission line to control the deployment and operation of each electrical control system. When the first bus network access unit detects a connection error, it reports to the cloud platform server. The cloud platform server has a display to display the connection error message to the cloud platform staff, and the staff can remotely control the redeployment to make the wrongly connected bus network unit connected correctly, or have a speaker to send out the wrong connection voice to the cloud platform staff Prompt, the staff will remotely control the redeployment, so that the wrongly connected bus network unit is connected correctly, and so on.
在第二种情况下,当第一总线入网单元检测到连接错误时,不上报云平台服务器,而是在第一总线入网单元上设置有报警灯,通过使报警灯变亮提醒现场安装人员安装错误,应重新安装。In the second case, when the first bus network access unit detects a connection error, it does not report to the cloud platform server, but an alarm light is set on the first bus network access unit, and the on-site installer is reminded to install by turning the alarm light on Error and should be reinstalled.
在第三种情况下,当第一总线入网单元检测到连接错误时,在第一总线入网单元上设置有扬声器,通过扬声器发出语音提示,提醒现场安装人员安装错误,应重新安装。In the third case, when the first bus network access unit detects a connection error, a speaker is provided on the first bus network access unit, and a voice prompt is issued through the speaker to remind the on-site installer that the installation is wrong and should be reinstalled.
在第四种情况下,使第一总线入网单元上设置的动画效果显示区上动画显示转动方向。在第一总线入网单元上设置有动画效果显示区,例如一小块显示屏,或者动态效果方向灯。如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,确定将预定输送方向作为第二总线入网单元中信号流向的情况下第二总线入网单元的连接端口的出入口性质,并按照该出入口性质确定应连接到第二总线入网单元的端口号(第一、第二、第三还是第四端口),从而确定出第一总线入网单元的转动方向(应向什么方向转动才能正确连接),在动画效果显示区上动态显示。在显示屏的情况下,可以显示转动的动态效果;在动态效果方向灯的情况下,动态效果方向灯一般包括圆弧形排列的若干个小指示灯,通过顺时针或逆时针依次点亮这些小指示灯,来区分转动方向。In the fourth case, the rotation direction is displayed on the animation effect display area set on the network access unit of the first bus. An animation effect display area, such as a small display screen, or a dynamic effect direction lamp is provided on the network access unit of the first bus. If the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, determine the predetermined transmission direction as the signal flow direction of the second bus network access unit in the case of the entry and exit properties of the connection port of the second bus network access unit, and follow The nature of the entrance and exit determines the port number (first, second, third or fourth port) that should be connected to the second bus access unit, so as to determine the direction of rotation of the first bus access unit (in which direction it should be turned to connect correctly ), dynamically displayed on the animation effect display area. In the case of the display screen, the dynamic effect of rotation can be displayed; in the case of the dynamic effect direction lamp, the dynamic effect direction lamp generally includes a number of small indicators arranged in an arc shape, which are turned on by clockwise or counterclockwise. Small indicator lights to distinguish the direction of rotation.
本领域技术人员应当理解,尽管上面列举了四种输出提示信息的方式,本领域技术人员还可以构想出其它的方式,它们都属于本公开的总体构思。Those skilled in the art should understand that although the four ways of outputting prompt information are listed above, those skilled in the art can also conceive other ways, which all belong to the general concept of the present disclosure.
另外,本公开实施例中,在第一总线入网单元接收到第二总线入网单元发送的、包括第二总线入网单元的标识、连接的总线号、连接的端口号的消息后,除了判断信号流向与预定输送方向是否一致,进而决定是否输出提示信息之外,还可以将第二总线入网单元的标识、连接的总线号、连接的端口号上报云平台服务器。由于每个总线入网单元都上报与自己连接的总线入网单元的标识、连接的总线号、连接的端口号,所述云平台服务器就可以根据这些信息,生成所述电气控制***的拓扑。In addition, in the embodiment of the present disclosure, after the first bus network access unit receives the message sent by the second bus network access unit that includes the identification of the second bus network access unit, the connected bus number, and the connected port number, it will determine the direction of the signal flow. In addition to whether it is consistent with the predetermined conveying direction and determining whether to output prompt information, the identification of the second bus network access unit, the connected bus number, and the connected port number can also be reported to the cloud platform server. Since each bus network access unit reports the identification of the bus network access unit connected to itself, the connected bus number, and the connected port number, the cloud platform server can generate the topology of the electrical control system based on this information.
另外,如图8所示,根据本公开一个实施例的总线入网单元110除了包括第一总线121、第二总线122和第一到第四端口131-134之外,还包括控制器191,其中,所述 控制器根据所述第一、第二、第三和第四端口中的至少一个端口接收到的与该总线入网单元连接的第二总线入网单元的连接端口的消息,确定该连接端口的出入口性质,根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,其中,如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,输出提示信息。即,图7所示的流程图,大体上是在控制器191实现的。由于控制器191实现的步骤的具体过程在前面结合方法实施例进行了详细描述,为节约篇幅,不再赘述。In addition, as shown in FIG. 8, the bus network access unit 110 according to an embodiment of the present disclosure includes a controller 191 in addition to a first bus 121, a second bus 122, and first to fourth ports 131-134, wherein , The controller determines the connection port according to the message of the connection port of the second bus network access unit connected to the bus network access unit received by at least one of the first, second, third, and fourth ports According to the nature of the entrance and exit of the connection port of the second bus network access unit, determine the signal flow direction in the second bus network access unit, where if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, Output prompt information. That is, the flowchart shown in FIG. 7 is substantially implemented by the controller 191. Since the specific process of the steps implemented by the controller 191 has been described in detail above in conjunction with the method embodiment, in order to save space, it will not be repeated.
应该理解,本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同或相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例中描述的方法,所以描述得比较简单,相关之处参见其他实施例的部分说明即可。It should be understood that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. . In particular, for the device embodiment, since it is basically similar to the method described in the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of other embodiments.
应该理解,上述对本说明书特定实施例进行了描述。其它实施例在权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。It should be understood that the foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the claims. In some cases, the actions or steps described in the claims may be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
应该理解,本文用单数形式描述或者在附图中仅显示一个的元件并不代表将该元件的数量限于一个。此外,本文中被描述或示出为分开的模块或元件可被组合为单个模块或元件,且本文中被描述或示出为单个的模块或元件可被拆分为多个模块或元件。It should be understood that the description of an element in the singular form herein or the display of only one element in the drawings does not mean that the number of the element is limited to one. In addition, modules or elements described or shown as separate herein may be combined into a single module or element, and modules or elements described or shown herein as a single module or element may be split into multiple modules or elements.
还应理解,本文采用的术语和表述方式只是用于描述,本说明书的一个或多个实施例并不应局限于这些术语和表述。使用这些术语和表述并不意味着排除任何示意和描述(或其中部分)的等效特征,应认识到可能存在的各种修改也应包含在权利要求范围内。其他修改、变化和替换也可能存在。相应的,权利要求应视为覆盖所有这些等效物。It should also be understood that the terms and expressions used herein are only for description, and one or more embodiments of this specification should not be limited to these terms and expressions. The use of these terms and expressions does not mean to exclude any equivalent features of the illustration and description (or part of them), and it should be recognized that various modifications that may exist should also be included in the scope of the claims. Other modifications, changes and replacements may also exist. Accordingly, the claims should be regarded as covering all these equivalents.

Claims (22)

  1. 一种输送线电气控制***部署方法,其中,所述电气控制***由总线入网单元连接而成,所述方法包括:A method for deploying a transmission line electrical control system, wherein the electrical control system is connected by a bus networked unit, and the method includes:
    在部署阶段,由第一总线入网单元检测与该第一总线入网单元连接的第二总线入网单元的连接端口的出入口性质;In the deployment phase, the first bus network access unit detects the nature of the entrance and exit of the connection port of the second bus network access unit connected to the first bus network access unit;
    根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向;Determine the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit;
    如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,输出提示信息。If the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, a prompt message is output.
  2. 根据权利要求1所述的方法,其中,所述输出提示信息包括以下中的至少一项:The method according to claim 1, wherein the output prompt information includes at least one of the following:
    在用于控制所述输送线电气控制***的云平台服务器显示连接错误或发出连接错误的语音提醒;The cloud platform server used to control the electrical control system of the transmission line displays a connection error or sends out a voice reminder of the connection error;
    使第一总线入网单元上设置的报警灯变亮;Turn on the alarm light set on the first bus network access unit;
    使第一总线入网单元上设置的扬声器发出语音提醒;Make the loudspeaker set on the first bus network access unit to give voice reminders;
    使第一总线入网单元上设置的动画效果显示区上动画显示转动方向。The direction of rotation is displayed on the animation effect display area set on the network access unit of the first bus.
  3. 根据权利要求1所述的方法,其中,对于所述电气控制***中多个串联的直线型总线入网单元,让所述直线型总线入网单元依次作为所述第一总线入网单元,与该第一总线入网单元连接的其它直线型总线入网单元作为第二总线入网单元。The method according to claim 1, wherein for a plurality of linear bus network access units connected in series in the electrical control system, the linear bus network access units are sequentially used as the first bus network access unit, and the first Other linear bus network access units connected to the bus network access unit serve as the second bus network access unit.
  4. 根据权利要求1所述的方法,其中,对于所述电气控制***中的移载机总线入网单元,让该移载机总线入网单元作为所述第一总线入网单元,与该第一总线入网单元连接的直线型总线入网单元作为第二总线入网单元。The method according to claim 1, wherein for the transfer machine bus network access unit in the electrical control system, let the transfer machine bus network access unit serve as the first bus network access unit, and the first bus network access unit The connected linear bus network access unit serves as the second bus network access unit.
  5. 根据权利要求1所述的方法,其中,所述由第一总线入网单元检测与该第一总线入网单元连接的第二总线入网单元的连接端口的出入口性质,包括:The method according to claim 1, wherein the detecting, by the first bus network access unit, the nature of the entrance and exit of the connection port of the second bus network access unit connected to the first bus network access unit comprises:
    如果所述第一总线入网单元在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到第二总线入网单元的指示端口号1的消息,则确定第二总线入网单元的连接端口为入口,其中,总线入网单元具有第一、第二、第三、第四端口,端口号分别为1-4;If the first bus network access unit receives a message indicating port number 1 from the second bus network access unit during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it determines the first The connection port of the two-bus network access unit is the entrance, where the bus network access unit has first, second, third, and fourth ports, and the port numbers are 1-4 respectively;
    如果所述第一总线入网单元在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到第二总线入网单元的指示端口号3的消息,则确定第二总线入网单元的连接端口为出口。If the first bus network access unit receives a message indicating port number 3 from the second bus network access unit during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it determines the first The connection port of the two-bus network access unit is the outlet.
  6. 根据权利要求5所述的方法,其中,所述根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,包括:The method according to claim 5, wherein the determining the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit comprises:
    如果确定的第二总线入网单元的连接端口为入口,则确定所述信号流向为背离 所述第一总线入网单元的方向;If the determined connection port of the second bus network access unit is an entrance, determine that the signal flow direction is a direction away from the first bus network access unit;
    如果确定的第二总线入网单元的连接端口为出口,则确定所述信号流向为朝向所述第一总线入网单元的方向。If the determined connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the first bus network access unit.
  7. 根据权利要求5所述的方法,其中,所述第二总线入网单元的指示端口号1的消息还指示总线号为1,其中,总线入网单元具有第一总线和第二总线,总线号分别为1-2;所述第二总线入网单元的指示端口号3的消息还指示总线号为2。The method according to claim 5, wherein the message indicating the port number 1 of the second bus network access unit also indicates that the bus number is 1, wherein the bus network access unit has a first bus and a second bus, and the bus numbers are respectively 1-2; the message indicating the port number 3 of the second bus network access unit also indicates that the bus number is 2.
  8. 根据权利要求7所述的方法,其中,所述第二总线入网单元的指示端口号1的消息、指示端口号3的消息还指示第二总线入网单元的标识;The method according to claim 7, wherein the message indicating the port number 1 and the message indicating the port number 3 of the second bus network access unit further indicate the identification of the second bus network access unit;
    所述方法还包括:将所述第一总线入网单元接收到的第二总线入网单元的标识、总线号、端口号上报云平台服务器,由所述云平台服务器生成所述电气控制***的拓扑。The method further includes: reporting the identification, bus number, and port number of the second bus network access unit received by the first bus network access unit to a cloud platform server, and the cloud platform server generates the topology of the electrical control system.
  9. 根据权利要求1所述的方法,其中,所述总线入网单元是控制器局域网CAN总线入网单元。The method according to claim 1, wherein the bus network access unit is a controller area network (CAN) bus network access unit.
  10. 一种总线入网单元,包括第一、第二、第三和第四端口、和控制器,其中,所述控制器根据所述第一、第二、第三和第四端口中的至少一个端口接收到的与该总线入网单元连接的第二总线入网单元的连接端口的消息,确定该连接端口的出入口性质,根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,其中,如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,输出提示信息。A bus network access unit includes first, second, third, and fourth ports, and a controller, wherein the controller is based on at least one of the first, second, third, and fourth ports The received message of the connection port of the second bus network access unit connected to the bus network unit determines the entry and exit properties of the connection port, and determines the second bus network access unit according to the entry and exit properties of the connection port of the second bus network access unit Medium signal flow direction, wherein, if the signal flow direction is inconsistent with the predetermined transmission direction corresponding to the second bus network access unit, a prompt message is output.
  11. 根据权利要求10所述的总线入网单元,其中,所述输出提示信息包括以下中的至少一项:The bus network access unit according to claim 10, wherein the output prompt information includes at least one of the following:
    向云平台服务器发通知消息,以便所述云平台服务器显示连接错误或发出连接错误的语音提醒;Send a notification message to the cloud platform server, so that the cloud platform server displays a connection error or issues a voice reminder of the connection error;
    使该总线入网单元上设置的报警灯变亮;Make the alarm lamp set on the network access unit of the bus brighten;
    使该总线入网单元上设置的扬声器发出语音提醒;Make the loudspeaker set on the bus access unit give voice reminders;
    使该总线入网单元上设置的动画效果显示区上动画显示转动方向。Make the animation display the direction of rotation on the animation effect display area set on the network access unit of the bus.
  12. 根据权利要求10所述的总线入网单元,其中,所述总线入网单元是电气控制***中多个串联的直线型总线入网单元中的一个直线型总线入网单元,所述第二总线入网单元是与该总线入网单元连接的其它直线型总线入网单元。The bus network access unit according to claim 10, wherein the bus network access unit is one of a plurality of linear bus network access units connected in series in the electrical control system, and the second bus network access unit is connected to Other linear bus access units connected to this bus access unit.
  13. 根据权利要求10所述的总线入网单元,其中,所述总线入网单元是电气控制***中的移载机总线入网单元,所述第二总线入网单元是与该总线入网单元连接的直线型总线入网单元。The bus network access unit according to claim 10, wherein the bus network access unit is a transfer machine bus network access unit in an electric control system, and the second bus network access unit is a linear bus network access unit connected to the bus network access unit unit.
  14. 根据权利要求10所述的总线入网单元,其中,所述根据所述第一、第二、第三和第四端口中的至少一个端口接收到的与该总线入网单元连接的第二总线入网 单元的连接端口的消息,确定该连接端口的出入口性质,包括:The bus network access unit according to claim 10, wherein the second bus network access unit connected to the bus network access unit received according to at least one of the first, second, third, and fourth ports The message of the connection port determines the nature of the entrance and exit of the connection port, including:
    如果所述至少一个端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到指示端口号为1的消息,则确定第二总线入网单元的连接端口为入口,其中,总线入网单元的第一、第二、第三、第四端口的端口号分别为1-4;If the at least one port receives a message indicating that the port number is 1 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, the connection port of the second bus network access unit is determined Is an entrance, where the port numbers of the first, second, third, and fourth ports of the bus access unit are 1-4 respectively;
    如果所述至少一个端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到指示端口号为3的消息,则确定第二总线入网单元的连接端口为出口。If the at least one port receives a message indicating that the port number is 3 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, the connection port of the second bus network access unit is determined For export.
  15. 根据权利要求14所述的总线入网单元,其中,所述根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,包括:The bus network access unit according to claim 14, wherein the determining the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit comprises:
    如果确定的第二总线入网单元的连接端口为入口,则确定所述信号流向为背离所述总线入网单元的方向;If the determined connection port of the second bus network access unit is an entrance, it is determined that the signal flow direction is away from the bus network access unit;
    如果确定的第二总线入网单元的连接端口为出口,则确定所述信号流向为朝向所述总线入网单元的方向。If the determined connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the bus network access unit.
  16. 根据权利要求10所述的总线入网单元,其中,所述总线入网单元是控制器局域网CAN总线入网单元。The bus network access unit according to claim 10, wherein the bus network access unit is a controller area network (CAN) bus network access unit.
  17. 一种输送线电气控制***,包括连接的第一总线入网单元和第二总线入网单元,其中,所述第一总线入网单元和第二总线入网单元各自包括第一、第二、第三和第四端口、和控制器,其中,所述第一总线入网单元的控制器根据该第一总线入网单元的所述第一、第二、第三和第四端口中的至少一个端口接收到的第二总线入网单元的连接端口的消息,确定该连接端口的出入口性质,根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,其中,如果所述信号流向与第二总线入网单元所对应的预定输送方向不一致,输出提示信息。An electrical control system for a transmission line, comprising a connected first bus network access unit and a second bus network access unit, wherein the first bus network access unit and the second bus network access unit each include a first, a second, a third, and a second Four-port, and controller, wherein the controller of the first bus network access unit receives the first bus from at least one of the first, second, third, and fourth ports of the first bus network access unit The message of the connection port of the second bus network unit determines the nature of the entrance and exit of the connection port, and determines the signal flow direction in the second bus network unit according to the nature of the connection port of the second bus network unit. It is inconsistent with the predetermined conveying direction corresponding to the second bus network access unit, and a prompt message is output.
  18. 根据权利要求17所述的输送线电气控制***,其中,所述输出提示信息包括以下中的至少一项:The transmission line electrical control system according to claim 17, wherein the output prompt information includes at least one of the following:
    向用于控制所述输送线电气控制***的云平台服务器发通知消息,使所述云平台服务器显示连接错误或发出连接错误的语音提醒;Send a notification message to the cloud platform server used to control the electrical control system of the transmission line, so that the cloud platform server displays a connection error or issues a voice reminder of the connection error;
    使第一总线入网单元上设置的报警灯变亮;Turn on the alarm light set on the first bus network access unit;
    使第一总线入网单元上设置的扬声器发出语音提醒;Make the loudspeaker set on the first bus network access unit to give voice reminders;
    使第一总线入网单元上设置的动画效果显示区上动画显示转动方向。The direction of rotation is displayed on the animation effect display area set on the network access unit of the first bus.
  19. 根据权利要求17所述的输送线电气控制***,其中,所述第一总线入网单元是所述输送线电气控制***中多个串联的直线型总线入网单元中的一个直线型总线入网单元,所述第二总线入网单元是与该第一总线入网单元连接的其它直线型总线入网单元。The transmission line electrical control system according to claim 17, wherein the first bus network access unit is one of a plurality of serial linear bus network access units in the transmission line electrical control system, so The second bus network access unit is another linear bus network access unit connected to the first bus network access unit.
  20. 根据权利要求17所述的输送线电气控制***,其中,所述总线入网单元是 所述输送线电气控制***中的移载机总线入网单元,所述第二总线入网单元是与该第一总线入网单元连接的直线型总线入网单元。The transmission line electrical control system according to claim 17, wherein the bus network access unit is a transfer machine bus network access unit in the transmission line electrical control system, and the second bus network access unit is connected to the first bus The linear bus network access unit connected to the network access unit.
  21. 根据权利要求17所述的输送线电气控制***,其中,所述根据该第一总线入网单元的所述第一、第二、第三和第四端口中的至少一个端口接收到的第二总线入网单元的连接端口的消息,确定该连接端口的出入口性质,包括:The transmission line electrical control system according to claim 17, wherein the second bus is received by at least one of the first, second, third, and fourth ports of the network access unit according to the first bus The message of the connection port of the network access unit determines the nature of the entrance and exit of the connection port, including:
    如果所述至少一个端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到指示端口号为1的消息,则确定该连接端口为入口,其中,总线入网单元的第一、第二、第三、第四端口的端口号分别为1-4;If the at least one port receives a message indicating that the port number is 1 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it is determined that the connection port is an entrance, where: The port numbers of the first, second, third, and fourth ports of the bus access unit are 1-4 respectively;
    如果所述至少一个端口在连续的第一扫描期、第二扫描期、第三扫描期、第四扫描期的期间接收到指示端口号为3的消息,则确定该连接端口为出口。If the at least one port receives a message indicating that the port number is 3 during the consecutive first scan period, second scan period, third scan period, and fourth scan period, it is determined that the connection port is an outlet.
  22. 根据权利要求17所述的输送线电气控制***,其中,所述根据所述第二总线入网单元的连接端口的出入口性质,确定第二总线入网单元中信号流向,包括:The transmission line electrical control system according to claim 17, wherein the determining the signal flow direction in the second bus network access unit according to the nature of the entrance and exit of the connection port of the second bus network access unit comprises:
    如果确定的第二总线入网单元的连接端口为入口,则确定所述信号流向为背离所述第一总线入网单元的方向;If the determined connection port of the second bus network access unit is an entrance, determining that the signal flow direction is a direction away from the first bus network access unit;
    如果确定的第二总线入网单元的连接端口为出口,则确定所述信号流向为朝向所述第一总线入网单元的方向。If the determined connection port of the second bus network access unit is an outlet, it is determined that the signal flow direction is toward the first bus network access unit.
PCT/CN2021/099084 2020-06-17 2021-06-09 Bus network access units, conveying line electrical control system, and deployment method WO2021254224A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010553026.4A CN113296479A (en) 2020-06-17 2020-06-17 Bus network access unit, transmission line electrical control system and deployment method
CN202010553026.4 2020-06-17

Publications (1)

Publication Number Publication Date
WO2021254224A1 true WO2021254224A1 (en) 2021-12-23

Family

ID=77318622

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/099084 WO2021254224A1 (en) 2020-06-17 2021-06-09 Bus network access units, conveying line electrical control system, and deployment method

Country Status (2)

Country Link
CN (1) CN113296479A (en)
WO (1) WO2021254224A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327864B (en) * 2021-11-30 2024-01-12 苏州浪潮智能科技有限公司 BUS number distribution method, system, device and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5495585A (en) * 1992-10-16 1996-02-27 Unisys Corporation Programmable timing logic system for dual bus interface
CN101545951A (en) * 2008-03-28 2009-09-30 富士通株式会社 Scan control method, scan control circuit and apparatus
CN101646256A (en) * 2009-09-04 2010-02-10 华为技术有限公司 Method, equipment and network system for switching voice in cross wireless access technology
CN103986610A (en) * 2014-06-04 2014-08-13 珠海格力电器股份有限公司 Communication interface matching method, device and controller
CN108027792A (en) * 2015-09-10 2018-05-11 高通股份有限公司 The integrated system and method to communicate for chip chamber and chip interior nodes
CN108075954A (en) * 2016-11-16 2018-05-25 迈来芯科技有限公司 The transceiver circuit for controller LAN with improved security
US20190103988A1 (en) * 2016-03-31 2019-04-04 Jaguar Land Rover Limited Communications on vehicle data buses

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000061096A (en) * 1999-03-23 2000-10-16 김영환 Device for processing alarm in asymmetric digital subscriber line system and control method thereof
JP2001086120A (en) * 1999-09-10 2001-03-30 Matsushita Electric Ind Co Ltd Inter-network connection device and network system
TW464009U (en) * 2000-05-11 2001-11-11 Asustek Comp Inc System status lighting device embedded in the connecting port
KR101070492B1 (en) * 2009-12-21 2011-10-05 린나이코리아 주식회사 Communication port variable set method and the system of air conditioning integrated control system
US8650349B2 (en) * 2010-05-26 2014-02-11 International Business Machines Corporation Memory mapped input/output bus address range translation for virtual bridges
US8767753B2 (en) * 2011-08-26 2014-07-01 Semiconductor Components Industries, Llc System, method and device for providing network communications
CN102594643B (en) * 2012-03-12 2015-11-25 北京经纬恒润科技有限公司 A kind of Controller Area Network BUS communicating control method, Apparatus and system
DE102013201106B4 (en) * 2013-01-24 2014-12-11 Smiths Heimann Gmbh Bus node and bus system and method for identifying the bus node of the bus system
CN203133584U (en) * 2013-02-27 2013-08-14 航天科工深圳(集团)有限公司 CAN communication interface, cable monitor and cable monitoring system
CN106507241A (en) * 2015-09-04 2017-03-15 音乐集团公司 Method for determining the order of connection of the node on power-up audio-frequency bus
CN108732462B (en) * 2018-04-12 2020-02-21 华为技术有限公司 Detection device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5495585A (en) * 1992-10-16 1996-02-27 Unisys Corporation Programmable timing logic system for dual bus interface
CN101545951A (en) * 2008-03-28 2009-09-30 富士通株式会社 Scan control method, scan control circuit and apparatus
CN101646256A (en) * 2009-09-04 2010-02-10 华为技术有限公司 Method, equipment and network system for switching voice in cross wireless access technology
CN103986610A (en) * 2014-06-04 2014-08-13 珠海格力电器股份有限公司 Communication interface matching method, device and controller
CN108027792A (en) * 2015-09-10 2018-05-11 高通股份有限公司 The integrated system and method to communicate for chip chamber and chip interior nodes
US20190103988A1 (en) * 2016-03-31 2019-04-04 Jaguar Land Rover Limited Communications on vehicle data buses
CN108075954A (en) * 2016-11-16 2018-05-25 迈来芯科技有限公司 The transceiver circuit for controller LAN with improved security

Also Published As

Publication number Publication date
CN113296479A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
EP2615776B1 (en) Configuring and Optimizing a Wireless Mesh Network
US8892769B2 (en) Routing packets on a network using directed graphs
US8798084B2 (en) Increasing reliability and reducing latency in a wireless network
WO2021254224A1 (en) Bus network access units, conveying line electrical control system, and deployment method
CN101943908A (en) Wireless Andon system
CN102413567A (en) Radio communication system
CN105794151B (en) Relay and communication network
US8912917B2 (en) Monitoring module, system and method
US20070171837A1 (en) Ring-connected surveillance system with real-time backup monitoring
CN210381414U (en) Illumination control device based on wireless sensor network
CN105357040B (en) A kind of annular carries the method and system of MOST network abscission ring detection
CN101000708A (en) Radio alarm system and method based on self-organized network
JP6820172B2 (en) Alarm system
WO2021185120A1 (en) Can bus network access unit, and related network, method and apparatus
CN111431652B (en) Self-adaptive main clock competition method and system for multi-stage clock synchronization network
WO2021259234A1 (en) Linear and movable loader can bus network access unit, and related method therefor
JP2018028841A (en) Alarm system
JP7382356B2 (en) alarm system
JP3452418B2 (en) Communication system and master station and slave station used in the communication system
JP6964729B2 (en) Intergroup transfer device for alarm system
CN106028265B (en) Intelligent safety and defence system and its wireless networking method
CN205665823U (en) Electric fire watch -dog and system
CN201716850U (en) Communication control system for display device of LED panel television
TW200910830A (en) Wireless network detection and control method within a building

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21826201

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21826201

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 522441744

Country of ref document: SA