Train headlight control method and logic control unit
By using logic control units to control the headlights in the train, the problems of high cost, poor flexibility and poor reliability caused by hard-wire logic control circuits are solved, and more flexible, reliable and economical headlight control is achieved.
Patent Information
- Application Number
- CN202210862797.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-20
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2042-07-20
AI Technical Summary
In the prior art, hard-wire logic control circuits are used to control train headlights, resulting in high cost, poor flexibility and poor reliability.
The logic control unit is adopted to receive control signals output from the train's headlight control system, train control system and other systems, and perform internal headlight control logic, generate control signals and transmit them to the headlights, so as to achieve flexible control of the headlights.
It reduces control costs, improves flexibility and reliability of headlight control, reduces the number of relays, reduces the failure rate, and simplifies the upgrade and transformation process of headlight control circuits.
Smart Images

Figure CN115214748B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rail transit, and particularly to a train headlight control method and a logic control unit. Background Art
[0002] At present, the external headlight control of urban rail trains generally adopts a hard-wired logic control circuit, the structure of which is as Figure 1 shown. The hard-wired logic control circuit mainly includes three parts: power supply, logic circuit, and headlight equipment. After the relay contacts on the hard-wired logic circuit form a path, the headlight control signal port is connected to the power supply, and the headlight works. A large number of relays are included in the hard-wired logic circuit, and specific control logic is realized through the series-parallel connection and energization and de-energization of the relay contacts to control the headlight.
[0003] When upgrading and transforming the traditional hard-wired logic circuit of the train, it is necessary to adjust the number of relays and wiring in the vehicle electrical cabinet. The more complex the headlight control function and logic are, the more relays are required, and the worse the flexibility is. At the same time, problems such as relay aging and contact adhesion will also affect the stability and reliability of the entire control system. The increase in the number of relays will also reduce the reliability of the control circuit, and the circuit is more likely to have problems. If we want to improve the reliability of the control circuit and use relays with lower failure rates, the hardware cost will increase. And during the operation of the vehicle, for safety reasons, the circuit generally adopts a redundant design, which makes the cost rise sharply during the process of improving the reliability of the hard-wired control circuit and upgrading and transforming.
[0004] In summary, using the existing hard-wired logic circuit to control the headlight has high costs, poor flexibility, and poor reliability. Summary of the Invention
[0005] The present invention provides a train headlight control method and a logic control unit to solve the defects of high cost, poor flexibility, and poor reliability in the prior art when using the existing hard-wired logic circuit to control the headlight, and to realize flexible and reliable control of the train headlight while reducing the control cost.
[0006] The present invention provides a train headlight control method, which is applied to a logic control unit and includes:
[0007] Receiving a first control signal output by the headlight control system of the train, a second control signal output by the train control system, and a third control signal output by a first system communicating with the train control system;
[0008] Execute the headlight control logic inside the logic control unit according to the target control signal, and generate a fourth control signal for controlling the headlights of the train according to the execution result; wherein, the target control signal includes a first control signal, or includes the second control signal and / or the third control signal, and the first control signal;
[0009] Transmit the fourth control signal to the headlights to control the headlights.
[0010] According to a train headlight control method provided by the present invention, the first control signal includes a first branch control signal output by an automatic driving activation unit in a train automatic protection system in the headlight control system, a second branch control signal output by a controller in a train direction control circuit in the headlight control system, and a third branch control signal output by a direction controller in a train automatic driving system.
[0011] According to a train headlight control method provided by the present invention,
[0012] The third control signal includes a fourth branch control signal output by a human-machine interface in the first system;
[0013] The headlights include a first headlight for emitting a first preset color light effect and a second headlight for emitting a second preset color light effect;
[0014] The step of executing the headlight control logic inside the logic control unit according to the target control signal and generating a fourth control signal for controlling the headlights of the train according to the execution result includes:
[0015] Execute the headlight control logic corresponding to the first headlight according to the second branch control signal, the third branch control signal, and the fourth branch control signal to obtain a first execution result;
[0016] Generate a fifth branch control signal for controlling the first headlight according to the first execution result;
[0017] Execute the headlight control logic corresponding to the second headlight according to the first branch control signal, the second branch control signal, the third branch control signal, and the fourth branch control signal to obtain a second execution result;
[0018] Generate a sixth branch control signal for controlling the second headlight according to the second execution result.
[0019] According to a train headlight control method provided by the present invention, after receiving a first control signal output by the train headlight control system, a second control signal output by the train control system, and a third control signal output by a first system communicating with the train control system, the method further includes:
[0020] For each of the first control signal, the second control signal, and the third control signal, in the logic control unit, look up the allocated address corresponding to each control signal;
[0021] When the allocated address corresponding to each control signal is found, update each control signal to the data memory of the logic control unit according to the allocated address.
[0022] According to a train headlight control method provided by the present invention, the method further includes:
[0023] Receive an update instruction sent by a terminal through a communication interface, and update the headlight control logic according to the update instruction.
[0024] According to a train headlight control method provided by the present invention, the method further includes:
[0025] When the train is in a debugging state or a maintenance state, send the first control signal, the second control signal, the third control signal, and a fourth control signal to the terminal through a communication interface, so that the terminal can debug or maintain the train according to the first control signal, the second control signal, the third control signal, and the fourth control signal.
[0026] The present invention also provides a logic control unit, including:
[0027] An input / output board card for receiving a first control signal output by the train headlight control system, a second control signal output by the train control system, and a third control signal output by a first system communicating with the train control system;
[0028] A main control board card for executing the headlight control logic inside the logic control unit according to a target control signal, and generating a fourth control signal for controlling the train headlight according to the execution result; wherein the target control signal includes the first control signal, or includes the second control signal and / or the third control signal, and the first control signal;
[0029] A patch board card for transmitting the fourth control signal to the headlight to control the headlight.
[0030] According to a logic control unit provided by the present invention, the input ends of the logic control unit are respectively connected to the vehicle lamp control system and the train control system, and the output end of the logic control unit is connected to the vehicle lamp;
[0031] Wherein, the vehicle lamp control system is used to output a first control signal to the logic control unit;
[0032] The train control system is used to receive a third control signal output by the first system, and transmit a second control signal output by the body of the train control system and the received third control signal to the logic control unit.
[0033] According to a logic control unit provided by the present invention, the logic control unit further includes a power supply board and a communication board;
[0034] Each board in the logic control unit is connected through a backplane;
[0035] The power supply board is connected to an external power supply. The power supply board is used to convert the power supply of the external power supply and use the converted power supply to supply power to each board in the logic control unit;
[0036] The main control board includes a logic processor and a data memory. The logic processor is used to provide the data operation function required by the logic control unit, and the data memory is used to provide the data storage function required by the logic control unit;
[0037] The communication board is used to provide a communication interface between the logic control unit and the vehicle lamp control system, and a communication interface between the logic control unit and the train control system;
[0038] The input / output board includes a listener and a self-checker. The listener is used to monitor the input / output signals of the logic control unit, and the self-checker is used to perform self-check on the input / output signals;
[0039] The plug-in board includes an input end, an output end and a dry contact;
[0040] The logic control unit is connected to the vehicle lamp through the dry contact;
[0041] The plug-in board is specifically used to receive the fourth control signal output by the main control board through the input end, and output the fourth control signal to the dry contact through the output end to control the vehicle lamp.
[0042] According to a logic control unit provided by the present invention, for each of the power board, the main control board, the communication board, and the input / output board, each board includes two groups of mutually redundant boards.
[0043] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the train headlight control method as described in any one of the above.
[0044] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the train headlight control method as described in any one of the above.
[0045] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the train headlight control method as described in any one of the above.
[0046] The train headlight control method and the logic control unit provided by the present invention receive in real time a first control signal output by the headlight control system, a second control signal output by the train control system, and a third control signal output by a first system communicating with the train control system through the logic control unit, and execute the headlight control logic inside the logic control unit according to the first control signal, the second control signal, and the third control signal to achieve flexible control of the headlights. Using the software logic inside the logic control unit to replace the hardware circuit effectively reduces the number of relays used in the traditional hard-wired control circuit, reduces the failure rate, enhances the reliability of headlight control, and through the configuration of the headlight control logic inside the logic control unit, the upgrade and transformation of the headlight control circuit can be achieved, with good flexibility and low hardware cost. At the same time, the logic control unit can jointly control the headlights in multiple ways with the headlight control system, the train control system, and the first system, and can implement more complex control logics to meet the control requirements in different operating environments, and then flexibly and reliably control the train headlights. Description of the Drawings
[0047] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0048] Figure 1 It is a flowchart of the train headlight control method provided by the prior art;
[0049] Figure 2It is a schematic flow chart of the train headlight control method provided by the present invention;
[0050] Figure 3 It is a schematic structural diagram of the connection between the logic control unit and the headlights in the train headlight control method provided by the present invention;
[0051] Figure 4 It is a schematic structural diagram of the software logic of the headlight control logic in the train headlight control method provided by the present invention;
[0052] Figure 5 It is one of the schematic structural diagrams of the logic control unit provided by the present invention;
[0053] Figure 6 It is the second schematic structural diagram of the logic control unit provided by the present invention. Detailed implementation manners
[0054] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without creative efforts shall fall within the protection scope of the present invention.
[0055] It should be noted that the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0056] In addition, unless otherwise clearly defined and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.
[0057] The headlight control methods in the prior art generally adopt hard-wired logic control circuits and do not involve the method of using a logic control unit to control the headlights. On the one hand, there are problems such as relay failure, high cost, and inconvenient maintenance. For example Figure 1As described above, if the headlight control circuit at one end of the vehicle is divided into a red light control circuit and a white light control circuit, where the red light control circuit is obtained by paralleling a first relay and a second relay, and the white light control circuit is obtained by paralleling a first relay and a third relay and then connecting them in series with a fourth relay and a fifth relay, then at least 5 relays are required for the headlight control circuit at one end of the vehicle, and at least 10 relays are required for the external headlight control circuits at both ends of the vehicle. The number of required relays is relatively large, and as the complexity of the headlight circuit increases, the number of relays also increases, and the hardware cost of headlight control also increases. On the other hand, when troubleshooting problems in the hardwired control circuit, since the historical operation data of the relays cannot be obtained, maintenance personnel need to refer to the relay indicator lights and the vehicle schematic diagram to troubleshoot and solve the problems, and the maintenance process is very inconvenient.
[0058] Therefore, in the external headlight control circuit of a rail train, in order to avoid problems such as relay failure, high cost, and inconvenient maintenance in the traditional hardwired control circuit, this application proposes a train headlight control method. In this method, based on a logic control unit, the headlight control circuit is redesigned, and software editing is used to replace the hardwired control circuit composed of relays, improving the reliability of the control circuit, reducing the number of relays, reducing the workload, and lowering the upgrade cost when logical circuit upgrade and transformation are required; when debugging and maintaining the logical control circuit, real-time train operation data can be observed through the logic control unit, and historical operation data can be obtained, improving the debugging and maintenance efficiency.
[0059] The following combines Figure 2 to describe the train headlight control method according to the embodiments of this application. The method includes the following steps:
[0060] Step 201, receiving a first control signal output by the headlight control system of the train, a second control signal output by the train control system, and a third control signal output by a first system communicating with the train control system;
[0061] It should be noted that the execution subject of this method is a logic control unit, which pre-stores various logic control programs internally. When the logic control programs are executed by the logic control unit, the train headlight control method can be realized.
[0062] The headlights are arranged outside the train's leading car and have different colors and different states, which are used to represent different operating states of the train. The number and color of the headlights are specifically set according to actual requirements. For example, white lights for lighting in the normal operating mode, red lights for indicating the train's operating state, and blue lights for indicating the running distance between the train and the vehicle in front. This embodiment does not make specific limitations on this.
[0063] Among them, the vehicle lamp control system is a system for directly controlling vehicle lamps; the train control system is a signal system for controlling trains and is a system for assisting in controlling vehicle lamps; the first system is another system that communicates with the train control system and is also a system for assisting in controlling vehicle lamps, including but not limited to a Human Machine Interface (HMI), a train traction system, a train braking system, etc., and this embodiment does not make specific limitations thereon.
[0064] The input ends of the logic control unit are respectively connected to the vehicle lamp control system and the train control system, the output end is connected to the vehicle lamp, and the train control system is connected to the first system. Among them, the connection methods include but are not limited to direct connection, indirect connection, hard-wired connection, network connection, etc., and can be specifically set according to actual needs, and this embodiment does not make specific limitations thereon.
[0065] Optionally, the logic control unit can receive the first control signal output by the vehicle lamp control system in real time through the communication interface connected to the vehicle lamp control system, and receive the second control signal output by the train control system in real time through the communication interface connected to the train control system and receive the third control signal output by the first system in real time through the communication interface connected to the train control system.
[0066] Each of the first control information, the second control signal, and the third control signal includes but is not limited to a vehicle lamp control signal and a train operation control signal, and this embodiment does not make specific limitations thereon.
[0067] Step 202, execute the vehicle lamp control logic inside the logic control unit according to the target control signal, and generate a fourth control signal for controlling the vehicle lamp of the train according to the execution result; wherein, the target control signal includes the first control signal, or includes the second control signal and / or the third control signal, and the first control signal;
[0068] Among them, the vehicle lamp control logic is pre-configured inside the logic control unit, and different control signals for the vehicle lamp can be generated according to different input signals.
[0069] Optionally, when the logic control unit receives the control signals output by the vehicle lamp control system, the train control system, and the first system, the target control signal can be determined according to the communication state between the logic control unit and the train control system.
[0070] Optionally, when the logic control unit communicates with the train control system normally, the logic control unit can obtain the second control signal and the third control signal in real time. At this time, the first control signal, and the second control signal and / or the third control signal can be used as the target control signal, that is, as the input information of the headlight control logic, and the headlight control logic is executed to generate a fourth control signal for controlling the headlight according to the execution result, so that the headlight can implement a more complex control logic without changing the existing vehicle circuit.
[0071] When the logic control unit communicates with the train control system abnormally, the logic control unit cannot obtain the second control signal and the third control signal in real time. The logic control unit can directly use the first control signal obtained in real time as the target control signal, that is, as the input information of the headlight control logic, and execute the headlight control logic to generate a fourth control signal for controlling the headlight according to the execution result, so as to control the headlight to ensure the normal control of the train headlight.
[0072] In this embodiment, the train headlight can be logically controlled according to the first control signal output by the headlight control system, or the first control signal output by the headlight control system, the second control signal output by the train control system, and the third control signal output by the first system communicating with the train control system can be jointly used for logical control, and no additional hardware cost is required, effectively improving the flexibility of the upgrade and transformation of the headlight control circuit, and improving the operation ability and flexibility of the vehicle in different scenarios.
[0073] Step 203: Transmit the fourth control signal to the headlight to control the headlight.
[0074] Optionally, after obtaining the fourth control signal, the fourth control signal can be directly transmitted to the headlight so that the headlight performs corresponding actions according to the fourth control signal;
[0075] Alternatively, the fourth control signal is transmitted to the headlight through a relay or a dry contact, etc., so as to control the headlight by controlling the contact engagement state of the relay or the dry contact.
[0076] In this embodiment, the logic control unit receives in real time the first control signal output by the vehicle lamp control system, the second control signal output by the train control system, and the third control signal output by the first system communicating with the train control system, and executes the vehicle lamp control logic inside the logic control unit according to the first control signal, the second control signal, and the third control signal to achieve flexible control of the vehicle lamp. The software logic inside the logic control unit is used to replace the hardware circuit, effectively reducing the number of relays used in the traditional hard-wired control circuit, reducing the failure rate, enhancing the reliability of the vehicle lamp control, and through configuring the vehicle lamp control logic inside the logic control unit, the upgrade and transformation of the vehicle lamp control circuit can be realized, with good flexibility and low hardware cost. At the same time, the logic control unit can jointly control the vehicle lamp with the vehicle lamp control system, the train control system, and the first system, perform various fusion controls on the vehicle lamp, and can realize more complex control logic to adapt to the control requirements in different operating environments, and then flexibly and reliably control the train vehicle lamp.
[0077] In some embodiments, the first control signal includes the first branch control signal output by the automatic driving activation unit in the automatic train protection system in the vehicle lamp control system, the second branch control signal output by the controller in the train direction control circuit in the vehicle lamp control system, and the third branch control signal output by the direction controller in the automatic train driving system.
[0078] Among them, the vehicle lamp control system includes the automatic driving activation unit of the automatic train protection system and the train direction control circuit; the train direction control circuit includes a controller and a direction controller in the automatic train driving system;
[0079] Correspondingly, the first control signal includes the first branch control signal output by the automatic driving activation unit of ATP (Automatic Train Protection), the second branch control signal output by the controller in the train direction control circuit, and the third branch control output by the direction controller in the automatic driving system;
[0080] When controlling the vehicle lamp, directly receive the first branch control signal, the second branch control signal, and the third branch control in the first control signal, as well as the second control signal and the third control signal through the communication interface, and then control the train vehicle lamp. This can not only greatly reduce the number of relays in the circuit, reduce the occupied space of the vehicle, and make the vehicle wiring more concise; but also perform fusion control on the vehicle lamp by combining multiple control signals, improving the accuracy and reliability of the vehicle lamp control.
[0081] In some embodiments, the third control signal includes a fourth branch control signal output by the human-machine interface in the first system; the vehicle lamp includes a first vehicle lamp for emitting a first preset color light effect and a second vehicle lamp for emitting a second preset color light effect; the vehicle lamp control logic inside the logic control unit is executed according to the target control signal, and according to the execution result, a fourth control signal for controlling the vehicle lamp of the train is generated, including: according to the second branch control signal, the third branch control signal, and the fourth branch control signal, executing the vehicle lamp control logic corresponding to the first vehicle lamp to obtain a first execution result; according to the first execution result, generating a fifth branch control signal for controlling the first vehicle lamp; according to the first branch control signal, the second branch control signal, the third branch control signal, and the fourth branch control signal, executing the vehicle lamp control logic corresponding to the second vehicle lamp to obtain a second execution result; according to the second execution result, generating a sixth branch control signal for controlling the second vehicle lamp.
[0082] Wherein, the first preset color light effect is a red light effect, and the second preset light effect is a white light effect;
[0083] The vehicle lamp includes a first vehicle lamp for emitting a red light effect and a second vehicle lamp for emitting a white light effect;
[0084] The output end of the logic control unit is respectively connected to the first vehicle lamp and the second vehicle lamp for controlling the first vehicle lamp and the second vehicle lamp.
[0085] The first system includes a human-machine interface; the human-machine interface communicates with the train control system.
[0086] The third control signal includes a fourth branch signal output by the human-machine interface.
[0087] Optionally, the vehicle lamp control steps in step 202 specifically include:
[0088] Through the communication interface, obtaining a first branch control signal output by the automatic driving activation unit, a second branch control signal output by the controller, a third branch control signal of the direction controller in the train automatic driving system, and a fourth control signal output by the human-machine interface;
[0089] Combining the second branch control signal output by the controller, the third branch control signal of the direction controller in the train automatic driving system, and the fourth control signal output by the human-machine interface, executing the vehicle lamp control logic of the first vehicle lamp to output a fifth branch control signal for controlling the first vehicle lamp, so as to realize the control of the first vehicle lamp.
[0090] Meanwhile, execute the headlight control logic of the second headlight based on the first branch control signal output by the combined autonomous driving activation unit, the second branch control signal output by the controller, the third branch control signal of the direction controller in the train autonomous driving system, and the fourth control signal output by the human-machine interface, so as to output the sixth branch control signal for controlling the second headlight; realize the control of the second headlight.
[0091] Taking the headlight control at the first end of the train as an example, the train headlight control method in this embodiment will be described below;
[0092] As Figure 3 shown, the input signals of the logic control unit include the first control signal output by the headlight control system. Among them, the first control signal includes the air switch signal IN1, the first-end forward signal IN2, the first-end occupancy signal IN3, the first-end FAM (Fully automatic driving mode) activation signal IN4, the second-end FAM activation signal IN5, and the first-end handle backward signal IN6;
[0093] Among them, the first-end forward signal IN2 is a signal for controlling the train to move forward output by the controller at the first end or a signal for controlling the train to move forward output by the direction controller in the train autonomous driving system;
[0094] The first-end occupancy signal IN3 is an activation signal output by the controller at the first end or an activation signal output by the direction controller in the train autonomous driving system;
[0095] The first-end FAM activation signal IN4 is a control signal output by the autonomous driving activation unit set at the first end;
[0096] The second-end FAM activation signal IN5 is a control signal output by the autonomous driving activation unit set at the second end;
[0097] The first-end handle backward signal IN6 is a control signal output when the controller at the first end moves backward.
[0098] The fourth branch control signal output by the human-machine interface includes the human-machine interface signal HMI_in1 in parallel with the control logic of the first headlight and the human-machine interface signal HMI_in2 in parallel with the control logic of the second headlight;
[0099] The fourth signal output by the logic control unit includes the fifth branch control signal OUT_1 for controlling the first headlight and the sixth branch control signal OUT_2 for controlling the second headlight.
[0100] As Figure 4As shown, after obtaining the air switch signal IN1, the one - end forward signal IN2, the one - end occupancy signal IN3, the one - end FAM activation signal IN4, the two - end FAM activation signal IN5, and the one - end handle backward signal IN6, the headlight control logic corresponding to the first headlight can be executed according to the air switch signal IN1, the one - end forward signal IN2, the one - end occupancy signal IN3, and the human - machine interface signal HM1_in1, and the fifth branch control signal OUT_1 is output to control the first headlight;
[0101] Among them, the steps of executing the headlight control logic corresponding to the first headlight are specifically: after paralleling the one - end forward signal IN2 and the one - end occupancy signal IN3, paralleling them with the human - machine interface signal HMI_in1 to output the fifth branch control signal OUT_1.
[0102] Meanwhile, according to the one - end forward signal IN2, the one - end FAM activation signal IN4, the two - end FAM activation signal IN5, the one - end handle backward signal IN6, and the human - machine interface signal HM1_in2, the headlight control logic corresponding to the second headlight can be executed, and the sixth branch control signal OUT_2 is output to control the second headlight.
[0103] The steps of executing the headlight control logic corresponding to the second headlight are specifically: after paralleling the one - end forward signal IN2 and the one - end handle backward signal IN6, connecting them in series with the one - end FAM activation signal IN4 and the two - end FAM activation signal IN5, and then paralleling them with HMI_in2 to output the fifth branch control signal OUT_2.
[0104] If directly implementing the above - mentioned headlight control logic in the existing hard - wire manner, at least 6 relays are required for the headlight control process at the one - end of the train, and at least 12 relays are required for the external headlight control circuits at both ends of the whole vehicle, resulting in high control costs.
[0105] In this embodiment, the logic control unit is used to replace the headlight hard - wire relay control circuit, which can reduce the cost of the headlight control circuit, reduce the vehicle wiring and the number of relays, improve the reliability, and reduce the failure rate; and by jointly controlling the headlight with the control signal output by the human - machine interface and the control signal output by the headlight control system, the headlight control method is made more flexible and reliable, improving the flexibility of the headlight control circuit upgrade and transformation, and improving the operation ability of the vehicle in different scenarios.
[0106] In some embodiments, after receiving the first control signal output by the headlight control system of the train, the second control signal output by the train control system, and the third control signal output by the first system communicating with the train control system, the method further includes: for each of the first control signal, the second control signal, and the third control signal, in the logic control unit, looking up the allocated address corresponding to each control signal; in the case where the allocated address corresponding to each control signal is found, updating each control signal to the data memory of the logic control unit according to the allocated address.
[0107] Wherein, the allocated address is the storage address allocated for different control signals in the data memory of the logic control unit; different control signals correspond to different allocated addresses.
[0108] Optionally, the specific steps of controlling the headlights by the logic control unit include: in the first stage, real-time collecting the first control signal output by the headlight control system of the train, the second control signal output by the train control system, and the third control signal output by the first system communicating with the train control system;
[0109] In the second stage, when the first control signal, the second control signal, and the third control signal are collected, for each of the first control signal, the second control signal, and the third control signal, in the logic control unit, looking up the allocated address corresponding to the control signal, so as to update the input address status of the logic control unit according to the allocated address corresponding to the control signal, including updating the hardwired input address status (the input address status of the first control signal) and the network input address status (the input address status of the second control signal and the third control signal), and updating the control signal to the data memory of the logic control unit according to the allocated address;
[0110] In the third stage, combining the internally stored control signals and the headlight control logic to generate an output signal;
[0111] In the fourth stage, updating the output address status according to the output signal to output the output signal to the headlights, and the headlights update their status according to the corresponding output signal. At the same time, relevant control signals, namely the first control signal, the second control signal, the third control signal, and the fourth control signal, can be sent to the train control system through the communication interface. At this time, one control cycle of the logic control unit is completed.
[0112] During the entire operation of the train, the logic control unit can operate periodically according to a preset period to achieve periodic control of the headlights.
[0113] In this embodiment, different control signals are separately stored through different allocated addresses, which can effectively avoid the interference between control signals output by different systems, thereby ensuring the reliability and accuracy of headlight control.
[0114] In some embodiments, the method further includes: receiving an update instruction sent by a terminal through a communication interface, and updating the headlight control logic according to the update instruction.
[0115] Optionally, the terminal is connected to the logic control unit through a communication interface;
[0116] Before the train runs, the logic control unit communicates with the terminal through a network cable, and obtains the headlight control logic for controlling the headlights in real time through the communication interface to update the internal headlight control logic thereof;
[0117] During the train operation, it is default that the terminal is disconnected from the logic control unit; in special cases, such as when it is necessary to update the headlight control logic inside the logic control unit, a connection can be re-established with the logic control unit.
[0118] In this embodiment, only through the communication interface can the headlight control logic inside the logic control unit be updated in real time, which is not only simple to operate, but also can reduce the hardware cost brought by the transformation of the number and wiring of relays during the upgrade and transformation of the hardware circuit.
[0119] In some embodiments, the method further includes: when the train is in a debugging state or a maintenance state, sending the first control signal, the second control signal, the third control signal, and the fourth control signal to the terminal through the communication interface for the terminal to debug or maintain the train according to the first control signal, the second control signal, the third control signal, and the fourth control signal.
[0120] Optionally, when the train needs to be debugged or maintained, the terminal can communicate with the logic control unit through a network cable, and obtain the real-time data and historical data of the first control signal, the second control signal, the third control signal, and the fourth control signal sent by the logic control unit in real time through the communication interface, and display these data through the headlight control software for maintenance personnel to directly debug and maintain the train conveniently and accurately according to these data.
[0121] Compared with the prior art, when repairing a hard-wired control circuit problem, since the historical operation data of the relay cannot be obtained, maintenance personnel need to refer to the relay indicator light and the vehicle schematic diagram to troubleshoot and solve the problem, and the repair process is very inconvenient.
[0122] In this embodiment, the real-time operation state and historical operation data of the train can be obtained in the logic control unit, which can reduce the difficulty of debugging, maintenance and repair of the control circuit, improve the efficiency, greatly improve the debugging and maintenance efficiency, reduce the debugging and maintenance time, reduce the operation and upgrade costs, and facilitate debugging and maintenance.
[0123] The logic control unit provided by the present invention will be described below. The logic control unit described below can be correspondingly referred to the train headlight control method described above.
[0124] As Figure 5 shown, a logic control unit provided in this embodiment includes an input / output board 501, a main control board 502, and a wiring board 503.
[0125] Among them, the input / output board 501 is used to receive a first control signal output by the train headlight control system, a second control signal output by the train control system, and a third control signal output by a first system communicating with the train control system.
[0126] Among them, the headlight control system is a system that directly controls the headlights; the train control system is a signal system that controls the train and is a system that assists in controlling the headlights; the first system is a first system that communicates with the train control system and is also a system that assists in controlling the headlights, including but not limited to a human-machine interface, a train traction system, and a train braking system, etc. This embodiment does not make specific limitations on this.
[0127] The input end of the logic control unit is respectively connected to the headlight control system and the train control system, the output end is connected to the headlights, and the train control system is connected to the first system. Among them, the connection methods include but are not limited to direct connection, indirect connection, and hard-wired connection and network connection, etc., and can be specifically set according to actual needs. This embodiment does not make specific limitations on this.
[0128] Optionally, the input / output board of the logic control unit can receive the first control signal output by the headlight control system in real time through the communication board of the logic control unit, receive the second control signal output by the train control system in real time, and receive the third control signal output by the first system in real time.
[0129] Each of the first control information, the second control signal, and the third control signal includes but is not limited to a headlight control signal and a train operation control signal. This embodiment does not make specific limitations on this.
[0130] The main control board 502 is used to execute the headlight control logic inside the logic control unit according to the target control signal, and generate a fourth control signal for controlling the headlights of the train according to the execution result; wherein, the target control signal includes the first control signal, or includes the second control signal and / or the third control signal, and the first control signal.
[0131] Among them, the headlight control logic is pre-configured inside the main control board of the logic control unit, and different control signals for the headlights can be generated according to different input signals.
[0132] Optionally, when the input / output board receives the control signals output by the headlight control system, the train control system, and the first system, the target control signal can be determined according to the communication status between the logic control unit and the train control system.
[0133] Optionally, when the logic control unit communicates normally with the train control system, the input / output board can obtain the second control signal and the third control signal in real time. At this time, the first control signal, and the second control signal and / or the third control signal can be used as the target control signal, that is, as the input information of the main control board, and the headlight control logic is executed to generate a fourth control signal for controlling the headlights according to the execution result, so that the headlights can achieve more complex control logic without changing the existing vehicle circuit.
[0134] In the case of abnormal communication between the logic control unit and the train control system, the input / output board of the logic control unit cannot obtain the second control signal and the third control signal in real time. The main control board of the logic control unit can directly use the first control signal obtained in real time as the target control signal, that is, as the input information of the headlight control logic, and execute the headlight control logic to generate a fourth control signal for controlling the headlights to control the headlights to ensure the normal control of the train headlights.
[0135] In this embodiment, the train headlights can be logically controlled according to the first control signal output by the headlight control system, or the first control signal output by the headlight control system, the second control signal output by the train control system, and the third control signal output by the first system communicating with the train control system can be jointly used for logical control, and no additional hardware cost is required, effectively improving the flexibility of the upgrade and transformation of the headlight control circuit, and improving the operation ability and flexibility of the vehicle in different scenarios.
[0136] The wiring board 503 is used to transmit the fourth control signal to the headlights to control the headlights.
[0137] Optionally, after obtaining the fourth control signal output by the main control board card, the patch panel card 503 can directly transmit the fourth control signal to the vehicle lamp, so that the vehicle lamp performs corresponding actions according to the fourth control signal;
[0138] Alternatively, the fourth control signal is transmitted to the vehicle lamp through a relay or a dry contact, etc., so as to control the vehicle lamp by controlling the contact engagement state of the relay or the dry contact.
[0139] In this embodiment, the logic control unit receives in real time the first control signal output by the vehicle lamp control system, the second control signal output by the train control system, and the third control signal output by the first system communicating with the train control system, and executes the vehicle lamp control logic inside the logic control unit according to the first control signal, the second control signal and the third control signal, so as to realize flexible control of the vehicle lamp. Using the software logic inside the logic control unit to replace the hardware circuit effectively reduces the number of relays used in the traditional hard-wired control circuit, reduces the failure rate, enhances the reliability of the vehicle lamp control, and by configuring the vehicle lamp control logic inside the logic control unit, the upgrade and transformation of the vehicle lamp control circuit can be realized, with good flexibility and low hardware cost; at the same time, the logic control unit can jointly control the vehicle lamp with the vehicle lamp control system, the train control system and the first system, perform various fusion controls on the vehicle lamp, and can realize more complex control logics to adapt to the control requirements in different operating environments, and then flexibly and reliably control the train vehicle lamp.
[0140] In some embodiments, the vehicle lamp control system includes an automatic train protection system's automatic driving activation unit and a train direction control circuit; the train direction control circuit includes a controller and a direction controller in the train automatic driving system; the first control signal includes a first branch control signal output by the automatic driving activation unit, a second branch control signal output by the controller, and a third branch control signal output by the direction controller in the train automatic driving system.
[0141] In some embodiments, the first system includes a human-machine interface; the third control signal includes a fourth branch control signal output by the human-machine interface; the vehicle lamp includes a first vehicle lamp for emitting a first preset color light effect and a second vehicle lamp for emitting a second preset color light effect;
[0142] The main control module is specifically configured to: execute the headlight control logic corresponding to the first headlight according to the second branch control signal, the third branch control signal, and the fourth branch control signal, to obtain a first execution result; generate a fifth branch control signal for controlling the first headlight according to the first execution result; execute the headlight control logic corresponding to the second headlight according to the first branch control signal, the second branch control signal, the third branch control signal, and the fourth branch control signal, to obtain a second execution result; generate a sixth branch control signal for controlling the second headlight according to the second execution result.
[0143] In some embodiments, the main control module is further configured to: for each of the first control signal, the second control signal, and the third control signal, look up the allocated address corresponding to each control signal in the logic control unit; in the case where the allocated address corresponding to each control signal is found, update each control signal to the data memory of the logic control unit according to the allocated address.
[0144] In some embodiments, the main control module is further configured to: receive an update instruction sent by a terminal through a communication interface, and update the headlight control logic according to the update instruction.
[0145] In some embodiments, the main control module is further configured to: when the train is in a debugging state or a maintenance state, send the first control signal, the second control signal, the third control signal, and the fourth control signal to the terminal through a communication interface, so that the terminal debugs or maintains the train according to the first control signal, the second control signal, the third control signal, and the fourth control signal.
[0146] In some embodiments, the input end of the logic control unit is respectively connected to the headlight control system and the train control system, and the output end of the logic control unit is connected to the headlight; wherein, the headlight control system is used to output a first control signal; the train control system is used to receive the third control signal output by the first system, and transmit the second control signal output by the train control system itself and the received third control signal to the logic control unit.
[0147] As Figure 3 shown, the input end of the logic control unit is respectively connected to the air switch for safety protection of the logic control unit, the automatic driving activation unit, the controller, and the direction controller in the train automatic driving system of the headlight control system; and is connected to the train control system, for receiving the first control signal output by the headlight control system, the second control signal output by the train control system itself, and the received third control signal.
[0148] In this embodiment, the logic control unit is connected to the vehicle lamp control system and the train control system, so that the first control signal output by the vehicle lamp control system, the second control signal output by the train control system, and the third control signal output by the first system can be obtained in real time. Furthermore, the train vehicle lamps are integrally controlled by combining the first control signal, the second control signal, and the third control signal, which can effectively improve the accuracy of vehicle lamp control and reduce the cost of hardware deployment.
[0149] In some embodiments, the logic control unit further includes a power supply board and a communication board; each board in the logic control unit is connected through a backplane; the power supply board is connected to an external power supply, and the power supply board is configured to convert the power supply of the external power supply and use the converted power supply to supply power to each board in the logic control unit; the main control board includes a logic processor and a data memory, the logic processor is configured to provide the data operation function required by the logic control unit, and the data memory is configured to provide the data storage function required by the logic control unit; the communication board is configured to provide a communication interface between the logic control unit and the vehicle lamp control system, and a communication interface between the logic control unit and the train control system; the input / output board includes a monitor and a self-checker, the monitor is configured to monitor the input / output signals of the logic control unit, and the self-checker is configured to perform self-check on the input / output signals; the patch board includes an input end, an output end, and a dry contact; the logic control unit is connected to the vehicle lamp through the dry contact; the patch board is specifically configured to receive the fourth control signal output by the main control board through the input end, and output the fourth control signal to the dry contact through the output end to control the vehicle lamp.
[0150] As Figure 6 described, the logic control unit includes a power supply board 505, a main control board 502, a communication board 504, an input / output board 501, and a patch board 503;
[0151] Among them, the power supply board 505 is connected to an external power supply, and is configured to convert the power supply of the external power supply, and is connected to other boards through a backplane to convert the external power supply into an internal applicable power supply format, and use the converted power supply to supply power to other boards in the logic control unit. Among them, the voltage of the external power supply can be set according to actual requirements, such as 110 volts of direct current.
[0152] The main control board 502 includes a logic processor and a data memory, which are used to execute the headlight control logic on the received first control signal, second control signal, and third control signal through the logic processor to generate a fourth control signal for controlling the headlight, so as to control the headlight; and store the received first control signal, second control signal, third control signal, and fourth control signal through the data memory for the terminal to obtain the control signal in real time, and then debug and repair the train.
[0153] The communication board 504 is used to provide a communication interface between the logic control unit and the headlight control system, and a communication interface between the logic control unit and the train control system, so as to realize network communication between the logic control unit and the headlight control system, and between the logic control unit and the train control system, and then realize data interaction.
[0154] The input / output board 501 includes a listener and a self-checker, which are used to monitor the input / output signals of the logic control unit through the listener, and self-check the input / output signals through the self-checker. When the input / output signals pass the self-check, they are stored in the data memory to ensure the security of the input / output data.
[0155] The wiring board 503 is used for external wiring of the headlight, including a hard wire input terminal IN, an output terminal OUT, and a dry contact; the fourth control signal output by the main control board is received through the input terminal, and the fourth control signal is output to the dry contact through the output terminal to control the headlight to update its state according to the state of the dry contact.
[0156] It should be noted that the boards in the logic control unit are connected through a backplane to realize internal data sharing between the boards.
[0157] In this embodiment, by setting a power board, a main control board, a communication board, an input / output board, and a wiring board in the logic control unit, various software logic controls of the headlight can be realized, effectively reducing the hardware cost and hardware interference caused by deploying relays in the hard wire control circuit, and effectively improving the flexibility and reliability of the logic control.
[0158] In some embodiments, for each of the power board, the main control board, the communication board, and the input / output board, each board includes two groups of mutually redundant boards.
[0159] Optionally, in order to ensure the reliability of the logic control unit during the headlight control process, in this embodiment, each of the power board, the main control board, the communication board, and the input / output board adopts two groups of mutually redundant boards.
[0160] Among them, one group of board cards serves as the primary board cards, and the other group serves as the backup board cards; in the event of a failure of the primary board cards, the backup board cards can be switched to the primary board cards in real time to ensure the operational stability and reliability of the logic control unit, thereby improving the reliability of headlight control and ensuring the safety of vehicle driving.
[0161] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or equivalently replace some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A train headlight control method is applied to a logic control unit. Characterized in that, It includes: Receiving a first control signal output by the train headlight control system of the train, a second control signal output by the train control system, and a third control signal output by a first system communicating with the train control system; Executing the headlight control logic inside the logic control unit according to the target control signal, and generating a fourth control signal for controlling the headlights of the train according to the execution result; wherein, the target control signal includes the first control signal, or includes the second control signal and / or the third control signal, and the first control signal, and the target control signal is determined according to the communication state between the logic control unit and the train control system; Transmitting the fourth control signal to the headlights to control the headlights; The first control signal includes a first branch control signal output by the automatic driving activation unit of the train automatic protection system in the headlight control system, a second branch control signal output by the controller of the train direction control circuit in the headlight control system, and a third branch control signal output by the direction controller in the train automatic driving system; The third control signal includes a fourth branch control signal output by the human-machine interface in the first system; The headlights include a first headlight for emitting a first preset color light effect and a second headlight for emitting a second preset color light effect; The step of executing the headlight control logic inside the logic control unit according to the target control signal and generating a fourth control signal for controlling the headlights of the train according to the execution result includes: Executing the headlight control logic corresponding to the first headlight according to the second branch control signal, the third branch control signal, and the fourth branch control signal to obtain a first execution result; Generating a fifth branch control signal for controlling the first headlight according to the first execution result; Executing the headlight control logic corresponding to the second headlight according to the first branch control signal, the second branch control signal, the third branch control signal, and the fourth branch control signal to obtain a second execution result; Generating a sixth branch control signal for controlling the second headlight according to the second execution result.
2. The train headlight control method according to claim 1, Characterized in that, After receiving the first control signal output by the train headlight control system of the train, the second control signal output by the train control system, and the third control signal output by a first system communicating with the train control system, the method further includes: For each of the first control signal, the second control signal, and the third control signal, searching for the allocated address corresponding to each control signal in the logic control unit; When the allocated address corresponding to each control signal is found, updating each control signal to the data memory of the logic control unit according to the allocated address.
3. The train headlight control method according to claim 1, Characterized in that, The method further includes: Receive an update instruction sent by a terminal through a communication interface, and update the headlight control logic according to the update instruction.
4. The train headlight control method according to claim 1, wherein, the method further includes: When the train is in a debugging state or a maintenance state, send the first control signal, the second control signal, the third control signal, and the fourth control signal to the terminal through the communication interface, so that the terminal can debug or maintain the train according to the first control signal, the second control signal, the third control signal, and the fourth control signal.
5. A logic control unit, wherein, it includes: An input / output board card for receiving the first control signal output by the train's headlight control system, the second control signal output by the train control system, and the third control signal output by the first system communicating with the train control system; A main control board card for executing the headlight control logic inside the logic control unit according to the target control signal, and generating a fourth control signal for controlling the train's headlights according to the execution result; wherein, the target control signal includes the first control signal, or includes the second control signal and / or the third control signal, and the first control signal, and the target control signal is determined according to the communication state between the logic control unit and the train control system; A patch board card for transmitting the fourth control signal to the headlight to control the headlight; The first control signal includes the first branch control signal output by the automatic driving activation unit of the train automatic protection system in the headlight control system, the second branch control signal output by the controller of the train direction control circuit in the headlight control system, and the third branch control signal output by the direction controller in the train automatic driving system; The third control signal includes the fourth branch control signal output by the human-machine interface in the first system; The headlight includes a first headlight for emitting a first preset color light effect and a second headlight for emitting a second preset color light effect; The main control board card is specifically used for: Execute the headlight control logic corresponding to the first headlight according to the second branch control signal, the third branch control signal, and the fourth branch control signal to obtain a first execution result; Generate a fifth branch control signal for controlling the first headlight according to the first execution result; Execute the headlight control logic corresponding to the second headlight according to the first branch control signal, the second branch control signal, the third branch control signal, and the fourth branch control signal to obtain a second execution result; Generate a sixth branch control signal for controlling the second headlight according to the second execution result.
6. The logic control unit according to claim 5, wherein, The input end of the logic control unit is respectively connected to the headlight control system and the train control system, and the output end of the logic control unit is connected to the headlight; wherein, the headlight control system is used to output a first control signal to the logic control unit; The train control system is configured to receive the third control signal output by the first system, and transmit the second control signal output by the train control system itself and the received third control signal to the logic control unit.
7. The logic control unit according to claim 5, wherein, the logic control unit further includes a power supply board and a communication board; each board in the logic control unit is connected through a backplane; the power supply board is connected to an external power supply, and the power supply board is configured to convert the power supply of the external power supply and use the converted power supply to supply power to each board in the logic control unit; the main control board includes a logic processor and a data memory, the logic processor is configured to provide the data operation function required by the logic control unit, and the data memory is configured to provide the data storage function required by the logic control unit; the communication board is configured to provide a communication interface between the logic control unit and the headlight control system, and a communication interface between the logic control unit and the train control system; the input / output board includes a monitor and a self-checker, the monitor is configured to monitor the input / output signals of the logic control unit, and the self-checker is configured to perform self-check on the input / output signals; the patch board includes an input terminal, an output terminal and a dry contact; the logic control unit is connected to the headlight through the dry contact; the patch board is specifically configured to receive the fourth control signal output by the main control board through the input terminal, and output the fourth control signal to the dry contact through the output terminal to control the headlight.
8. The logic control unit according to claim 7, wherein, for each of the power supply board, the main control board, the communication board, and the input / output board, each board includes two mutually redundant sets of boards.
Citation Information
Patent Citations
Control system, external lighting system, rail vehicle, control method and terminal
CN113038671A
Railway vehicle lamp body control circuit and railway vehicle
CN216886704U