Self-takeover air conditioner controller for rail transit vehicle

Through FPGA monitoring and taking over the ARM status of the high-speed rail air conditioner controller, the unreliability problem of the air conditioner system in the ARM failure is solved, the self-takeover function is realized in the ARM failure, and the safety and reliability of the air conditioner system are improved.

CN119037489AActive Publication Date: 2024-11-29SHIJIAZHUANG GUOXIANG TRANSPORTATION EQUIP CO LTD

Patent Information

Application Number
CN202411414569.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2024-11-29
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

Due to complex logic processing and lack of redundant backup, the high-speed rail air conditioner controller cannot start when the ARM software fails, and requires manual disposal by professionals, which is inefficient in processing efficiency and insufficient reliability.

Method used

Design a self-controlled air conditioner controller, use FPGA to monitor the operating status of ARM. When the ARM fails, the FPGA takes over the air conditioner unit control and performs corresponding actions according to the preset truth table to ensure that the air conditioner has basic ventilation and refrigeration system. Warm function and exit takeover when ARM returns to normal.

Benefits of technology

No additional air conditioning controller is required, which enables FPGA monitoring and taking over the working condition of ARM, improving the safety and reliability of the air conditioning system, ensuring that the air conditioning system can still provide basic ventilation, cooling and heating functions when the ARM fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119037489A_ABST
    Figure CN119037489A_ABST
Patent Text Reader

Abstract

The invention provides a self-takeover air conditioner controller for a rail transit vehicle, and relates to the technical field of rail transit vehicle air conditioners, the self-takeover air conditioner controller comprises an ARM controller and an FPGA, the ARM continuously sends PWM square wave signals to the outside through an I / O pin, the FPGA monitors the running state of the ARM through the PWM square wave signals, if the ARM runs abnormally, the FPGA takes over air conditioning unit control, and if the ARM runs abnormally, the FPGA takes over air conditioning unit control. Executing corresponding actions according to the designed truth table; and when the PWM is normal, taking-over is quitted. By the adoption of the scheme, an additional air conditioner controller does not need to be added, fine adjustment is conducted on the basis of original software and hardware, the working state of the ARM can be monitored by the FGPA, when the ARM breaks down, the FPGA arranged on the air conditioner controller takes over the ARM to control the air conditioner unit, it is guaranteed that the air conditioner system has the basic ventilation, refrigeration and heating capacity, and the air conditioner system is safe and reliable. And the safety and the reliability of the air conditioning system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of rail transit vehicle air conditioning, and in particular to a self-piloted air conditioning controller for rail transit vehicles. Background Art

[0002] The current rail transit vehicles, especially high-speed trains, have a closed environment that places high demands on the reliability and safety of air-conditioning control. When an abnormality occurs in the air-conditioning controller software and the air-conditioning fails to work, personnel with certain professional capabilities are required to reset the air-conditioning controller or manually control the air-conditioning operation. This processing efficiency is low and the probability of processing errors is high.

[0003] Generally, the high-speed rail air conditioning controller is composed of ARM+FPGA, as disclosed in the Chinese patent application number 201910981397.X, in which ARM is responsible for logic operation control and communication, and FPGA receives ARM's instructions and is responsible for driving external input and output. This framework makes full use of ARM's computing power to achieve complex logical judgments, and uses FPGA's programmable, low latency, parallel multi-tasking, and rich interfaces to achieve high concurrency and real-time processing, and realize precise control of the high-speed rail air conditioning system.

[0004] When ARM stops working due to software or hardware failure, FPGA stops all outputs to ensure the safety of the unit components, but the air-conditioning unit is in a shutdown state and cannot provide ventilation, cooling and heating functions for the high-speed rail carriage.

[0005] Since the high-speed rail air-conditioning controller has complex functions and involves complex logic processing and communication, the probability of software failure is relatively high. When the high-speed rail air-conditioning cannot be started due to ARM software failure, manual operation by personnel with certain professional knowledge is required.

[0006] Since all control logic of high-speed rail air conditioners is implemented in ARM software and there is no redundant backup function, reliability cannot be effectively guaranteed.

[0007] Japanese patent application document with application number 2005-275113 discloses an air conditioning controller, which automatically controls the air conditioning device when operating automatically, and stops the operation of the compressor when detecting information from the protection information input circuit; equipped with a backup air conditioning controller, when the air conditioning controller detects an abnormality in itself, the air conditioning controller notifies the backup air conditioning controller of the abnormal information, and the backup air conditioning controller is an air conditioning control device, wherein, when receiving the abnormal information notification, the air conditioning device is controlled by a manual operation circuit. This method requires the configuration of an additional air conditioning control device, manual control, and requires the operator to be more professional, which is not suitable for application in rail transit vehicles. Summary of the invention

[0008] The purpose of the present invention is to provide a self-takeover air-conditioning controller for rail transit vehicles, in which FPGA can take over the control of the air-conditioning unit when ARM works abnormally, to ensure that the air-conditioning has basic ventilation, cooling and heating capabilities, and to improve the safety and reliability of the air-conditioning system.

[0009] The present invention proposes the following technical solutions to achieve the purpose of the invention: a self-takeover air-conditioning controller for rail transit vehicles, including an ARM controller and an FPGA, the ARM is connected to the FPGA, the FPGA is connected to an external signal and an air-conditioning unit, the FPGA collects external signals and uploads them to the ARM, receives ARM instructions, and issues control instructions to the air-conditioning unit; the ARM continuously sends PWM square wave signals to the outside through I / O pins, the FPGA monitors the operating status of the ARM through the PWM square wave signal, if the ARM operates abnormally, the FPGA takes over the control of the air-conditioning unit and executes corresponding actions according to a designed truth table; when the PWM is normal, the takeover is exited.

[0010] Furthermore, the external signal includes a cooling signal, a heating signal and a protection signal, and the air conditioning unit includes a condensing fan, a compressor, an electric heater, an air valve, a ventilator, a waste exhaust valve, a fresh air valve and a return air valve.

[0011] Furthermore, the FPGA is connected to an I / O pin of the ARM that sends a PWM square wave signal to the outside, and the FPGA determines that the ARM is operating abnormally by determining that the PWM square wave signal is abnormal.

[0012] Furthermore, the I / O pin of the ARM that sends a PWM square wave signal to the outside is connected to a watchdog chip, the output of the watchdog chip is connected to an input of a NAND gate, another input of the NAND gate is connected to a fire signal, the output of the NAND gate is connected to the FPGA, and the FPGA determines the operating status of the ARM through the output of the NAND gate.

[0013] FPGA monitors the working status of ARM in real time, and FPGA determines its own working status based on the results obtained.

[0014] Beneficial effect: By adopting the scheme proposed in the present invention, there is no need to add an additional air-conditioning controller. Minor adjustments can be made on the basis of the original software and hardware to realize FGPA monitoring of the working status of ARM. When ARM fails, the FPGA configured by the air-conditioning controller itself takes over ARM to control the air-conditioning unit, realizing self-takeover of the air-conditioning controller, ensuring that the air-conditioning system has basic ventilation, cooling and heating capabilities, and improving the safety and reliability of the air-conditioning system. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 is a schematic diagram of an embodiment of the present invention, Figure 2 It is a schematic diagram of another embodiment of the present invention. DETAILED DESCRIPTION

[0016] The present invention proposes a self-controllable air-conditioning controller for rail transit vehicles, comprising an ARM controller and a FPGA, wherein the ARM is connected to the FPGA, and the FPGA is connected to an external signal and an air-conditioning unit.

[0017] External signals include but are not limited to refrigeration temperature switch signals, heating temperature switch signals, fire signals and protection signals. Protection signals include but are not limited to ventilator temperature protection signals, ventilator overload protection signals, condensing fan temperature protection signals, condensing fan overload protection signals, compressor pressure protection signals and electric heating temperature protection signals; air-conditioning units include but are not limited to condensing fans, compressors, electric heaters, air valves, ventilators, waste exhaust valves, fresh air valves and return air valves.

[0018] Under normal conditions, FPGA collects signals and uploads them to ARM. ARM comprehensively judges the operating conditions of the vehicle and the air-conditioning unit, and sends control instructions to the air-conditioning unit through FPGA to control the operating conditions of the condensing fan, compressor, electric heating, air valve, ventilator, waste exhaust valve, fresh air valve and return air valve, thereby realizing control of the air-conditioning unit.

[0019] ARM always sends PWM square wave signals to the outside through I / O pins. When ARM works normally, the signal always exists. When ARM has software or hardware failure, ARM will stop outputting the signal.

[0020] FPGA monitors the operating status of ARM by directly or indirectly detecting PWM square wave signals. If ARM operates abnormally, FPGA takes over the control of the air-conditioning unit and performs corresponding actions and protection functions according to the specified truth table.

[0021] The PWM square wave signal sent by ARM can be used as a feeding signal to the watchdog chip. The FPGA is connected to the output of the watchdog chip and indirectly monitors the operating status of ARM through the PWM square wave signal.

[0022] The present invention proposes two embodiments.

[0023] Example 1: See Figure 1 FPGA is connected to the I / O pin of the ARM that sends the PWM square wave signal to the outside. FPGA directly determines whether the PWM square wave signal is normal to determine whether the ARM is running abnormally. When the output of the pin does not change between high and low, and is continuously high or continuously low, it is determined that the ARM is running abnormally.

[0024] Example 2: See Figure 2The I / O pin through which ARM sends a PWM square wave signal to the outside is connected to the watchdog chip, the output of the watchdog chip is connected to the input of the NAND gate, the other input of the NAND gate is connected to the fire signal, the output of the NAND gate is connected to the FPGA, and the FPGA determines the operating status of ARM through the output of the NAND gate.

[0025] In this embodiment, the output of the watchdog chip has no effect on ARM, that is, after the watchdog chip detects an abnormality in ARM, it only starts an external action, such as a takeover action of the FPGA, and does not restart ARM.

[0026] When the ARM function is normal, the ARM chip outputs the WatchDogOut signal (i.e., PWM square wave signal) to the watchdog chip, and the watchdog chip abnormal output (ERR_OUT) outputs a high level; when the ARM function is abnormal, that is, when the WatchDogOut signal is normally high or normally low, the watchdog chip abnormal output (ERR_OUT) is triggered to output a low level.

[0027] The abnormal output pin (ERR_OUT) signal of the watchdog chip is connected to the NAND gate, and the fire signal is connected to the other input end of the NAND gate. After NAND calculation, the Safety OUT1_0 signal is output.

[0028] When there is no fire, the fire signal is high level. At this time, when the watchdog signal (WatchDogOut) is normal, the abnormal output (ERR_OUT) signal output is high level, and the output Safety OUT1_0 signal after non-calculation is low level. When the watchdog signal (WatchDogOut) is abnormal, the abnormal output (ERR_OUT) signal output is low level, and the output SafetyOUT1_0 signal after non-calculation is high level.

[0029] When a fire occurs, the fire signal is at a low level. At this time, regardless of whether the watchdog signal (WatchDogOut) is normal or not, that is, regardless of whether the abnormal output (ERR_OUT) signal is high or low, the Safety OUT1_0 signal output is at a high level.

[0030] In summary, when a fire occurs, that is, the fire signal is at a low level, or when there is no fire and the ARM chip is abnormal, the abnormality is triggered, that is, the Safety OUT1_0 signal outputs a high level.

[0031] When a fire occurs and the fire signal is low, the air conditioning system needs to stop working to ensure safety. When the NAND gate Safety OUT1_0 signal outputs a high level, the transistor drives the relay to close, and a DC24V or DC110V signal can be output to the controller's external interface to notify the vehicle air conditioning controller of a fault, or to drive the air conditioning unit components to perform certain actions.

[0032] Safety OUT1_0 is connected to the GPIO of FPGA. FPGA can use this signal to judge the working status of ARM. When Safety OUT1_0 is at a low level, FPGA is controlled by ARM communication. When Safety OUT1_0 is at a high level, FPAG judges that ARM is abnormal and no longer receives communication control from ARM. FPGA takes over the control of the air-conditioning unit through the cooling temperature switch, heating temperature switch, fire signal, and various protection signals to control the ventilator, condensing fan, compressor, electric heating, air valve, etc. to perform corresponding actions. The action logic is executed according to the attached truth table.

[0033] When the equipment detects or manually operates the air-conditioning unit, it is not desirable for the air-conditioning controller to control the action of the air-conditioning unit. In this regard, the present invention further proposes that: the FPGA is also connected to an enable signal, and when the enable signal is valid, the FPGA monitors the operating state of the ARM, and if the ARM operates abnormally, the FPGA takes over the control of the air-conditioning unit and executes corresponding actions and protection functions according to the specified truth table; when the enable signal is invalid, the FPGA does not act.

[0034] When ARM returns to normal, it will continue to send PWM square wave signals to the outside. At this time, FPGA can detect that PWM has returned to normal through the direct connection pin, or the watchdog chip detects that PWM is normal and sends a signal to FPGA through the NAND gate. After FPGA detects that PWM is normal, it can exit the takeover and enter the normal state, collect external signals and upload them to ARM, receive ARM instructions, and send control instructions to the air conditioning unit.

[0035] When the air conditioning controller is operating normally, ARM is responsible for all logical judgments and issues commands to control the operation of the air conditioning unit. As the requirements for the riding environment become higher and higher, the factors to be considered and the control commands are very complex, such as vehicle speed, vehicle external environment, vehicle internal temperature, humidity, occupancy density, air quality, energy saving, etc. The commands include the opening of each valve, the control of the operating status of each component, etc.

[0036] When FPGA takes over the control of the air-conditioning unit, it can copy the control function of ARM and achieve indiscriminate takeover. However, generally speaking, the computing power of FPGA is weak, and it is difficult to complete complex logical judgments.

[0037] The present invention proposes a truth table, which includes input items and output items.

[0038] Input items are divided into two types: input control and protection control. Input control is used to determine the output point demand state, and protection control is used to limit whether the output point can output. The output points correspond to various components. When the input control is high level, it means that the corresponding function needs to be turned on, and when it is low level, it means that the corresponding function needs to be turned off. When the protection control is high level, it means that the corresponding component functions normally, and when it is low level, it means that the corresponding component functions abnormally and needs to be protected and is not allowed to start.

[0039] The output item is output control, that is, a control level is given to each output point. A high level 1 represents that the relay of the corresponding component is energized, and a low level 0 represents that the relay of the corresponding component is disconnected.

[0040] The design of the truth table is one of the keys to the present invention. According to the definition of the truth table, FPGA ensures the operation of the air conditioning system and creates a more comfortable environment for passengers; avoids damage to the components of the air conditioning system; the control logic is relatively simple, and no complex judgment is required when using it; if possible, exhaustively list all the output items corresponding to the input items to generate a complete table, and when using it, FGPA can look up the table to obtain the output items.

[0041] Design principles of truth table: 1. The front-end and rear-end relationship of the air-conditioning unit components is: the ventilator is the front-end device of the condensing fan, the ventilator is the front-end device of the compressor, the ventilator is the front-end device of the electric heater, and the condensing fan is the front-end device of the compressor. Only when at least one of the front-end devices is operating normally can the rear-end devices be started.

[0042] 2. The compressor and liquid pipe valve start and stop at the same time.

[0043] 3. The delay from each shutdown to restart of the compressor shall not be less than 3 minutes.

[0044] The following table is a part of the truth table designed according to a specific air conditioning unit. In this embodiment, the air conditioning unit corresponding to the truth table includes 4 ventilators, 2 sets of condensing fans, a compressor, a liquid pipe valve, 4 electric heaters, and exhaust valves, return air valves, fresh air valves and other components.

[0045] In this embodiment, there are two compressors in the air conditioning unit, which are operated alternately during cooling, and each compressor operates for half an hour. If one of them fails, it will not switch.

[0046] In the table, the first 4 items are normal conditions and no components require protection.

[0047] In the table, the first row is cooling. In this case, compressor CPK1, compressor CPK2, liquid pipe valve CPK1-LSV1, and liquid pipe valve CPK2-LSV2 are first stopped for 3 seconds (low level for 3 seconds), and then switch between 1 0 1 0 and 0 1 0 1 every half hour.

[0048] In cooling mode, the conditions for starting compressor XS3-B4 are: the fan overload protection XS5-A2 and XS5-A3 do not fail at the same time, and the condensing fan temperature protection XS7-A6 and XS7-A7 do not fail at the same time, and the compressor pressure protection XS7-A13 does not fail; the conditions for starting compressor XS3-B5 are: the fan overload protection XS5-A4 and XS5-A5 do not fail at the same time, and the condensing fan temperature protection XS7-A2 and XS7-A3 do not fail at the same time. The condition for starting the condensing fan XS3-A5 is that the fan overload protection XS5-A2 and XS5-A3 do not fail at the same time, and the condensing fan temperature protection XS7-A6 and XS7-A2 do not fail at the same time; the condition for starting the condensing fan XS3-B1 is that the fan overload protection XS5-A4 and XS5-A5 do not fail at the same time, and the condensing fan temperature protection XS7-A7 and XS7-A3 do not fail at the same time.

[0049] In heating mode, the conditions for starting electric heating XS2-A4 are: the fan overload protection XS5-A2 is not faulty, and the electric heating temperature protection XS7-B5 is not faulty, and the electric heating temperature protection XS7-A11 is not faulty; the conditions for starting electric heating XS2-B8 are: the fan overload protection XS5-A3 is not faulty, and the electric heating temperature protection XS7-B5 is not faulty, and the electric heating temperature protection XS7-A11 is not faulty; the conditions for starting electric heating XS2-A5 are: the fan overload protection XS5-A4 is not faulty, and the electric heating temperature protection XS7-B6 is not faulty, and the electric heating temperature protection XS7-A12 is not faulty; the conditions for starting electric heating XS2-B9 are: the fan overload protection XS5-A5 is not faulty, and the electric heating temperature protection XS7-B6 is not faulty, and the electric heating temperature protection XS7-A12 is not faulty.

[0050] In the truth table, item 5 and following give some of the situations where the component needs to be protected, and the “×” in the table represents any input.

[0051] The overload protection of the ventilator limits the start of the corresponding ventilator (for example, when the EFTCB11 ventilator is overloaded, the corresponding EFK11 ventilator is not allowed to start), the temperature protection and overload protection of the condensing fan limits the start of the corresponding condensing fan (for example, when EFT1 is protected, the corresponding CFK1L is not allowed to start), the pressure protection of the compressor limits the start of the corresponding compressor (for example, when HLP1 is protected, the corresponding compressor CPK1 is not allowed to start), and the temperature protection of the electric heater limits the start of the corresponding electric heater (for example, when EHOTT11 is protected, the corresponding electric heaters HTK11 and HTK12 are not allowed to start).

[0052] When the cooling signal is high and the heating signal is low, that is, the cooling signal and the heating signal are 10, it is the cooling state; when the cooling signal is low and the heating signal is high, that is, the cooling signal and the heating signal are 01, it is the heating state; when the cooling signal and the heating signal are high or low at the same time, that is, the cooling signal and the heating signal are 00 and 11, it is the ventilation state, and only the ventilator is allowed to start.

[0053] According to the configuration of the air-conditioning unit, a truth table is designed based on the above principles and written into the FPGA. After the FPGA takes over the control of the air-conditioning unit, it calculates or looks up the table to obtain the output control of each component of the air-conditioning unit according to the real-time changing input control and protection control, and sends the output control signal to the air-conditioning unit. The mainboard of the air-conditioning unit receives the instructions of the FGPA and controls the actions of each component.

[0054] FPGA control strategy: Calculation: First, determine which output points need to output based on the input control, and then determine whether the corresponding output points are restricted by protection control. Restricted output points are not allowed to output.

[0055] Table lookup: Based on the values ​​of input control and protection control, the value of output control is obtained by table lookup.

[0056] FPGA can also be connected to a fire signal. When the level of the fire signal is 0, that is, a fire occurs, the FPGA sends an output control signal to shut down the air conditioning unit to protect the safety of the equipment.

[0057]

Claims

1. A self-controllable air-conditioning controller for rail transit vehicles, comprising an ARM controller and an FPGA, wherein the ARM is connected to the FPGA, the FPGA is connected to an external signal and an air-conditioning unit, the FPGA collects external signals and uploads them to the ARM, receives ARM instructions, and issues control instructions to the air-conditioning unit. Features: The ARM continuously sends PWM square wave signals to the outside through the I / O pins, and the FPGA monitors the operating status of the ARM through the PWM square wave signals. If the ARM operates abnormally, the FPGA takes over the control of the air-conditioning unit and executes corresponding actions according to the designed truth table; when the PWM is normal, the FPGA exits the takeover.

2. The air conditioning controller according to claim 1, characterized in that: The external signal includes a cooling signal, a heating signal and a protection signal, and the air conditioning unit includes a ventilator, a condensing fan, a compressor, a liquid pipe valve, an electric heater, and an air valve.

3. The air conditioning controller according to claim 1, characterized in that: The FPGA is connected to the I / O pin of the ARM for sending a PWM square wave signal to the outside, and the FPGA determines that the ARM is operating abnormally by determining the abnormality of the PWM square wave signal.

4. The air conditioning controller according to claim 1, characterized in that: The I / O pin of the ARM that sends a PWM square wave signal to the outside is connected to a watchdog chip, the output of the watchdog chip is connected to the input end of a NAND gate, another input end of the NAND gate is connected to a fire signal, the output end of the NAND gate is connected to the FPGA, and the FPGA determines the operating status of the ARM through the output of the NAND gate.

5. The air conditioning controller according to any one of claims 1 to 4, characterized in that: The FPGA is also connected to an enable signal. When the enable signal is valid, the FPGA monitors the operating status of ARM. If ARM operates abnormally, the FPGA takes over the control of the air-conditioning unit and performs corresponding actions and protection functions according to the specified truth table; when the enable signal is invalid, the FPGA does not act.

6. The air conditioning controller according to claim 5, characterized in that: The truth table includes input control, protection control and output control; The input control includes level values ​​of cooling signal and heating signal; The protection control is the level value of the protection signal, and the protection signal includes ventilator overload protection, condensing fan temperature protection, condensing fan overload protection, compressor pressure protection and electric heating temperature protection; After the FPGA takes over the control of the air conditioning unit, it calculates or looks up the table to obtain the output control of each component of the air conditioning unit according to the real-time changing input control and protection control, and sends the output control signal to the air conditioning unit; The output control includes control level values ​​of the ventilator, condensing fan, compressor, liquid pipe valve, electric heater, and air valve. A level value of 1 indicates that the corresponding component is turned on, and 0 indicates that the corresponding component is turned off.

7. The air conditioning controller according to claim 6, characterized in that: When designing the truth table, follow the following principles: The ventilator is the front-end equipment of the condensing fan, compressor and electric heater. The condensing fan is the front-end equipment of the compressor. Only when at least one of the front-end equipment is operating normally can the rear-end equipment be started. The compressor and liquid pipe valve are started and stopped simultaneously; The delay from compressor shutdown to restarting shall not be less than 3 minutes each time.

8. The air conditioning controller according to claim 7, characterized in that: If the air conditioning unit has two compressors, they will run alternately during cooling, with each compressor running for half an hour.

9. The air conditioning controller according to claim 6, characterized in that: When the cooling signal and heating signal are 10, it is in cooling state, 01 is in heating state, and 00 and 11 are in ventilation state.

10. The air conditioning controller according to claim 6, characterized in that: The external signal also includes a fire signal; when the level value of the fire signal is 0, the FPGA sends an output control signal to shut down the air conditioning unit.

Citation Information

Patent Citations

  • Power supply control method for electric locomotives and trains, device and system

    CN102555811A

  • Rail transit air conditioner control device and control method and system thereof

    CN112550330A

  • Multi-system air conditioner dispatching method and device and air conditioner

    CN114322262A

  • Locomotive intelligent control device based on dual-network redundancy

    CN115525015A

  • Air conditioner controller

    CN202032703U

Cited By

  • Air conditioner control system for realizing safety control based on FPGA (Field Programmable Gate Array)

    CN120135232A

  • An air conditioning control system with safety control based on FPGA

    CN120135232B