A target control method, a target control module and a signal control system
By using parallel unit control modules in the signal controller control system, receiving control instructions and controlling the circuit on and off of the signal controller, the complex problem of main and backup switching logic in the existing system is solved, and the reliability and availability of the system are improved.
Patent Information
- Application Number
- CN202210343527.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2042-03-31
AI Technical Summary
In the existing signal control system, the main and backup switching logic is complex, which increases the complexity of the system. Once the switching logic is wrong or hardware failure, it will affect the reliability and availability of the system.
The parallel unit control module is adopted to receive control instructions and control the circuit of the signal machine to be on and off, simplifying the control logic, and the signal control is realized through other modules when the unit control module fails.
It simplifies the control logic of the signal, improves the reliability and availability of the system, and avoids the problem of not being able to control the signal in time when the unit control module fails.
Smart Images

Figure CN114967508B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to signal control technology, and in particular to a target control method, a target control module and a signal control system. Background Art
[0002] There are generally two ways to control signals in a computer interlocking system. One is the traditional relay interface circuit method; the other method eliminates the relay interface circuit and uses an electronic module to directly connect to the signal.
[0003] At present, electronic module signal machines adopt a master-slave control mode, that is, one system serves as the main system to control the signal machine, and the other system serves as the backup system and switches to the backup system to exert control when the main system fails.
[0004] This method relies on the main and standby system switching logic to achieve inter-system switching, which increases the complexity of the indoor control circuit and each system processing logic. Once the switching logic is wrong or the related hardware fails, it will have an adverse impact on the reliability and availability of the system. Summary of the invention
[0005] The embodiments of the present invention provide a target control method, a target control module and a signal control system, so as to simplify the control logic of the signal and improve the reliability and availability of the signal control.
[0006] In a first aspect, an embodiment of the present invention provides a target control method, the method comprising:
[0007] Receive control instructions;
[0008] Controlling the on and off of the circuit of the signal machine in each of the unit control modules according to the control instruction through at least one unit control module;
[0009] Wherein, each of the unit control modules is connected in parallel.
[0010] In the second aspect, an embodiment of the present invention further provides a target control module, which implements the target control method described in any embodiment of the invention, including: at least two unit control modules; the input ends of each of the unit control modules are connected; and the output ends of each of the unit control modules are connected.
[0011] In a third aspect, an embodiment of the present invention further provides a signal control system, the system comprising: a signal, a logic module, and a target control module; the logic module is connected to the target control module, and the signal is connected to the target control module;
[0012] The logic module is used to communicate with the target control module, send a control instruction to the target control module to turn on or off the signal, and obtain the working status of the signal sent by the target control module;
[0013] The target control module is connected to the signal machine, and is used to receive the control instruction sent by the logic module, control the switch of the signal machine according to the control instruction, and obtain the working status of the signal machine and forward it to the logic module.
[0014] The technical solution of the embodiment of the present invention receives control instructions through at least one unit control module, and each unit control module controls the on and off of the circuit of the signal machine in each unit control module according to the received control instructions. As long as the circuit in one of the parallel unit control modules is connected, the signal machine can be controlled, which simplifies the control logic of the signal machine and avoids the inability to control the signal machine in time when a unit control module fails, thereby improving the reliability and availability of the signal machine control. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A flow chart of a target control method provided in Embodiment 1 of the present invention;
[0016] Figure 2 A flow chart of a target control method provided in Embodiment 2 of the present invention;
[0017] Figure 3 A flow chart of a target control method provided in Embodiment 3 of the present invention;
[0018] Figure 4 A flowchart of a target control method provided in Embodiment 4 of the present invention;
[0019] Figure 5 A schematic diagram of the structure of a target control device provided in Embodiment 5 of the present invention;
[0020] Figure 6 A structural schematic diagram of a unit control module provided in Embodiment 6 of the present invention;
[0021] Figure 7a FIG. 1 is a schematic diagram of the structure of a target control module provided by Embodiment 8 of the present invention;
[0022] Figure 7b FIG. 1 is a schematic diagram of the structure of a target control module provided by Embodiment 8 of the present invention;
[0023] Figure 8 Shown is a schematic structural diagram of a signal control system provided in Embodiment 9 of the present invention. DETAILED DESCRIPTION
[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0025] Embodiment 1
[0026] Figure 1 This is a flow chart of a target control method provided in the first embodiment of the present invention. This embodiment is applicable to the situation of traffic signal control. The method can be executed by a signal control device, and the device can be implemented in software and / or hardware. The device can be configured in a target control module, and the target control module can be configured in a signal control system. The method specifically includes:
[0027] S110: Receive control instructions.
[0028] The control instruction refers to an instruction for controlling the signal machine to be turned on or off. The control instruction may be issued by a logic module. The logic module may refer to a control logic circuit for controlling the signal machine to be turned on or off. The logic module may send the control instruction to the unit control module in the target control module by establishing a communication channel. The target control module refers to the entire circuit connecting the signal machine action power supply and the signal machine. The target control module includes at least one unit control module. Specifically, the target control module receives the control instruction issued by the logic module.
[0029] S120, controlling the on and off of the circuits of the signal machine in each of the unit control modules according to the control instruction through at least one unit control module, wherein the unit control modules are connected in parallel.
[0030] Among them, the unit control module refers to a group of circuits in the target control module that control the opening or closing of the signal machine. When there are multiple unit control modules, each unit control module forms a parallel relationship. According to the characteristics of the parallel circuit, the control instructions of the logic module are directly sent to each unit control module. Each unit control module realizes the on-off control of its own circuit by executing the control instructions. The unit control modules receive and execute the control instructions sent by the logic module independently. And the parallel unit control modules will form a logical "or circuit". When one of the unit control modules fails, it will not affect the final control of the signal machine.
[0031] Specifically, each unit control module controls the connection or disconnection of the loop of each unit control module by executing the control instruction sent by the logic module. Exemplarily, when there are two unit control modules in the target control module, both unit control modules can execute the control instruction and realize the on-off control of the loop in their respective modules according to the control instruction, and the execution of the control instruction sent by the logic module by one unit control module is not affected by the other unit control module.
[0032] The technical solution of the embodiment of the present invention receives control instructions through at least one unit control module, and each unit control module controls the on and off of the circuit of the signal machine in each unit control module according to the received control instructions. As long as the circuit in one of the parallel unit control modules is connected, the signal machine can be controlled, which simplifies the control logic of the signal machine and avoids the inability to control the signal machine in time when a unit control module fails, thereby improving the reliability and availability of the signal machine control.
[0033] Embodiment 2
[0034] Figure 2 A flow chart of a target control method provided for the second embodiment of the present invention. Based on the above embodiments, after controlling the on-off of the circuit of the signal machine in each unit control module, this embodiment further adds obtaining, through each unit control module, the output end current obtained by detecting the external outgoing path of the unit and the return end current obtained by detecting the external circuit of the unit; for each unit control module, comparing the output end current and the return end current of the unit control module, and calculating the difference; determining the working state and cable state of the signal machine according to the comparison results and the difference of each unit control module.
[0035] The specific method is as follows:
[0036] S210: Receive control instructions.
[0037] S220, controlling the on and off of the circuits of the signal machine in each of the unit control modules according to the control instruction through at least one unit control module, wherein the unit control modules are connected in parallel.
[0038] S230 , obtaining, through each of the unit control modules, an output end current obtained by detecting an external outgoing path of the unit and a return end current obtained by detecting an external loop of the unit.
[0039] Among them, the unit external outgoing path refers to the path between the outside of the unit control module and the signal, and the current direction is from the unit control module to the signal. The unit external outgoing path is used to connect the unit control module and the signal. The output end current refers to the current flowing in the unit external outgoing path, and the direction of the output end current is from the unit control module to the signal. The unit external loop refers to the path between the outside of the unit control module and the signal, and the current direction is from the signal to the unit control module. The unit external loop connects the unit control module and the signal. The input end current refers to the current flowing in the unit external loop, and the direction of the input end current is from the signal to the unit control module. The output end current and the input end current are obtained by the current detection unit configured on the path.
[0040] Specifically, the unit external outgoing path and the unit external loop of each unit control module are provided with a current detection unit for respectively obtaining the output end current of each unit external outgoing path and the return end current of each external unit loop.
[0041] S240 . For each of the unit control modules, compare the output terminal current and the return terminal current of the unit control module, and calculate the difference.
[0042] Among them, the unit external outgoing path and the unit external loop of each unit control module are provided with a current detection unit, which is used to obtain the output end current of each unit external outgoing path and the return end current of each external unit loop respectively. Comparing the output end current and the return end current means comparing the magnitude of the output end current with the magnitude of the return end current. The difference refers to the absolute value of the difference between the output end current and the return end current.
[0043] Specifically, a processing unit is provided in each unit control module, and the processing unit in each unit control module obtains the output end current and the return end current from the current detection unit corresponding to each unit control module, and compares and calculates the difference.
[0044] S250, determining the working state and cable state of the signal according to the comparison results and differences of the unit control modules.
[0045] The working status of the signal refers to whether the signal is working properly. The working status of the signal can include normal and broken wire, where normal means that the signal is working properly; broken wire means that the signal is faulty and not working properly. The cable status refers to whether the line connecting the unit control module and the signal is normal. The cable status can include fault and no fault, where fault means that the cable is mixed or grounded, causing the cable to be unable to transmit signals.
[0046] Specifically, the processing unit in each unit control module compares the output current and return current of the unit control module, and determines the working status of the signal and the cable status according to whether the output current and the return current are the same and whether the difference exceeds the corresponding threshold.
[0047] Exemplarily, the embodiment of the present invention includes two unit control modules, namely unit control module 1 and unit control module 2. The output current of unit control module 1 is I1, and the return current is I2. The output current of unit control module 2 is I3, and the return current is I4. Current detection unit 1, current detection unit 2, current detection unit 3 and current detection unit 4 respectively collect currents I1, I2, I3 and I4.
[0048] When judging the cable status: For unit control module 1, if I1=I2 and I1 and I2 are greater than the first threshold, it means that the cable status is fault-free. The first threshold refers to the current value of the output end current and the return end current when judging that the cable is fault-free. The first threshold can be set according to the actual situation; if I1≠I2 and the difference between I1 and I2 is greater than the second threshold, it means that the cable status is faulty. The second threshold refers to the current value of the difference between the output end current and the return end current when judging that the cable is faulty. The second threshold can be set according to the actual situation. For unit control module 2, if I3=I4 and I3 and I4 are greater than the first threshold, it means that the cable status is fault-free; if I3≠I4 and the difference between I3 and I4 is greater than the second threshold, it means that the cable status is faulty.
[0049] When judging the working state of the signal: for unit control module 1, if I1=I2 and I1 and I2 are within the first interval, it means that the working state of the signal is normal. The first interval refers to the current value interval for judging the normal working state of the signal, and the first interval can be set according to the actual situation; if I1≠I2 and the difference between I1 and I2 is greater than the third threshold, it means that the working state of the signal is broken. The third threshold refers to the current value of the difference between the output end current and the return end current when judging the working state of the signal is broken. The third threshold can be set according to the actual situation. For unit control module 2, if I3=I4 and I3 and I4 are within the first interval, it means that the working state of the signal is normal; if I3≠I4 and the difference between I3 and I4 is greater than the third threshold, it means that the working state of the signal is broken.
[0050] The technical solution of the embodiment of the present invention collects the output current and return current of each unit control module through a current detection unit, compares and calculates the difference between the output current and the return current of each unit control module, and obtains the comparison result and the conditions satisfied by the difference in combination with the corresponding threshold value, thereby determining the working state of the signal and the state of the cable. A current detection unit is added to the traditional target control module to realize fault detection of the signal and the cable. When a fault occurs in the signal or the cable, data information prompts are provided in time to improve the real-time performance of abnormal positioning.
[0051] Embodiment 3
[0052] Figure 3 A flow chart of a target control method provided for Embodiment 3 of the present invention. Based on the above embodiments, this embodiment further adds the following steps before receiving a control instruction: sequentially starting each of the unit control modules; after the newly started unit control module is started, the newly started unit control module obtains the internal outgoing current obtained by detecting the internal outgoing path of the unit and the internal loop current obtained by detecting the internal loop of the unit; obtains the number of started unit control modules; and detects whether the newly started unit control module is started normally based on the output current, return current, internal outgoing current, internal loop current and the number of the newly started unit control module.
[0053] The specific method is as follows:
[0054] S310, sequentially start the unit control modules.
[0055] Among them, sequentially starting each of the unit control modules means that each unit control module has a certain startup sequence, and each unit control module is started in sequence according to the startup sequence. Exemplarily, each unit control module can be prioritized, and the startup sequence can be arranged according to the priority; each unit control module can also be numbered, and the startup sequence can be arranged according to the number, etc. Sequential startup can be that the first unit control module is started immediately, and the subsequent unit control modules are delayed for a preset time to start, and the length of the delay time is determined by the startup sequence. Exemplarily, the first unit control module is started immediately after power-on or starts after a delay of 1 second after power-on, the second unit control module is started after a delay of 2 seconds after power-on, and the third unit control module is started after a delay of 3 seconds after power-on, and so on.
[0056] S320: After the newly started unit control module is started, the newly started unit control module obtains an internal outgoing current obtained by detecting an internal outgoing path of the unit and an internal loop current obtained by detecting an internal loop of the unit.
[0057] Among them, the newly started unit control module refers to the unit control module started in sequence, and the unit control module currently started. The internal route of the unit refers to the passage between the inside of the unit control module and the external route of the unit (or signal), and the current direction is the same as the output end current of the unit external route, and flows from the inside of the unit control module to the external route of the unit (or signal). The internal route of the unit is a component of the unit control module, which is used to connect the signal machine action power supply and the unit external route. Among them, the signal machine action power supply provides power for the unit control module. The internal route current refers to the current flowing in the internal route of the unit, and the direction of the internal route current is the direction from the inside of the unit control module to the unit external loop (or signal). The internal loop of the unit refers to the passage between the inside of the unit control module and the external loop of the unit. Its current direction is the same as the return end current of the unit external loop, and flows from the unit external loop (or signal) to the inside of the unit module. The internal loop of the unit is a component of the unit control module, which is used to connect the signal machine action power supply and the unit external loop. Internal loop current refers to the current flowing in the internal loop of the unit. The direction of the internal loop current is from the unit external loop (or signal machine) to the inside of the unit module. The internal outgoing current and the internal loop current can be obtained by the current detection unit configured on the path.
[0058] Specifically, each unit control module has a current detection unit in its internal outgoing path and internal loop. After the newly started unit control module is started, the current detection unit in the newly started unit control module obtains the internal outgoing current of the unit internal outgoing path and the internal loop current of the unit internal loop.
[0059] S330: Obtain the number of activated unit control modules.
[0060] The number of activated unit control modules refers to the number of activated unit control modules. The number of activated unit control modules can be determined according to the activation sequence of the unit control modules. For example, if the newly activated unit control module is the second activated unit control module in the sequence, the number of activated unit control modules is 1.
[0061] S340, detecting whether the new starting unit control module is started normally according to the output end current, return end current, internal forward current, internal loop current and the quantity of the new starting unit control module.
[0062] Among them, normal startup means that the newly started unit control module works normally, and the internal bypass current and internal loop current can be detected in the normally started new unit control module and are the same as those in other normally started unit control modules.
[0063] Specifically, the unit control modules are in a parallel relationship, then the internal outgoing path of each unit control module is a branch, and the external outgoing path of the unit is a main path; the internal loop of each unit control module is a branch, and the external loop of the unit is a main path. According to the current relationship between the branch and the main path in the parallel circuit, it can be determined that the sum of the internal outgoing currents of each started unit control module is equal to the output current, and the sum of the internal loop currents is equal to the return current. In this embodiment, the internal outgoing currents of each started unit control module and the newly started unit control module are the same, and the internal loop currents are the same. The number of started unit control modules can be obtained based on the proportional relationship between the internal outgoing current and the output current or the proportional relationship between the internal loop current and the return current. Exemplarily, the internal outgoing current is approximately the output current. This means that the number of activated unit control modules is 1. The internal loop current is approximately equal to the return current. This indicates that the number of started unit control modules is 2.
[0064] After the new starting unit control module is started, if the new starting unit control module is started normally, the number of the starting unit control modules changes, so that the proportional relationship between the internal outgoing current and the output end current or the proportional relationship between the internal loop current and the return end current changes accordingly. It is determined whether the new starting unit control module is started normally according to the changes in the output end current, the return end current, the internal outgoing current, the internal loop current and the number of the new starting unit control modules.
[0065] Exemplarily, there are two unit control modules, system I and system II, in the target control module. By default, system I starts first and system II starts later. System I has output terminal current I5, return terminal current I6, internal outgoing current I1, and internal loop current I2. System II has output terminal current I7, return terminal current I8, internal outgoing current I3, and internal loop current I4.
[0066] 1) System I starts first, and System II does not start. The number of started unit control modules is 0. At this time, only System I works in the target control module, and the branch current of System I should be equal to the main current, that is, I5 = I1 and I6 = I2. If this condition is met, it is considered that System I starts normally, otherwise it is considered that System I starts abnormally.
[0067] 2) After the I system starts, after a period of time (which can be set), the II system starts. The number of the started unit control modules is 1. At this time, the I system and the II system in the target control module work at the same time, and the current of each branch should be close to the main current. Right now and and If this condition is met, it is considered that the II system starts up normally, otherwise, it is considered that the II system starts up abnormally.
[0068] S350: Receive control instructions.
[0069] S360, controlling the on and off of the circuits of the signal machine in each of the unit control modules according to the control instruction through at least one unit control module, wherein the unit control modules are connected in parallel.
[0070] The technical solution of the embodiment of the present invention sets the startup sequence of each unit control module, starts each unit control module in sequence, and obtains the internal outgoing current and the internal loop current according to the current detection unit inside the newly started unit control module, thereby obtaining the number of the started unit control modules, and detects whether the newly started unit control module is started normally according to the output current, return current, internal outgoing current, internal loop current and the number of the newly started unit control module, thereby realizing the detection of the normal startup of each unit control module, timely obtaining the startup status of each unit control module and the number of the normally started unit control modules, and timely providing data information prompts when the unit control module is not started normally.
[0071] Embodiment 4
[0072] Figure 4 A flow chart of a target control method provided for Embodiment 4 of the present invention. Based on the above embodiments, this embodiment explains in detail the process of controlling the on-off of the loop of the signal machine in each of the unit control modules according to the control instruction. The process includes: determining the operating status of each of the unit control modules through each of the unit control modules; determining a follower module in the unit control modules whose operating status is online when there are at least two unit control modules whose operating status is online; sending the control instruction to other unit control modules whose operating status is online through the follower module; executing the latest control instruction received through the unit control module whose operating status is online to control the on-off of the loop of the signal machine in each of the unit control modules.
[0073] The specific method is as follows:
[0074] S410: Receive a control instruction.
[0075] S420: Determine the operating status of each of the unit control modules through each of the unit control modules.
[0076] The operation state refers to whether the unit control module is running, and the operation state may include an online state and an offline state. The online state refers to the state in which the unit control module is running. The offline state refers to the state in which the unit control module is not running.
[0077] Specifically, the operation status of each unit control module is determined according to the response of each unit control module to the control instruction.
[0078] S430: When the number of the unit control modules in the online state is at least two, determine a follower module among the unit control modules in the online state.
[0079] The following module refers to a unit control module that controls other unit control modules to execute the same control instructions as the unit control module. The following module can be determined according to actual conditions. For example, the following module can be determined according to the priority of each unit control module whose operating state is online.
[0080] Specifically, when the number of unit control modules in the online state reaches two or more, one unit control module is determined as a follower module from the unit control modules in the online state, and the other unit control modules execute the control instructions of the follower module. Exemplarily, according to the priorities of the unit control modules, the unit control module with the highest priority can be selected and set as the follower module.
[0081] S440: Send the control instruction to other unit control modules in the online running state through the follower module.
[0082] Among them, other unit control modules whose operating status is online refer to all unit control modules whose operating status is online except the follower module. Specifically, through the communication connection between each unit control module, the follower module sends the control instruction of the follower module to the unit control modules in other online states. Exemplarily, when there are two unit control modules, series I and series II, series I is the follower module by default, and the operating status of series II is online, then through the communication connection between series I and series II, series I sends the control instruction to series II.
[0083] S450, executing the latest control instruction received through the unit control module in the online operation state to control the on and off of the circuit of the signal machine in each of the unit control modules.
[0084] The latest control instruction refers to the control instruction sent by the follower module, for example, it can be the control instruction sent by the follower module for the last time. Specifically, after receiving the latest control instruction, the unit control modules in the online state except the follower module control the connection or disconnection of the circuits in their respective unit control modules according to the latest control instruction.
[0085] Exemplarily, after receiving the control instruction from system I, system II controls the on / off of the loop according to the control instruction. When the control instruction sent by the logic module received by system I changes, the new control instruction is sent to system II, and after receiving the new control instruction from system I, system II controls the on / off of the loop according to the new control instruction.
[0086] The technical solution of the embodiment of the present invention determines the operating status of each unit control module. When the number of unit control modules in the online operating status is at least two, a follower module is selected from the unit control modules in the online status. The other unit control modules in the online status execute the control instructions sent by the follower module, thereby controlling the on and off of the circuits of the signal machine in each unit control module, ensuring the consistency of the output when multiple unit control modules are all in the online status, improving the accuracy of signal machine control, avoiding multiple unit control modules controlling the signal machine based on different control instructions, resulting in abnormal control of the signal machine, and improving the control stability of the signal machine. At the same time, when a unit control module fails to communicate with the logic module, it can ensure that the unit control module obtains control instructions from other channels, thereby increasing the way in which the unit control module obtains control instructions.
[0087] On the basis of the above embodiment, the operation status of each unit control module is determined through the unit control module, including: detecting the working status of the unit control module that sends data according to the data received through the inter-module communication channel through the unit control module; and / or determining the proportional relationship between the output current and the internal output current of the unit control module, and the proportional relationship between the return current and the internal loop current of the unit control module according to the output current, return current, internal output current and internal loop current of the unit control module through the unit control module, and using them as the current proportional relationship of the unit control module; determining the operation status of each unit control module according to the current proportional relationship of the unit control module.
[0088] The inter-module communication channel refers to a channel used for communication between unit control modules. The data received by the inter-module communication channel refers to data fed back by other unit control modules on whether they are in an online state. The working state of each unit control module can be determined through the data received through the inter-module communication channel and / or the current proportional relationship of the unit control module.
[0089] Specifically, the unit control module sends data to other unit control modules through the inter-module communication channel to inquire whether they are in an online state, and judges the working state of other unit control modules according to the data fed back by other unit control modules. For example, if the data fed back by the unit control module can be received, it means that the unit control module providing the feedback data is in an online state, and the other unit control modules are in an offline state.
[0090] Specifically, the internal outgoing current and the internal loop current collected by the current detection unit in each unit control module are combined with the output current and the return current of each unit control module to establish a proportional relationship between the output current and the internal outgoing current and a proportional relationship between the return current and the internal loop current, and determine the number of unit control modules in the online state, thereby further determining the working state of each unit control module. Exemplarily, when there are three unit control modules online, the output current is three times the internal outgoing current and the return current is three times the internal loop current. When the proportional relationship between the output current of each unit control module and the internal outgoing current and the proportional relationship between the return current and the internal loop current meet this proportional relationship, it means that the working state is online.
[0091] It should be noted that the working state of the unit control module is determined through the inter-module communication channel and / or the output current, return current, internal forward current and internal loop current of the unit control module, which increases the ways to obtain the working state of the unit control module and improves the accuracy of determining the working state.
[0092] Embodiment 5
[0093] Figure 5 This is a structural schematic diagram of a target control device provided in Embodiment 5 of the present invention. The device can execute the target control method provided in the above embodiments. The device may include: a control instruction receiving module 501 and a loop on-off control module 502.
[0094] Wherein, the control instruction receiving module 501 is used to receive the control instruction;
[0095] The circuit on-off control module 502 is used to control the on-off of the circuit of the signal machine in each unit control module according to the control instruction through at least one unit control module; wherein each unit control module is connected in parallel.
[0096] The technical solution of the embodiment of the present invention receives control instructions through at least one unit control module, and each unit control module controls the on and off of the circuit of the signal machine in each unit control module according to the received control instructions. As long as the circuit in one of the parallel unit control modules is connected, the signal machine can be controlled, which simplifies the control logic of the signal machine and avoids the inability to control the signal machine in time when a unit control module fails, thereby improving the reliability and availability of the signal machine control.
[0097] The above device may optionally further include:
[0098] A unit external current acquisition module, used to acquire, through each of the unit control modules, an output end current obtained by detecting an external outgoing path of the unit and a return end current obtained by detecting an external loop of the unit;
[0099] A current comparison and calculation module, used for comparing the output terminal current and the return terminal current of each unit control module and calculating the difference;
[0100] The signal and cable status determination module is used to determine the working status of the signal and the cable status according to the comparison results and differences of each of the unit control modules.
[0101] In the above device, optionally, before receiving the control instruction, it also includes:
[0102] A unit control module starting module, used for sequentially starting each of the unit control modules;
[0103] A new start-up unit control module internal current acquisition module, used for, after the new start-up unit control module is started, the new start-up unit control module to acquire the internal outgoing current obtained by detecting the internal outgoing path of the unit and the internal loop current obtained by detecting the internal loop of the unit;
[0104] A startup quantity acquisition module is used to acquire the number of started unit control modules;
[0105] The normal startup check module is used to detect whether the new startup unit control module is started normally according to the output end current, return end current, internal outgoing current, internal loop current and the quantity of the new startup unit control module.
[0106] In the above device, optionally, the circuit on-off control module 502 includes:
[0107] An operation status determination unit, used to determine the operation status of each of the unit control modules through each of the unit control modules;
[0108] a follower module determining unit, configured to determine a follower module among the unit control modules in the online state when the number of the unit control modules in the online state is at least two;
[0109] A control instruction sending unit, used for sending the control instruction to the other unit control modules in the online running state through the follower module;
[0110] The control instruction execution unit is used to execute the latest control instruction received through the unit control module whose operating state is online, and control the on and off of the circuit of the signal machine in each of the unit control modules.
[0111] In the above device, optionally, the operation status determination unit includes:
[0112] By means of the unit control module, detecting the working state of the unit control module sending data according to the data received through the inter-module communication channel; and / or
[0113] Determine, by the unit control module, a proportional relationship between the output end current and the internal outgoing current of the unit control module, and a proportional relationship between the return end current and the internal loop current of the unit control module according to the output end current, the return end current, the internal outgoing current and the internal loop current of the unit control module, and use them as the current proportional relationship of the unit control module;
[0114] The working state of each of the unit control modules is determined according to the current proportional relationship of the unit control modules.
[0115] Embodiment 6
[0116] Figure 6 A structural diagram of a unit control module provided in Embodiment 6 of the present invention is shown in FIG. Figure 6 As shown, the unit control module includes a processor 60, a memory 61, an input device 62 and an output device 63; the number of processors 60 in the unit control module can be one or more. Figure 6 A processor 60 is taken as an example; the processor 60, the memory 61, the input device 62 and the output device 63 in the unit control module can be connected by a bus or other means, Figure 6 The example of connecting through bus is taken in the following.
[0117] The memory 61 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions and / or modules corresponding to the target control method in the embodiment of the present invention (for example, the control instruction receiving module 501 and the loop on-off control module 502). The processor 60 executes various functional applications and data processing of the unit control module by running the software programs, instructions and modules stored in the memory 61, that is, realizing the above-mentioned target control method.
[0118] The memory 61 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 61 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 61 may further include a memory remotely arranged relative to the processor 60, and these remote memories may be connected to the device / terminal / server via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0119] The input device 62 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the unit control module. The output device 63 may include a display device such as a display screen.
[0120] Embodiment 7
[0121] Embodiment 7 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute a target control method when executed by a computer processor, the method comprising:
[0122] Receive control instructions;
[0123] Controlling the on and off of the circuit of the signal machine in each of the unit control modules according to the control instruction through at least one unit control module;
[0124] Wherein, each of the unit control modules is connected in parallel.
[0125] Of course, the computer executable instructions of the storage medium provided by the embodiment of the present invention are not limited to the above-mentioned method operations, but can also perform the relevant operations in the target control method provided by any embodiment of the present invention.
[0126] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0127] It is worth noting that in the embodiment of the above-mentioned signal control device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0128] Embodiment 8
[0129] Figure 7a The figure shows a schematic diagram of the structure of a target control module provided in the eighth embodiment of the present invention. This embodiment can be applied to the control of traffic signals. The target control module can implement the target control method described in any embodiment. The target control module includes: at least two unit control modules; the input ends of each of the unit control modules are connected; and the output ends of each of the unit control modules are connected.
[0130] like Figure 7a As shown, the logic module is connected to each unit control module through a communication channel, and is used to send control instructions to each unit control module. Each unit control module is connected in parallel by connecting the input end and the output end to form a target control module. The node connected to the input end is the input connection point, and the node connected to the output end is the output connection point. The signal machine action power supply is connected to the input end of the target control module to provide power for the target control module. The output end of the target control module is connected to the signal machine, which is used to control the opening or closing of the signal machine.
[0131] The technical solution of the embodiment of the present invention receives control instructions through at least one unit control module, and each unit control module controls the on and off of the circuit of the signal machine in each unit control module according to the received control instructions. As long as the circuit in one of the parallel unit control modules is connected, the signal machine can be controlled, which simplifies the control logic of the signal machine and avoids the inability to control the signal machine in time when a unit control module fails, thereby improving the reliability and availability of the signal machine control.
[0132] Figure 7b Shown is a schematic structural diagram of a target control module provided in Embodiment 8 of the present invention.
[0133] On the basis of the above technical solution, the unit control module includes: a first current detection module and a second current detection module;
[0134] In each of the unit control modules, the output terminal connection point of the unit control module is connected to the first current detection module in the unit control module; the signal return input terminal connection point of the unit control module is connected to the second current detection module in the unit control module.
[0135] Among them, Figure 7b As shown, the first current detection module in the unit control module 1 is the current detection unit 5, which is used to detect the internal outgoing current; the second current detection module is the current detection unit 6, which is used to detect the internal loop current. The first current detection module in the unit control module 2 is the current detection unit 7, which is used to detect the internal outgoing current; the second current detection module is the current detection unit 8, which is used to detect the internal loop current. The unit control module also includes a processing unit, which is used to process the current data collected by the first current detection module and the second current collection module, so as to determine whether the signal machine or the cable is faulty.
[0136] On the basis of the above technical solution, it also includes: at least two third current detection modules and at least two fourth current detection modules; in the target control module, the output terminal connection point of each unit control module is connected in series with each third current detection module; the signal return input terminal connection point of each unit control module is connected in series with each fourth current detection module; the output terminal of the last third current detection module in the series-connected third current detection modules is determined as the output terminal of the target control module, and the input terminal of the last fourth current detection module in the series-connected fourth current detection modules is determined as the signal return input terminal of the target control module.
[0137] Each unit control module corresponds to a third current detection module and a fourth current detection module, the third current detection module is used to detect the output end current of the unit control module, and the fourth current detection module is used to detect the return end current of the unit control module. Figure 7b As shown, when there are two unit control modules, the third current detection module includes a current detection unit 1 and a current detection unit 3, which are respectively used to detect the output terminal current of the unit control module 1 and the unit control module 2; the fourth current detection module includes a current detection unit 2 and a current detection unit 4, which are respectively used to detect the return terminal current of the unit control module 1 and the unit control module 2. The third current detection modules corresponding to each unit control module are connected in series and in series with the output terminal connection point of the unit control module; the fourth current detection modules corresponding to each unit control module are connected in series and in series with the return terminal connection point of the unit control module. The processing unit in each unit control module analyzes and processes the current collected by the first current detection module, the second current detection module, the third current detection module and the fourth current detection module to determine the number of the started unit control modules and whether the unit control modules are started normally.
[0138] Based on the above technical solution, the number of the unit control modules is two.
[0139] Among them, in the prior art, the control of the signal machine usually adopts the main and standby control mode, that is, the main and standby control has two sets of unit control modules. When the system is working, one set is used as the main system for control, and the other set is used as the standby system to replace the main system for control when the main system fails. The unit control module is provided with a switching device, which is responsible for executing the inter-system switching and controlling the output of the control instructions of the main system or the standby system.
[0140] The technical solution of the embodiment of the present invention eliminates the switching device of the unit control module, supports the common output of multiple modules through a parallel input and output structure, reduces the complexity of the control circuit, simplifies the control logic of the signal, and improves the reliability and availability of the signal control.
[0141] Embodiment 9
[0142] Figure 8 The figure shows a schematic diagram of the structure of a signal control system provided by the ninth embodiment of the present invention. The present embodiment is applicable to the control of traffic signal machines. The signal control system comprises: a signal machine, a logic module, and a target control module as described in the sixth embodiment; the logic module is connected to the target control module, and the signal machine is connected to the target control module;
[0143] The logic module is used to communicate with the target control module, send a control instruction to the target control module to turn on or off the signal, and obtain the working status of the signal sent by the target control module;
[0144] The target control module is connected to the signal machine, and is used to receive the control instruction sent by the logic module, control the switch of the signal machine according to the control instruction, and obtain the working status of the signal machine and forward it to the logic module.
[0145] The technical solution of the embodiment of the present invention receives control instructions through at least one unit control module, and each unit control module controls the on and off of the circuit of the signal machine in each unit control module according to the received control instructions. As long as the circuit in one of the parallel unit control modules is connected, the signal machine can be controlled, which simplifies the control logic of the signal machine and avoids the inability to control the signal machine in time when a unit control module fails, thereby improving the reliability and availability of the signal machine control.
[0146] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A target control method, characterized in that: include: Receive control instructions; Controlling the on and off of the circuit of the signal machine in each of the unit control modules according to the control instruction through at least one unit control module; Wherein, each of the unit control modules is connected in parallel; Wherein, the control of the on and off of the circuit of the signal machine in each of the unit control modules according to the control instruction includes: Determining the operating status of each of the unit control modules through each of the unit control modules; In a case where the number of the unit control modules in the online state is at least two, determining a follower module among the unit control modules in the online state; Sending the control instruction to other unit control modules in the online running state through the follower module; Execute the latest control instruction received by the unit control module in the online state to control the on and off of the circuit of the signal machine in each of the unit control modules; Wherein, determining the operating status of each of the unit control modules through the unit control modules includes: Detecting, by the unit control module, the working state of the unit control module that sends the data according to the data received through the inter-module communication channel; and Determine, by the unit control module, a proportional relationship between the output end current and the internal outgoing current of the unit control module, and a proportional relationship between the return end current and the internal loop current of the unit control module according to the output end current, the return end current, the internal outgoing current and the internal loop current of the unit control module, and use them as the current proportional relationship of the unit control module; The working state of each of the unit control modules is determined according to the current proportional relationship of the unit control modules.
2. The method according to claim 1, characterized in that Also includes: Obtaining, through each of the unit control modules, an output end current obtained by detecting an external outgoing path of the unit and a return end current obtained by detecting an external loop of the unit; For each of the unit control modules, comparing the output terminal current and the return terminal current of the unit control module, and calculating the difference; The working state and cable state of the signal are determined according to the comparison results and differences of the unit control modules.
3. The method according to claim 1, characterized in that Before receiving the control instruction, it also includes: sequentially starting each of the unit control modules; After the newly started unit control module is started, the newly started unit control module obtains the internal outgoing current obtained by detecting the internal outgoing path of the unit and the internal loop current obtained by detecting the internal loop of the unit; Get the number of activated unit control modules; According to the output end current, return end current, internal forward current, internal loop current and the quantity of the new starting unit control module, it is detected whether the new starting unit control module is started normally.
4. A target control module, characterized in that: Implementing the target control method as described in any one of claims 1 to 3, comprising: at least two unit control modules; the input ends of each of the unit control modules are connected; and the output ends of each of the unit control modules are connected.
5. The target control module according to claim 4, characterized in that: The unit control module includes: a first current detection module and a second current detection module; In each of the unit control modules, the output terminal connection point of the unit control module is connected to the first current detection module in the unit control module; the signal return input terminal connection point of the unit control module is connected to the second current detection module in the unit control module.
6. The target control module according to claim 4, characterized in that: Also includes: at least two third current detection modules and at least two fourth current detection modules; In the target control module, the output terminal connection point of each unit control module is connected in series with each third current detection module; the signal return input terminal connection point of each unit control module is connected in series with each fourth current detection module; the output terminal of the last third current detection module in the series-connected third current detection modules is determined as the output terminal of the target control module, and the input terminal of the last fourth current detection module in the series-connected fourth current detection modules is determined as the signal return input terminal of the target control module.
7. The target control module according to any one of claims 4 to 6, characterized in that: The number of the unit control modules is two.
8. A signal control system, characterized in that: include: A signal machine, a logic module, and a target control module according to any one of claims 4 to 7; the logic module is connected to the target control module, and the signal machine is connected to the target control module; The logic module is used to communicate with the target control module, send a control instruction to the target control module to turn on or off the signal, and obtain the working status of the signal sent by the target control module; The target control module is connected to the signal machine, and is used to receive the control instruction sent by the logic module, control the switch of the signal machine according to the control instruction, and obtain the working status of the signal machine and forward it to the logic module.
Citation Information
Patent Citations
Line state detecting apparatus, and transmitter and receiver in balanced transmission system
JP2005311411A
Safety device for a motor vehicle
KR1020160083979A