A power-off protection circuit for vehicle-mounted PIS broadcast master control
By designing a power-off protection circuit for the onboard PIS broadcast main control, and utilizing the MAX38889 chip and supercapacitor unit, the problem of functional interruption and data loss in the train PA main control circuit during power failure was solved. This achieved power supply redundancy and data protection, improving the stability of train operation and passenger experience.
Patent Information
- Application Number
- CN202522092559.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2035-09-29
AI Technical Summary
The existing train PA main control circuit lacks power redundancy design, which leads to function interruption and data loss when the main power supply fails, affecting operational efficiency and passenger experience. In addition, abnormal power outages accelerate SSD aging.
A power-down protection circuit for the main control of vehicle-mounted PIS broadcasting was designed. It adopts the MAX38889 chip and supercapacitor unit, combined with power input and filtering module, voltage divider and detection module, signal output module, voltage equalization circuit and power-down detection circuit to achieve power supply redundancy and data protection.
When the main power supply fails, a backup power supply is provided through a supercapacitor to keep the PA controller working for 20 seconds, complete data offloading, ensure data security, maintain temporary broadcast function, extend SSD lifespan, and improve system fault tolerance.
Smart Images

Figure CN224987446U_ABST
Abstract
Description
Technical Field
[0001] This application relates to a power-off protection circuit for a vehicle-mounted PIS broadcast master control. Background Technology
[0002] Currently, the train PA (Public Address System) main control unit, as the core control unit of the onboard PIS system, undertakes key functions such as in-vehicle broadcast management, voice prompt delivery, and multimedia information dissemination. Its stable operation directly affects the passenger travel experience and train operation safety. However, existing train PA main control circuits generally lack power redundancy design, resulting in the following technical defects.
[0003] When the train experiences a main power outage due to an accident, short circuit, or other unforeseen circumstances, the PA (Power Amplifier) controller loses power, immediately interrupting in-vehicle broadcasting, voice prompts, and multimedia information dissemination. This prevents the transmission of essential operational information to passengers, requiring waiting for hardware repairs before restoration, severely impacting operational efficiency and passenger experience. During normal or abnormal power outages, the PA controller must write necessary data, such as system configurations and playback records, to the SSD (Solid State Drive). If the power outage occurs during data writing, incomplete write operations can lead to data loss and even damage the SSD's FTL (Flash Translation Layer) mapping table, causing file system errors or rendering the SSD unrecognizable. Furthermore, abnormal power outages interfere with the SSD's garbage collection and wear leveling mechanisms, accelerating NAND flash memory aging and significantly shortening the SSD's lifespan. The existing circuitry lacks a backup power supply unit; the PA controller immediately ceases operation after the main power is disconnected, failing to maintain temporary core functions or provide sufficient buffer time for data writing, resulting in poor system fault tolerance.
[0004] In view of the shortcomings of the existing technology, there is an urgent need to design a vehicle-mounted PIS broadcast master control power failure protection circuit with power redundancy and data protection functions to solve the problems of function interruption and data security when the main power supply fails. Utility Model Content
[0005] This application provides a power-off protection circuit for the vehicle-mounted PIS broadcast master control. The technical solution is as follows.
[0006] On the one hand, a vehicle-mounted PIS broadcast main control power-down protection circuit is provided, including the core chip MAX38889 (U34), power input and filtering module, chip peripheral configuration module, voltage divider and detection module, signal output module, supercapacitor unit, voltage equalization circuit, power-down detection circuit, 24V to 5V module and main control chip IMX6; The 24V to 5V module uses the SGM61450 chip. Its input terminal is electrically connected to the train's 24V main power supply, and its output terminal is electrically connected to the 5V_CAP terminal (main power supply terminal), which is used to convert 24V voltage to 5V voltage. The power input and filtering module includes a first filter capacitor group (C158, C159, C160) and a second filter capacitor group (C161, C162, C163, C164, C165, C166); one end of each of the first filter capacitor groups is electrically connected to the VCAP terminal (supercapacitor power supply terminal), and the other end is grounded; one end of each of the second filter capacitor groups is electrically connected to the 5V_CAP terminal, and the other end is grounded; the VCAP terminal is electrically connected to the supercapacitor unit, the 5V_CAP terminal is electrically connected to the SYS pin (system power supply pin) of the MAX38889 (U34), and the VCAP terminal is electrically connected to the CAP pin (supercapacitor power supply pin) of the MAX38889 (U34); The peripheral configuration module of the chip includes inductor L5, filter capacitor C157, voltage divider resistors R284 and R286, and current sampling resistor R281. Inductor L5 has parameters of 470nH / 3A, with one end electrically connected to the LX pin (boost / buck pin) of the MAX38889 (U34) and the other end electrically connected to the SYS pin. C157 has parameters of 1uF / 25V, with one end electrically connected to the SYS pin and the other end grounded. R284 and R286 both have parameters of 10KΩ / 1%, with one end of R284 electrically connected to the 5V_CAP terminal and the other end electrically connected to one end of R286 and the VREF pin (reference voltage pin) of the MAX38889 (U34), and the other end of R286 grounded. R281 has parameters of 20KΩ / 1%, with one end electrically connected to the ISET pin (current setting pin) of the MAX38889 (U34) and the other end grounded. The voltage divider and detection module includes a supercapacitor voltage divider group (R274, R275, R276, R279), a system voltage divider group (R277, R280, R283, R285), and a current-limiting resistor R282; the parameters of R274 are 2MΩ / 5%, R275 is 1MΩ / 1%, R276 is 300KΩ / 1%, and R279 is 412KΩ / 1%. These four resistors are connected in series, with one end electrically connected to the VCAP terminal and the other end electrically connected to the FBCH pin (supercapacitor charging threshold pin) of the MAX38889 (U34). R277 is 2MΩ / 5%, R280 is 270KΩ / 1%, R283 is 470KΩ / 1%, and R285 is 1MΩ / 1%. R277, R280, and R283 are connected in series, with one end electrically connected to the SYS pin and the other end electrically connected to one end of R285 and the FBS pin (system backup voltage pin) of the MAX38889 (U34). The other end of R285 is grounded. R282 has a parameter of 470KΩ / 1%, with one end electrically connected to the FBCR pin (charging current limiting pin) of the MAX38889 (U34) and the other end grounded. The signal output module includes a pull-up resistor R287, a filter capacitor C169, and a zero-ohm resistor R288. R287 has a parameter of 1MΩ / 1%, one end of which is electrically connected to the BKB pin (backup signal pin) of the MAX38889 (U34), and the other end is electrically connected to one end of C169 and one end of R288. C169 has a parameter of 2.2nF / 50V, and the other end is grounded. The other end of R288 is electrically connected to the GPIO4_B5_CAN2_TX interface, which is electrically connected to the KEY_COL4_CAN2_TX pin of the main control chip IMX6. The supercapacitor unit includes two supercapacitors connected in series, with a model of 47F / 2.7V or 60F / 2.7V. The total voltage range after series connection is 0.5-5.4V, which matches the input voltage range (0.5-5.5V) of the CAP pin of MAX38889 (U34). The voltage balancing circuit uses an operational amplifier SGM8632XS / TR (U1A). Its IN+ pin is electrically connected to the VCAP terminal through a resistor R1 (20KΩ / 1%), its IN- pin is electrically connected to the series node of the two supercapacitors through a resistor R2 (20KΩ / 1%), and its OUT pin is electrically connected to the series node through a resistor R5 (50Ω / 1%), which is used to balance the voltage of the two supercapacitors. The power-down detection circuit includes diode D64 (BAT54C), voltage divider resistors R23 (15KΩ / 1%), R25 (5.1KΩ / 1%), R26 (4.7KΩ / 1%), filter capacitor C35 (100nF / 50V), and reset chip DIO6809Z (U5). The anode of D64 is electrically connected to the 24V main power supply, and the cathode is electrically connected to one end of R23. The other end of R23 is electrically connected to one end of R25 and R26, and the VCC pin of U5. The other ends of R25 and R26 are both grounded. One end of C35 is electrically connected to the VCC pin of U5, and the other end is grounded. The / RST pin of U5 is electrically connected to the reset pin of IMX6. The main control chip IMX6 is electrically connected to the SSD (solid-state drive) controlled by the PA main controller, and is used to control the SSD to pause writing and unload data after the power failure detection circuit is triggered.
[0007] Optionally, in the first filter capacitor group, C158, C159, and C160 all have parameters of 10uF / 25V, which are used to filter out low-frequency noise input at the VCAP terminal. In the second filter capacitor group, C161, C162, C163, C164, and C165 all have parameters of 10uF / 25V, and C166 has parameters of 100nF / 50V. These capacitors are used to filter out high and low frequency noise input at the 5V_CAP terminal.
[0008] Optionally, the supercapacitor voltage divider group (R274, R275, R276, R279) and the current-limiting resistor R282 satisfy the relationship R274+R275+R276+R279=R282×(VCAP_MAX / 0.5-1), where VCAP_MAX is the maximum charging voltage of the supercapacitor unit, which is 5.4V; When the FBCH pin voltage of the MAX38889 (U34) reaches 0.5V, the supercapacitor cell stops charging, and the FBCH pin voltage hysteresis is 2.5% (12.5mV).
[0009] Optionally, the system voltage divider group (R277, R280, R283, R285) satisfies the relationship R277+R280+R283=(Vsys_BACKUP×R285 / 1.2)-R285, where Vsys_BACKUP is the system backup voltage, with a value of 4.5V; When the FBS pin voltage of MAX38889 (U34) exceeds 1.23V, MAX38889 draws power from the 5V_CAP terminal to charge the supercapacitor cell; When the FBS pin voltage drops to 1.2V, the MAX38889 switches to supercapacitor unit power supply to maintain the output Vsys_BACKUP.
[0010] Optionally, the current sampling resistor R281 is used in conjunction with the ISET pin of MAX38889 (U34) to set the charging current of the supercapacitor unit; The charging current calculation formula is ICAP_CHG=2.5×R_REF / R281, where R_REF is the reference resistor (value is 20KΩ), and the final charging current is set to 2.5A.
[0011] Optionally, the voltage balancing circuit further includes pull-down resistors R3 (4.7KΩ / 5%), R4 (4.7KΩ / 5%), R6 (4.7KΩ / 5%) and power supply capacitors C2 (47F / 2.7V) and C5 (47F / 2.7V). One end of R3 is electrically connected to the IN+ pin of operational amplifier U1A, and the other end is grounded; One end of R4 is electrically connected to the IN- pin of U1A, and the other end is grounded; One end of R6 is electrically connected to the IN- pin of U1A, and the other end is grounded; one end of C2 is electrically connected to the VCC pin of U1A, and the other end is grounded. One end of C5 is electrically connected to the GND pin of U1A, and the other end is grounded.
[0012] Optionally, the voltage trigger threshold of the power failure detection circuit is 12.24V; When the 24V main power supply voltage is lower than 12.24V, the / RST pin of the reset chip U5 outputs a low level, triggering the main control chip IMX6 to execute the power-down protection program. The program includes controlling the SSD to pause data writing, unloading cached data, and shutting down unnecessary loads on the PA main control.
[0013] Optionally, the MAX38889 (U34) has a conversion efficiency of 94%, an output voltage accuracy of 1%, supports 0.5-5.5V input voltage and 2.5-5.5V output voltage, has a peak operating current of 3A, and is suitable for both buck and boost operating modes.
[0014] Optionally, the discharge time of the supercapacitor unit is ≥20S; When using a 47F / 2.7V supercapacitor, the total capacitance after series connection is 23.5F. Under a discharge current of 3A and an output voltage of 4.5V, the discharge time is (23.5F×(5.4V-3.0V)) / 3A≈18.8S, which meets the requirements of PA main control unloading data (2-3S) and temporary broadcast function (15S).
[0015] Optionally, the power status signal transmitted by the GPIO4_B5_CAN2_TX interface is a digital level; When the signal is high (3.3V), it indicates that the main power supply is normal and the supercapacitor is fully charged. When the signal is low (0V), it means that the main power supply is off and the supercapacitor has entered the discharge mode. The main control chip IMX6 collects this signal in real time through the KEY_COL4_CAN2_TX pin and dynamically adjusts the working state of the PA main control.
[0016] This application discloses a power-down protection circuit for the main control unit of an onboard PIS (Public Interconnection System) broadcasting system, relating to the field of rail transit equipment technology. It aims to solve the problems of existing train PA (Power Amplifier) main control circuits lacking power redundancy, functional failure during power outages, and data loss. The circuit uses the MAX38889 chip as its core and includes a power input and filtering module, a chip peripheral configuration module, a voltage divider and detection module, a signal output module, a supercapacitor unit, a voltage equalization circuit, a power-down detection circuit, and a 24V to 5V module. The power input and filtering module is connected to the VCAP and 5V_CAP terminals respectively, providing a stable power supply to the MAX38889 chip. The chip peripheral configuration module achieves power conversion and voltage feedback through inductors, capacitors, and voltage divider resistors. The voltage divider and detection module sets the maximum charging voltage of the supercapacitor and the system backup voltage threshold through multiple sets of resistors. The signal output module connects the MAX38889 and the main control chip IMX6, transmitting power status signals. The supercapacitor unit, in conjunction with the voltage equalization circuit, achieves energy storage and voltage stabilization. The power-down detection circuit monitors the 24V main power supply and triggers the IMX6 to perform hard disk data unloading. When the main power supply is normal, the 24V to 5V module supplies power to the PA controller and charges the supercapacitor; when the main power supply is off, the supercapacitor discharges through the MAX38889, maintaining the PA controller's operation for about 20 seconds, while the IMX6 completes hard drive data offloading, achieving power supply redundancy and data protection. Attached Figure Description
[0017] Figure 1 Schematic diagram of the backup power control circuit for MAX38889; Figure 2 This is the reference circuit schematic for the MAX38889 datasheet; Figure 3 This is a schematic diagram of a 24V power failure detection circuit. Figure 4 This is a schematic diagram of a supercapacitor and voltage equalization circuit. Figure 5 This is a core pinout diagram of the IMX6 main control chip. Figure 6 This is the circuit schematic for a 24V to 5V converter module. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0019] In this article, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0020] Example 1 In this embodiment, the core chip MAX38889 (U34) is selected from the Analog Devices brand, with an input voltage range of 0.5-5.5V, an output voltage range of 2.5-5.5V, an output accuracy of 1%, a conversion efficiency of 94%, and support for 3A peak current; the 24V to 5V module uses the SGM61450 chip, with an input voltage of 8-36V (adapting to ±20% fluctuation of the train's 24V main power supply), an output voltage of 5V, and a current of 3A, providing a stable main power supply for the 5V_CAP terminal.
[0021] Correspondingly, such as Figure 6 The diagram shows the circuit schematic of a 24V to 5V module, corresponding to the key power supply module responsible for voltage conversion. The circuit uses the SGM61450 chip as its core. The input is directly connected to the train's 24V main power supply, adapting to a ±20% fluctuation range. The output is connected to the 5V_CAP terminal (main power supply terminal), stabilizing the 24V voltage to 5V. The output current can reach 3A, meeting the power supply requirements of the PA controller and supercapacitor charging. The circuit incorporates multiple sets of filter capacitors of different specifications to filter out low-frequency and high-frequency noise generated during the conversion process, ensuring that the voltage ripple at the 5V_CAP terminal is ≤30mV, meeting the power supply stability requirements of the MAX38889 and PA controller. This module is the "energy hub" when the main power supply is normal, providing operating power to the PA controller and charging the supercapacitor unit, serving as the basic hardware for "energy reserve" before power failure protection.
[0022] In the power input and filtering module, the first filter capacitor group (C158, C159, C160, 10uF / 25V) filters out low-frequency noise at the VCAP terminal (powered by supercapacitor), and the second filter capacitor group (5 10uF / 25V capacitors + 1 100nF / 50V capacitor) filters out high and low frequency noise at the 5V_CAP terminal, ensuring that the input voltage ripple of the CAP and SYS pins of the MAX38889 is ≤50mV.
[0023] In the peripheral configuration module of the chip, inductor L5 (470nH / 3A) works with MAX38889 to realize buck-boost conversion, C157 (1uF / 25V) filters out noise from the SYS pin, R284 and R286 provide a 2.5V reference voltage for the VREF pin by voltage division, and R281 (20KΩ / 1%) sets the charging current to 2.5A.
[0024] In the voltage divider and detection module, the supercapacitor voltage divider group is set to VCAP_MAX=5.4V, and the system voltage divider group is set to Vsys_BACKUP=4.5V; the signal output module outputs the power status signal through the BKB pin, which is filtered by R287 and C169 and then transmitted to the IMX6; the supercapacitor unit uses two 47F / 2.7V capacitors connected in series, and the voltage balancing circuit balances the capacitor voltage through the operational amplifier SGM8632XS / TR; the power failure detection circuit triggers the IMX6 to unload SSD data when the 24V main power supply is <12.24V; the IMX6 is a Freescale brand and communicates with the SSD through a UART interface to ensure that data unloading is completed within 2 seconds when power fails.
[0025] like Figure 1 The diagram shows the schematic of the MAX38889 backup power control circuit. Centered on the core chip MAX38889 (U34), it presents the physical connections and circuit structure of key modules such as power input and filtering, chip peripheral configuration, voltage division and detection, and signal output. In the circuit, C158, C159, and C160 connected to the VCAP terminal form the first filter capacitor group, and C161-C166 connected to the 5V_CAP terminal form the second filter capacitor group, respectively filtering out noise from the supercapacitor power supply and the main power supply; inductor L5 (470nH / 3A) works with the chip to realize buck-boost conversion, C157 filters the SYS terminal, R284 and R286 form a voltage divider circuit to provide voltage feedback, and R281 sets the charging current; R274-R276 and R279 form the supercapacitor... The capacitor voltage divider, in conjunction with R282, sets the maximum charging voltage of the supercapacitor, VCAP_MAX, to 5.4V. The system voltage divider consisting of R277, R280, R283, and R285 sets the system backup voltage, Vsys_BACKUP, to 4.5V. R287, C169, and R288 route the power status signal from the BKB pin to the GPIO4_B5_CAN2_TX interface, enabling interaction with the KEY_COL4_CAN2_TX pin of the main control chip IMX6. The entire circuit visually demonstrates the control and monitoring logic of the backup power supply and serves as the core hardware carrier for achieving power redundancy.
[0026] Example 2 In this embodiment, the first filter capacitor group, consisting of C158, C159, and C160, are all 10uF / 25V aluminum electrolytic capacitors. Aluminum electrolytic capacitors have a large capacitance, effectively filtering out low-frequency noise (below 100Hz) at the VCAP terminal (powered by the supercapacitor), preventing voltage fluctuations during supercapacitor charging and discharging from affecting the operation of the MAX38889. In the second filter capacitor group, C161-C165 are 10uF / 25V aluminum electrolytic capacitors (filtering out low-frequency noise below 100Hz), and C166 is a 100nF / 50V ceramic capacitor (filtering out high-frequency noise above 100KHz). Together, they achieve full-band noise filtering at the 5V_CAP terminal (main power supply), ensuring that the 5V voltage ripple input to the MAX38889SYS pin is ≤30mV, meeting the PA controller's requirements for power supply stability (ripple tolerance ≤50mV).
[0027] Example 3 In this embodiment, the maximum charging voltage VCAP_MAX of the supercapacitor unit is set to 5.4V (the upper limit of the rated voltage of two 2.7V supercapacitors connected in series), and the current-limiting resistor R282 = 470KΩ / 1%; according to the formula, the result is: R274+R275+R276+R279=470KΩ×(5.4V / 0.5V-1)=470KΩ×9.8=4606KΩ; In practice, R274 (2MΩ), R275 (1MΩ), R276 (300KΩ), and R279 (412KΩ) are selected, with a total resistance of 2000KΩ+1000KΩ+300KΩ+412KΩ=3712KΩ. By fine-tuning the resistance of R279 (412KΩ), errors are compensated to ensure that the FBCH pin of the MAX38889 accurately triggers the charging stop when the VCAP voltage reaches 5.4V; At the same time, the 12.5mV voltage hysteresis of the FBCH pin can avoid false triggering caused by voltage fluctuations and improve the stability of charging control.
[0028] Example 4 In this embodiment, the system backup voltage Vsys_BACKUP is set to 4.5V (the rated operating voltage of the PA main controller), and R285 = 1MΩ / 1%. According to the formula, R277 + R280 + R283 = (4.5V × 1MΩ / 1.2V) - 1MΩ = 3.75MΩ - 1MΩ = 2.75MΩ. In practice, R277 (2MΩ), R280 (270KΩ), and R283 (470KΩ) are selected. The total resistance is 2000KΩ + 270KΩ + 470KΩ = 2740KΩ, with an error of ≤0.4%, which meets the FBS pin voltage detection accuracy requirements. When the 24V main power supply is normal, the 5V_CAP terminal voltage is stable, the FBS pin voltage is >1.23V, and the MAX38889 draws power from the SYS pin to charge the supercapacitor; when the main power supply fails, the 5V_CAP terminal voltage drops, the FBS pin voltage is <1.2V, and the MAX38889 automatically switches to power supply from the CAP pin (supercapacitor) to maintain a 4.5V output, achieving seamless power supply switching (switching time <100μs).
[0029] Example 5 In this embodiment, the ISET pin of the MAX38889 sets the charging current through the current sampling resistor R281. The reference resistor R_REF is set to 20KΩ by default (the recommended value in the chip datasheet). According to the formula ICAP_CHG=2.5×R_REF / R281, substituting R281=20KΩ / 1%, we can calculate ICAP_CHG=2.5×20KΩ / 20KΩ=2.5A. This charging current can fully charge the 47F / 2.7V supercapacitor (23.5F after series connection) in about (23.5F×5.4V) / 2.5A≈50S. This avoids the capacitor overheating and aging due to excessive charging current, and ensures that charging is completed within the train operation interval (usually >10min) to meet the backup requirements.
[0030] like Figure 4The diagram shows the schematic of a supercapacitor and voltage equalization circuit, illustrating the hardware implementation details of the supercapacitor unit and voltage equalization circuit. In the circuit, the supercapacitor unit uses two 47F / 2.7V (or 60F / 2.7V) capacitors connected in series, with a total voltage range of 0.5-5.4V, perfectly matching the input range of the MAX38889's CAP pin. The voltage equalization circuit uses the low-power operational amplifier SGM8632XS / TR (U1A) as its core. Its IN+ pin is connected to the VCAP terminal through resistor R1 (20KΩ / 1%) to obtain the total voltage. The IN- pin is connected to the series node of the two supercapacitors through resistor R2 (20KΩ / 1%) to obtain a voltage divider. The OUT pin feeds back the adjustment signal to the series node through resistor R5 (50Ω / 1%). When the capacitor voltage difference exceeds 0.1V, the operational amplifier balances the voltage through charging and discharging. In addition, pull-down resistors such as R3 and R4 ensure stable input when the op-amp starts up, and capacitors such as C2 and C5 provide power supply filtering for the op-amp. This design effectively extends the life of the supercapacitor, meeting the design requirements of "stable energy storage and guaranteed life".
[0031] Example 6 In this embodiment, the operational amplifier SGM8632XS / TR (U1A) in the voltage balancing circuit is a low-power operational amplifier (quiescent current < 10μA), adapted to the low-power requirements of supercapacitors; R3 (4.7KΩ / 5%) and R4 (4.7KΩ / 5%) are pull-down resistors to ensure that the operational amplifier input pins are at a low level when the circuit starts up, avoiding malfunctions; R6 (4.7KΩ / 5%) is used to fine-tune the IN- pin voltage to improve balancing accuracy; C2 (47F / 2.7V) and C5 (47F / 2.7V) provide stable power supply to the operational amplifier, preventing voltage fluctuations from affecting the operational amplifier output. When the voltage difference between the two supercapacitors is > 0.1V, the operational amplifier outputs the corresponding level through the OUT pin, which charges or discharges the capacitor with the lower voltage through R5 (50Ω / 1%), ultimately making the voltage difference ≤ 0.1V, significantly extending the life of the supercapacitors (when the unbalanced voltage is > 0.5V, the capacitor life is shortened by more than 50%).
[0032] Example 7 In this embodiment, the diode D64 (BAT54C) in the power-down detection circuit is a Schottky diode with a forward voltage drop of only 0.3V, which can reduce the voltage loss of the 24V main power supply. The voltage division ratio of the voltage divider resistors R23 (15KΩ), R25 (5.1KΩ), and R26 (4.7KΩ) is (R25 / / R26) / (R23+R25 / / R26)=(2.47KΩ) / (15KΩ+2.47KΩ)≈0.141. When the 24V main power supply voltage is 12.24V, the VCC pin voltage of the reset chip U5 is 12.24V×0.141≈1.726V, which reaches the reset threshold of DIO6809Z (1.7V±0.05V). The / RST pin of U5 outputs a low level. After receiving the low level signal, IMX6 immediately calls the preset program and completes the unloading of SSD cache data within 2 seconds to avoid data loss.
[0033] like Figure 3 The diagram shows the schematic of a 24V power failure detection circuit, corresponding to the power failure detection module responsible for monitoring the main power supply status and triggering protection procedures. The circuit uses a Schottky diode D64 (BAT54C) as its input, with its anode connected to the 24V main power supply. The cathode is connected to the voltage divider network (R25, R26) and the VCC pin of the reset chip DIO6809Z (U5) via resistor R23. The diode's low forward voltage drop reduces power loss. A filter capacitor C35 (100nF / 50V) stabilizes the voltage input to the reset chip, preventing false triggering due to fluctuations. When the 24V main power supply voltage drops below 12.24V, the / RST pin of the reset chip U5 outputs a low level. This signal is transmitted to the reset pin of the main control chip IMX6, triggering IMX6 to immediately execute protection procedures such as pausing SSD writes, unloading cached data, and shutting down unnecessary loads, achieving the design goal of "early detection and rapid response" for power failure detection.
[0034] Example 8 In this embodiment, the conversion efficiency of MAX38889 (U34) was verified by actual measurement: within the range of input voltage 2.5-5.5V, output voltage 4.5V, and load current 1-3A, the conversion efficiency is stable at 94%, with only 6% energy loss to avoid chip overheating (operating temperature <60℃), making it suitable for the enclosed environment of train carriages (temperature range -40℃~70℃); the output voltage accuracy is 1%, that is, the error is ≤0.045V when outputting at 4.5V, which meets the requirements of PA main controller for power supply voltage accuracy (error tolerance ≤±5%); the 3A peak current supports the fast charging and discharging of supercapacitors, and the buck-boost dual-mode adapts to the wide range of supercapacitor voltage changes from 0.5V (end of discharge) to 5.4V (end of charging).
[0035] Correspondingly, such as Figure 2The diagram shown is a reference circuit schematic from the MAX38889 datasheet, illustrating the basic operating framework of the core chip MAX38889 in charge / discharge modes. The circuit clearly labels key pins such as SYS (system power supply), CAP (supercapacitor power supply), LX (boost / buck), FBS (system backup voltage), FBCH (supercapacitor charging threshold), and FBCR (charging current limit). Inductor L1 assists the chip in power conversion, and the supercapacitor (SUPERCAP) is connected to the CAP pin as an energy storage element. A resistor divider network around the FBS pin sets the system backup voltage. When VFBS exceeds 1.23V, the chip draws power from the main battery for charging; when it drops to 1.2V, it switches to supercapacitor discharge. The voltage divider circuit on the FBCH pin controls the maximum charging voltage of the supercapacitor, and works with the current-limiting resistor on the FBCR pin to regulate the charging current. This diagram intuitively illustrates the mode switching principle of the MAX38889 in normal and power-down states, providing a core reference for practical circuit design.
[0036] Example 9 In this embodiment, the supercapacitor unit uses two 47F / 2.7V supercapacitors (Panasonic brand), connected in series, with a total capacitance C = (47F × 47F) / (47F + 47F) = 23.5F. The maximum total voltage U_MAX = 5.4V, and the minimum sustaining voltage at the end of discharge U_MIN = 3.0V (the minimum operating voltage of the PA main controller). According to the discharge time formula t = (C × (U_MAX - U_MIN)) / I, substituting I = 3A (MAX38889 peak discharge voltage)... The discharge time is calculated to be t=(23.5F×2.4V) / 3A≈18.8S, and the actual test discharge time is 20S (including capacitor voltage margin). This time can cover the IMX6 unloading SSD data (2-3S) and playing temporary reminder broadcasts to passengers (15S), meeting the emergency needs when the train loses power. If the backup time needs to be extended, it can be replaced with two 60F / 2.7V supercapacitors, with a total capacity of 30F after series connection, and the discharge time is extended to (30F×2.4V) / 3A=24S.
[0037] Example 10 In this embodiment, the GPIO4_B5_CAN2_TX interface is a TTL level interface, directly connected to the KEY_COL4_CAN2_TX pin of the IMX6 (also a TTL level) via DuPont wires. The signal transmission distance is <10cm (internal wiring of the train PA main controller), with no signal attenuation. When the main power supply is normal and the supercapacitor is fully charged, the BKB pin of the MAX38889 outputs a high level (3.3V). After being pulled up by R287 (1MΩ) and filtered by C169 (2.2nF) to remove high-frequency interference, it is transmitted to the IMX6, which controls the PA main controller to work normally. When the main power supply fails, the BKB pin outputs a low level (0V). After detecting the low level, the IMX6 immediately shuts down the multimedia display function of the PA main controller (to reduce power consumption) and simultaneously controls the SSD to pause writing and unload cached data. The real-time performance of this signal is <1ms, ensuring that the IMX6 responds quickly to power failure events.
[0038] like Figure 5 The diagram shows the core pinout of the IMX6 main control chip, illustrating the pin configuration directly related to the power-down protection function. The diagram marks the KEY_COL4_CAN2_TX pin, which receives backup signals from the MAX38889. This pin connects to the signal output module via the GPIO4_B5_CAN2_TX interface, acquiring digital level signals in real time: a high level (3.3V) indicates normal main power supply and completed supercapacitor charging, while a low level (0V) indicates main power failure and capacitor entering discharge mode. The diagram also marks the UART interface pins (such as SD3_DAT6_UART1_RX, SD3_DAT7_UART1_TX, etc.) that communicate with the SSD of the PA main controller, as well as the GPIO pins that control the PA main controller's non-essential load. These pin configurations clearly demonstrate the core role of the IMX6 as the main control chip, quickly scheduling SSD data offloading and adjusting system load after receiving a power-down signal; it is the control center for data protection and emergency functions.
[0039] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0040] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. The above descriptions are merely optional embodiments of this application and are not intended to limit the application. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A power down protection circuit for a vehicle PIS broadcast master control, characterized by, It includes the core chip MAX38889, power input and filtering module, chip peripheral configuration module, voltage divider and detection module, signal output module, supercapacitor unit, voltage equalization circuit, power failure detection circuit, 24V to 5V module and main control chip IMX6; The 24V to 5V module uses the SGM61450 chip. Its input terminal is electrically connected to the train's 24V main power supply, and its output terminal is electrically connected to the 5V_CAP terminal. It is used to convert 24V voltage to 5V voltage. The power input and filtering module includes a first filter capacitor group C158, C159, C160 and a second filter capacitor group C161, C162, C163, C164, C165, C166; one end of each of the first filter capacitor groups is electrically connected to the VCAP terminal, and the other end is grounded; one end of each of the second filter capacitor groups is electrically connected to the 5V_CAP terminal, and the other end is grounded; the VCAP terminal is electrically connected to the supercapacitor unit, the 5V_CAP terminal is electrically connected to the SYS pin of the core chip MAX38889, and the VCAP terminal is electrically connected to the CAP pin of the core chip MAX38889; The peripheral configuration module for the chip includes inductor L5, filter capacitor C157, voltage divider resistors R284 and R286, and current sampling resistor R281. Inductor L5 has a parameter of 470nH / 3A, with one end electrically connected to the LX pin of the core chip MAX38889 and the other end electrically connected to the SYS pin. C157 has a parameter of 1uF / 25V, with one end electrically connected to the SYS pin and the other end grounded. R284 and R286 both have a parameter of 10KΩ / 1%, with one end of R284 electrically connected to the 5V_CAP terminal and the other end connected to one end of R286 and the VREF pin of the core chip MAX38889. The other end of R286 is grounded. R281 has a parameter of 20KΩ / 1%, with one end electrically connected to the ISET pin of the core chip MAX38889 and the other end grounded. The voltage divider and detection module includes supercapacitor voltage dividers R274, R275, R276, and R279, system voltage dividers R277, R280, R283, and R285, and a current-limiting resistor R282. The parameters of R274 are 2MΩ / 5%, R275 is 1MΩ / 1%, R276 is 300KΩ / 1%, and R279 is 412KΩ / 1%. The four are connected in series, one end of which is electrically connected to the VCAP terminal, and the other end is electrically connected to the FBCH pin of the core chip MAX38889. R277 is 2MΩ / 5%, R280 is 270KΩ / 1%, R283 is 470KΩ / 1%, and R285 is 1MΩ / 1%. R277, R280, and R283 are connected in series, with one end electrically connected to the SYS pin and the other end electrically connected to one end of R285 and the FBS pin of the core chip MAX38889. The other end of R285 is grounded. R282 has a parameter of 470KΩ / 1%, with one end electrically connected to the FBCR pin of the core chip MAX38889 and the other end grounded. The signal output module includes a pull-up resistor R287, a filter capacitor C169, and a zero-ohm resistor R288. R287 has a parameter of 1MΩ / 1%, one end of which is electrically connected to the BKB pin of the core chip MAX38889, and the other end is electrically connected to one end of C169 and one end of R288. C169 has a parameter of 2.2nF / 50V, and the other end is grounded. The other end of R288 is electrically connected to the GPIO4_B5_CAN2_TX interface, which is electrically connected to the KEY_COL4_CAN2_TX pin of the main control chip IMX6. The supercapacitor unit includes two supercapacitors connected in series, with a model of 47F / 2.7V or 60F / 2.7V. The total voltage range after series connection is 0.5-5.4V, which matches the input voltage range of the CAP pin of the core chip MAX38889. The voltage balancing circuit uses an operational amplifier SGM8632XS / TR. Its IN+ pin is electrically connected to the VCAP terminal through resistor R1, its IN- pin is electrically connected to the series node of the two supercapacitors through resistor R2, and its OUT pin is electrically connected to the series node through resistor R5, which is used to balance the voltage of the two supercapacitors. The power-down detection circuit includes diode D64, voltage divider resistors R23, R25, and R26, filter capacitor C35, and reset chip DIO6809Z. The anode of D64 is electrically connected to the 24V main power supply, and the cathode is electrically connected to one end of R23. The other end of R23 is electrically connected to one end of R25 and R26 and the VCC pin of U5. The other ends of R25 and R26 are both grounded. One end of C35 is electrically connected to the VCC pin of U5, and the other end is grounded. The / RST pin of U5 is electrically connected to the reset pin of IMX6. The main control chip IMX6 is electrically connected to the SSD controlled by the PA main controller, and is used to control the SSD to pause writing and unload data after the power failure detection circuit is triggered.
2. The battery backup circuit for a vehicle PIS broadcast host according to claim 1, wherein In the first filter capacitor group, C158, C159, and C160 all have parameters of 10uF / 25V, which are used to filter out low-frequency noise input at the VCAP terminal; In the second filter capacitor group, C161, C162, C163, C164, and C165 all have parameters of 10uF / 25V, and C166 has parameters of 100nF / 50V. These capacitors are used to filter out high and low frequency noise input at the 5V_CAP terminal.
3. The battery backup circuit for a vehicle PIS broadcast host as recited in claim 1, wherein, The voltage divider group R274, R275, R276, R279 of the supercapacitor and the current limiting resistor R282 satisfy the relationship R274+R275+R276+R279=R282×(VCAP_MAX / 0.5-1), where VCAP_MAX is the maximum charging voltage of the supercapacitor unit, which is 5.4V. When the FBCH pin voltage of the core chip MAX38889 (U34) reaches 0.5V, the supercapacitor unit stops charging, and the FBCH pin voltage hysteresis is 2.5%.
4. The battery backup circuit for a vehicle PIS broadcast host as recited in claim 1, wherein, The system voltage divider group R277, R280, R283, and R285 satisfy the relationship R277+R280+R283=(Vsys_BACKUP×R285 / 1.2)-R285, where Vsys_BACKUP is the system backup voltage, with a value of 4.5V. When the FBS pin voltage of the core chip MAX38889 exceeds 1.23V, the core chip MAX38889 draws power from the 5V_CAP terminal to charge the supercapacitor unit. When the FBS pin voltage drops to 1.2V, the core chip MAX38889 switches to supercapacitor unit power supply to maintain the output Vsys_BACKUP.
5. The battery backup circuit for a vehicle PIS broadcast host as recited in claim 1, wherein, The current sampling resistor R281 works in conjunction with the ISET pin of the core chip MAX38889 to set the charging current of the supercapacitor unit. The charging current calculation formula is ICAP_CHG=2.5×R_REF / R281, where R_REF is the reference resistor, and the final charging current is set to 2.5A.
6. The battery backup circuit for a vehicle PIS broadcast host as recited in claim 1, wherein, The voltage equalization circuit also includes pull-down resistors R3, R4, and R6, and power supply capacitors C2 and C5; One end of R3 is electrically connected to the IN+ pin of operational amplifier U1A, and the other end is grounded; One end of R4 is electrically connected to the IN- pin of U1A, and the other end is grounded; One end of R6 is electrically connected to the IN- pin of U1A, and the other end is grounded; one end of C2 is electrically connected to the VCC pin of U1A, and the other end is grounded. One end of C5 is electrically connected to the GND pin of U1A, and the other end is grounded.
7. The vehicle-mounted PIS broadcast master control power-off protection circuit according to claim 1, characterized in that, The voltage trigger threshold of the power failure detection circuit is 12.24V; When the 24V main power supply voltage is lower than 12.24V, the / RST pin of the reset chip U5 outputs a low level, triggering the main control chip IMX6 to execute the power-down protection program. The program includes controlling the SSD to pause data writing, unloading cached data, and shutting down unnecessary loads on the PA main control.
8. The battery backup circuit for a vehicle PIS broadcast host as recited in claim 1, wherein, The core chip MAX38889 has a conversion efficiency of 94%, an output voltage accuracy of 1%, supports 0.5-5.5V input voltage and 2.5-5.5V output voltage, has a peak operating current of 3A, and is suitable for both buck and boost modes.
9. The battery backup circuit for a vehicle PIS broadcast host as recited in claim 1, wherein, The discharge time of the supercapacitor unit is ≥20S; When using a 47F / 2.7V supercapacitor, the total capacitance after series connection is 23.5F. Under a discharge current of 3A and an output voltage of 4.5V, the discharge time is (23.5F×(5.4V-3.0V)) / 3A≈18.8S, which meets the requirements of PA main control unloading data and temporary broadcast function.
10. The vehicle-mounted PIS broadcast master control power-off protection circuit according to claim 1, characterized in that, The power status signal transmitted by the GPIO4_B5_CAN2_TX interface is a digital level; When the signal is high, it means that the main power supply is normal and the supercapacitor is fully charged. When the signal is low, it means that the main power supply is off and the supercapacitor has entered the discharge mode. The main control chip IMX6 collects this signal in real time through the KEY_COL4_CAN2_TX pin and dynamically adjusts the working state of the PA main control.
