A low-voltage load simulation system for a power domain controller

By designing a low-voltage load simulation system for power domain controllers, the problem of incomplete fault detection in the existing technology is solved, and more accurate and comprehensive fault detection of power domain controllers is achieved, thereby improving the efficiency of load simulation fault detection.

CN114706334BActive Publication Date: 2025-06-13BEIJING FENGZHI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210364032.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-08
Publication Date
2025-06-13
Estimated Expiration
2042-04-08

AI Technical Summary

Technical Problem

The existing power domain controller simulation equipment cannot fully simulate the intervention of components such as accelerator pedals, key switches, gear signals, electronic handbrakes, air conditioners, etc. in new energy vehicles, resulting in inaccurate analog output, missing PWM output circuit, unadjustable digital output amplitude, and incomplete fault detection.

Method used

A low-voltage load simulation system for power domain controllers is designed, including a human-computer interactive interface, a main control module, an analog signal circuit, a digital signal circuit and a PWM signal circuit. These circuits are connected to the power domain controller to be detected to realize the output and acquisition of analog signals, digital signals and PWM signals, and signal processing and adjustment are carried out through the main control module.

Benefits of technology

It realizes more accurate and comprehensive fault detection of the power domain controller, improves the efficiency of load simulation fault detection, and makes the simulation process more realistic and controllable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114706334B_ABST
    Figure CN114706334B_ABST
Patent Text Reader

Abstract

The present invention relates to a low-voltage load simulation system for a power domain controller, belonging to the technical field of vehicle engineering, and comprising a human-machine interface, a main control module, an analog signal circuit, a digital signal circuit, a PWM signal circuit, a first analog function group, a second analog function group, a third analog function group, and a programmable power supply. By setting the human-machine interface, the present invention can display the parameter changes during the load simulation process and can directly issue commands to the main control module. By setting the main control module and connecting it to the power domain controller to be detected through three signal circuits, namely the analog signal circuit, the digital signal circuit, and the PWM signal circuit, the output and acquisition of analog signals, digital signals, and PWM signals can be realized. When performing load simulation on the power domain controller to be detected, the main control module collects signals and performs the same load simulation, and the two load simulation processes are all displayed on the human-machine interface, making the faulty part more accurately displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle engineering, and particularly to a low-voltage load simulation system for a power domain controller. Background Art

[0002] The power domain controller reasonably controls the working state and power output of the motor according to working conditions such as the driver's requirements and the vehicle state to meet the requirements of driving conditions, including acceleration, deceleration, constant speed, braking, and reverse. Therefore, the power domain controller is a key power distribution component of new energy vehicles, and it is necessary to detect its power distribution ability and whether there are faults in the power domain controller.

[0003] However, in the existing simulation devices for controllers, there is a lack of intervention of components such as the accelerator pedal, key switch, gear signal, electronic handbrake, and air conditioner in new energy vehicles, resulting in the absence of analog output and PWM output circuits. Moreover, the digital output amplitude in the existing simulation devices for controllers is not adjustable, making the simulation process inaccurate and the detection of faulty parts of the controller incomplete. Summary of the Invention

[0004] For this reason, the present invention provides a low-voltage load simulation system for a power domain controller to overcome the problem of incomplete detection of faulty parts of the controller in the prior art.

[0005] To achieve the above object, the present invention provides a low-voltage load simulation system for a power domain controller, including

[0006] A human-machine interaction interface, which is a command input interface of the load simulation system, and the human-machine interaction interface can display the low-voltage load simulation data of the power domain controller;

[0007] A main control module, which is connected to the human-machine interaction interface. The main control module can execute the commands input by the human-machine interaction interface and transmit the collected result signals to the human-machine interaction interface. The main control module is respectively connected to the power domain controller to be detected through an analog signal circuit, a digital signal circuit, and a PWM signal circuit. The main control module can input and output analog signals through the analog signal circuit, input and output digital signals through the digital signal circuit, and input and output PWM signals through the PWM signal circuit;

[0008] A first analog function group, which is respectively connected to the main control module and the power domain controller to be detected. The first analog function group can transmit the analog signals of function simulation to the main control module and the power domain controller to be detected. The first analog function group includes an accelerator device, a pedal device, and a potentiometer. The accelerator device is used to simulate the accelerator control during vehicle driving, the pedal device is used to simulate the brake control during vehicle driving, and the potentiometer is used to simulate the temperature sensor in the vehicle;

[0009] A second simulation function group, which is respectively connected to the main control module and the power domain controller to be detected. The second simulation function group can transmit the digital signals of function simulation to the main control module and the power domain controller to be detected. The second simulation function group includes a key device, a gear device, an air-conditioning device, an electric defrosting device, and an emergency button, which are used to simulate the real key, gear, air-conditioning, electric defrosting, air-conditioning, and emergency button in the vehicle;

[0010] A third simulation function group, which is connected to the power domain controller to be detected. The third simulation function group includes a fan device and a water pump device. The fan device and the water pump device can enter into operation according to the control signals of the power domain controller to be detected;

[0011] A programmable power supply, which is respectively connected to the power domain controller to be detected, the human-machine interaction interface, the main control module, the analog signal circuit, the digital signal circuit, the PWM signal circuit, the first simulation function group, the second simulation function group, and the third simulation function group, and supplies power to each component through the control signal of the main control module;

[0012] The power domain controller to be detected is also respectively connected to the human-machine interaction interface and the main control module through CAN communication. The human-machine interaction interface and the main control module can obtain the version of the internal software program of the power domain controller to be detected.

[0013] Further, a voltage conversion circuit, a digital-to-analog conversion circuit, and a feedback circuit are also arranged in the analog signal circuit. The human-machine interaction interface gives the command of the analog signal with a voltage value of VM to the main control module, where VM ≤ 36. The main control module transmits the PWM signal with an amplitude of 5v to the voltage conversion circuit. The main control module controls the voltage conversion circuit to convert the PWM signal with an amplitude of 5v into a PWM signal with an amplitude of 36v through the programmable power supply. The digital-to-analog conversion circuit converts the PWM signal with an amplitude of 36v into an analog signal with a voltage value of VN. The feedback circuit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module. The main control module will determine whether to adjust the duty cycle of the digital-to-analog conversion circuit according to the voltage value VN of the collected analog signal and the voltage value VM of the commanded analog signal.

[0014] Further, when the human-machine interaction interface gives the command of the analog signal with a voltage value of VM to the main control module, the main control module will calculate the initial duty cycle Qc of the digital-to-analog conversion circuit, Qc = VM / 36. The main control module sets the initial duty cycle of the digital-to-analog conversion circuit to Qc. The feedback unit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module.

[0015] Further, a first preset voltage difference V1 and a second preset voltage difference V2 are set in the main control module, where V1 < V2. When the feedback circuit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module, the main control module calculates the real-time voltage difference Vs, Vs = |VM - VN|. The main control module compares the real-time voltage difference Vs with the first preset voltage difference V1 and the second preset voltage difference V2.

[0016] When Vs ≤ V1, the main control module determines that the real-time voltage difference does not exceed the first preset voltage difference. The main control module determines that the voltage value of the analog signal output by the digital-to-analog conversion circuit is within the standard range, and the main control module does not adjust the duty cycle of the digital-to-analog conversion circuit.

[0017] When V1 < Vs ≤ V2, the main control module determines that the real-time voltage difference is between the first preset voltage difference and the second preset voltage difference. The main control module will determine the voltage value VM of the command analog signal to determine the method of adjusting the duty cycle of the digital-to-analog conversion circuit.

[0018] When Vs > V2, the main control module determines that the real-time voltage difference exceeds the second preset voltage difference. The main control module will adjust the duty cycle of the digital-to-analog conversion circuit according to the voltage value VM of the command analog signal and the voltage value VN of the collected analog signal.

[0019] Further, a standard grading voltage value Vt is set in the main control module, and a low grading duty cycle Qd and a high grading duty cycle Qg are set in the main control module. When the main control module determines that the real-time voltage difference is between the first preset voltage difference and the second preset voltage difference, the main control module compares the voltage value VN of the collected analog signal with the standard grading voltage value Vt.

[0020] When VN ≤ Vt, the main control module determines that the voltage value of the collected analog signal does not exceed the standard grading voltage value. The main control module selects the low grading duty cycle Qd to adjust the duty cycle of the digital-to-analog conversion circuit.

[0021] When VN > Vt, the main control module determines that the voltage value of the collected analog signal exceeds the standard grading voltage value. The main control module selects the high grading duty cycle Qg to adjust the duty cycle of the digital-to-analog conversion circuit.

[0022] Further, when the main control module selects the grading duty cycle Qi, where i = d, g, the main control module compares the voltage value VN of the collected analog signal with the voltage value VM of the command analog signal.

[0023] When VN < VM, the main control module determines that the voltage value of the acquired analog signal is lower than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc’, where Qc’ = Qc + Qi. The acquisition circuit acquires the voltage value VN’ of the analog signal after the duty cycle adjustment. The main control module repeats the above operations of calculating the real-time voltage difference according to the analog signal voltage value, and comparing it with the first preset voltage difference and the second preset voltage difference to adjust the duty cycle of the digital-to-analog conversion circuit until the calculated real-time voltage difference Vs’ reaches Vs’ ≤ V1, at which point the adjustment of the duty cycle of the digital-to-analog conversion circuit stops;

[0024] When VN > VM, the main control module determines that the voltage value of the acquired analog signal is higher than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc’, where Qc’ = Qc - Qi. The acquisition circuit acquires the voltage value VN’ of the analog signal after the duty cycle adjustment. The main control module repeats the above operations of calculating the real-time voltage difference according to the analog signal voltage value, and comparing it with the first preset voltage difference and the second preset voltage difference to adjust the duty cycle of the digital-to-analog conversion circuit until the calculated real-time voltage difference Vs’ reaches Vs’ ≤ V1, at which point the adjustment of the duty cycle of the digital-to-analog conversion circuit stops.

[0025] Further, when the main control module determines that the real-time voltage difference exceeds the second preset voltage difference, the main control module compares the voltage value VN of the acquired analog signal with the voltage value VM of the commanded analog signal.

[0026] When VN < VM, the main control module determines that the voltage value of the acquired analog signal is lower than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc’, where Qc’ = Qc × [1 + (VM - VN) / VM];

[0027] When VN > VM, the main control module determines that the voltage value of the acquired analog signal is higher than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc’, where Qc’ = Qc × [1 - (VM - VN) / VM].

[0028] Further, a high-side chip, a low-side chip, a short-circuit prevention circuit, a high-side LED lamp circuit, and a low-side LED lamp circuit are provided in the digital signal circuit. The human-machine interface issues a command to the main control module. The main control module controls the programmable power supply to output to the high-side chip and the low-side chip according to the command issued by the human-machine interface. When the output digital signal is high-valid, it passes through the high-side chip. When the output digital signal is low-valid, it passes through the low-side chip. The short-circuit prevention circuit is used to prevent the high-side chip and the low-side chip from outputting simultaneously. The digital signal is output to the power domain controller to be detected through the short-circuit prevention circuit, completing the output of the digital signal. The high-side LED lamp circuit detects the signal output in the high-side chip. When the digital signal is output in the high-side chip, the high-side LED lamp circuit controls the LED lamp provided inside to light up. The low-side LED lamp circuit detects the signal output in the low-side chip. When the digital signal is output in the low-side chip, the low-side LED lamp circuit controls the LED lamp provided inside to light up.

[0029] Further, a digital acquisition chip and a load resistor are also provided in the digital signal circuit. When the output of the power domain controller to be detected is a digital signal, the power domain controller to be detected simultaneously transmits the digital signal to the load resistor and the digital acquisition chip. Among them, the load resistor is used to detect the load capacity of the power domain controller to be detected. The digital acquisition chip transmits the acquired digital output to the main control module, and the main control module transmits the acquired digital signal to the human-machine interface for display, completing the acquisition of the digital signal.

[0030] Further, a voltage conversion circuit is provided in the PWM signal circuit. When the human-machine interface issues a command to the main control module, the main control module transmits the PWM signal to the voltage conversion circuit. The main control module controls the voltage conversion circuit to convert the PWM signal through the programmable power supply and output it to the power domain controller to be detected, completing the output of the PWM signal. A PWM rectification circuit is also provided in the PWM signal circuit. When the output of the power domain controller to be detected is a PWM signal, the power domain controller to be detected outputs it to the PWM rectification circuit. The PWM rectification circuit converts the PWM signal output by the power domain controller to be detected into a standard square wave and transmits it to the main control module. The main control module transmits the converted signal to the human-machine interface for display, completing the acquisition of the PWM signal.

[0031] Compared with the prior art, the beneficial effects of the present invention are as follows: by setting up a human-machine interaction interface, it is possible to display the parameter changes during the load simulation process and directly issue commands to the main control module. By setting up the main control module and connecting it to the power domain controller to be tested through three signal circuits, namely the analog signal circuit, digital signal circuit, and PWM signal circuit, it is possible to achieve the output and acquisition of analog signals, digital signals, and PWM signals. When the power domain controller to be tested conducts load simulation, the main control module collects signals and conducts the same load simulation. The entire process of the two load simulations is displayed on the human-machine interaction interface, making the faulty part more accurately and comprehensively presented. This not only fully displays the faulty part of the power domain controller to be tested but also improves the efficiency of load simulation fault detection.

[0032] Furthermore, by setting up a throttle device, a pedal device, and a potentiometer in the first simulation function group, a key device, a gear device, an air conditioner device, an electric defrosting device, and an emergency button in the second simulation function group to simulate the real keys, gears, air conditioners, electric defrosting, and emergency buttons in a vehicle, and a fan device and a water pump device in the third simulation function group, the load simulation of the controller is made more realistic, and the parameter of the load simulation process detected is closer to the real level. At the same time, by setting up a human-machine interaction interface, the adjustment of the digital output amplitude is realized, enabling the simulation process to be controlled.

[0033] In particular, by setting up a feedback circuit in the analog signal circuit, it is possible to ensure that the voltage value of the analog signal converted from the PWM signal reaches the set range, increasing the input accuracy of the simulation process and ensuring that the power domain controller to be tested is simulated under the same load conditions as the main control module.

[0034] In particular, by adjusting the duty cycle of the digital-to-analog conversion circuit, the voltage value of the converted analog signal is controlled, effectively solving the problem of uncontrollable voltage value caused by uncertain floating of the analog signal voltage. The digital-to-analog conversion circuit can also correct its own duty cycle through the frequency and period of the PWM signal. By directly adjusting the duty cycle of the digital-to-analog conversion circuit through the main control module and then correcting the adjusted duty cycle by the digital-to-analog conversion circuit, the detection and determination of the frequency and period of the PWM signal by the main control module are reduced, and the efficiency of analog signal output and acquisition is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a schematic structural diagram of the low-voltage load simulation system of the power domain controller described in this embodiment;

[0036] Figure 2 It is a schematic circuit diagram of the analog signal circuit described in this embodiment;

[0037] Figure 3Schematic diagram of the output of the digital signal circuit described in this embodiment;

[0038] Figure 4 Schematic diagram of the acquisition of the digital signal circuit described in this embodiment;

[0039] Figure 5 Schematic diagram of the acquisition of the PWM signal circuit described in this embodiment;

[0040] Figure 6 Schematic diagram of the output of the PWM signal circuit described in this embodiment;

[0041] Figure 7 Assembly drawing of the low-voltage load simulation system of the power domain controller described in this embodiment. Detailed implementation manners

[0042] In order to make the objectives and advantages of the present invention clearer, the present invention will be further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0043] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention and do not limit the protection scope of the present invention.

[0044] It should be noted that in the description of the present invention, the terms indicating directions or positional relationships such as "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings. This is only for convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention.

[0045] In addition, it should be noted that in the description of the present invention, unless otherwise clearly defined and limited, the terms "installation", "connection", and "connection" 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 skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0046] Please refer to Figure 1 as shown, which Figure 1 is the structural schematic diagram of the low-voltage load simulation system of the power domain controller described in this embodiment; this embodiment discloses a low-voltage load simulation system of a power domain controller, including

[0047] A human-machine interaction interface, which is a command input interface of the load simulation system, and the human-machine interaction interface can display the low-voltage load simulation data of the power domain controller;

[0048] A main control module, which is connected to the human-machine interaction interface. The main control module can execute the commands input by the human-machine interaction interface and transmit the collected result signals to the human-machine interaction interface; the main control module is respectively connected to the power domain controller to be detected through an analog signal circuit, a digital signal circuit and a PWM signal circuit. The main control module can perform input and output of analog signals through the analog signal circuit, input and output of digital signals through the digital signal circuit, and input and output of PWM signals through the PWM signal circuit;

[0049] A first analog function group, which is respectively connected to the main control module and the power domain controller to be detected. The first analog function group can transmit the analog signals of function simulation to the main control module and the power domain controller to be detected. The first analog function group includes a throttle device, a pedal device and a potentiometer. The throttle device is used to simulate the throttle control during vehicle driving, the pedal device is used to simulate the brake control during vehicle driving, and the potentiometer is used to simulate the temperature sensor in the vehicle;

[0050] A second analog function group, which is respectively connected to the main control module and the power domain controller to be detected. The second analog function group can transmit the digital signals of function simulation to the main control module and the power domain controller to be detected. The second analog function group includes a key device, a gear device, an air-conditioning device, an electric defrosting device and an emergency button, which are used to simulate the real key, gear, air-conditioning, electric defrosting, air-conditioning and emergency button in the vehicle;

[0051] A third analog function group, which is connected to the power domain controller to be detected. The third analog function group includes a fan device and a water pump device. The fan device and the water pump device can enter operation according to the control signal of the power domain controller to be detected;

[0052] A programmable power supply, which is respectively connected to the power domain controller to be detected, the human-machine interaction interface, the main control module, the analog signal circuit, the digital signal circuit, the PWM signal circuit, the first analog function group, the second analog function group and the third analog function group, and supplies power to each component through the control signal of the main control module;

[0053] In this embodiment, the human-machine interaction interface includes a 15-inch TFT Android industrial touch screen, a 1.5-inch serial port screen and a power failure indicator light. The main control module uses an Infineon 16-bit MCU, model number SAK-XC2287M-104F80LR AB,

[0054] The power domain controller to be tested is also respectively connected to the human-machine interface and the main control module through CAN communication. The human-machine interface and the main control module can obtain the version of the internal software program of the power domain controller to be tested.

[0055] By setting the human-machine interface, the parameter changes during the load simulation can be displayed, and commands can be directly issued to the main control module. By setting the main control module and connecting it to the power domain controller to be tested through three signal circuits, namely the analog signal circuit, the digital signal circuit, and the PWM signal circuit, the output and acquisition of analog signals, digital signals, and PWM signals can be achieved. When the power domain controller to be tested conducts load simulation, signals are collected through the main control module, and the same load simulation is performed. The processes of the two load simulations are all displayed on the human-machine interface, enabling the faulty part to be presented more accurately and comprehensively. This not only fully displays the faulty part of the power domain controller to be tested but also improves the efficiency of load simulation fault detection. At the same time, by setting the throttle device, pedal device, and potentiometer in the first simulation function group, the key device, gear device, air conditioner device, electric defrosting device, and emergency button in the second simulation function group to simulate the real keys, gears, air conditioners, electric defrosting, air conditioners, and emergency buttons in the vehicle, and setting the fan device and water pump device in the third simulation function group, the load simulation of the controller becomes more real, and the parameter of the detected load simulation process is closer to the real level. At the same time, by setting the human-machine interface, the adjustment of the digital output amplitude is realized, making the simulation process controllable.

[0056] Please continue to refer to Figure 2 As shown, it is the circuit schematic diagram of the analog signal circuit in this embodiment; in this embodiment, there are 19 analog outputs, among which 11 are 5V to 36V with an accuracy of 0.1V, 6 are 0 to 5kΩ adjustable resistors with an accuracy of 0.1, and 2 are national standard charging gun resistors. There are 11 analog inputs for voltage acquisition from 0V to 36V;

[0057] Specifically, a voltage conversion circuit, a digital-to-analog conversion circuit, and a feedback circuit are also provided in the analog signal circuit. The human-machine interface gives a command of an analog signal with a voltage value of VM to the main control module, where VM ≤ 36. The main control module transmits a PWM signal with an amplitude of 5V to the voltage conversion circuit. The main control module controls the voltage conversion circuit to convert the PWM signal with an amplitude of 5V into a PWM signal with an amplitude of 36V through the programmable power supply. The digital-to-analog conversion circuit converts the PWM signal with an amplitude of 36V into an analog signal with a voltage value of VN. The feedback circuit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module. The main control module determines whether to adjust the duty cycle of the digital-to-analog conversion circuit according to the voltage value VN of the collected analog signal and the voltage value VM of the commanded analog signal.

[0058] By providing a feedback circuit in the analog signal circuit, it can ensure that the voltage value of the analog signal converted from the PWM signal reaches the set range, increasing the input accuracy of the simulation process and ensuring that the power domain controller to be tested is simulated under the same load conditions as the main control module.

[0059] Specifically, when the human-machine interface gives a command of an analog signal with a voltage value of VM to the main control module, the main control module will calculate the initial duty cycle Qc of the digital-to-analog conversion circuit, Qc = VM / 36. The main control module sets the initial duty cycle of the digital-to-analog conversion circuit to Qc. The feedback unit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module.

[0060] By adjusting the duty cycle of the digital-to-analog conversion circuit, the voltage value of the converted analog signal can be controlled, effectively solving the problem of uncontrollable voltage value caused by uncertain voltage fluctuation of the analog signal. The digital-to-analog conversion circuit can also correct its own duty cycle through the frequency and period of the PWM signal. By directly adjusting the duty cycle of the digital-to-analog conversion circuit by the main control module and then correcting the adjusted duty cycle by the digital-to-analog conversion circuit, the detection and determination of the frequency and period of the PWM signal by the main control module are reduced, and the efficiency of analog signal output and collection is improved.

[0061] In this embodiment, the first preset voltage difference is 0.1V, and the second preset voltage difference is 3V;

[0062] Specifically, a first preset voltage difference V1 and a second preset voltage difference V2 are set in the main control module, where V1 < V2. When the feedback circuit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module, the main control module calculates the real-time voltage difference Vs, Vs = |VM - VN|. The main control module compares the real-time voltage difference Vs with the first preset voltage difference V1 and the second preset voltage difference V2.

[0063] When Vs ≤ V1, the main control module determines that the real-time voltage difference does not exceed the first preset voltage difference, and the main control module determines that the voltage value of the analog signal output by the digital-to-analog conversion circuit is within the standard range, and the main control module does not adjust the duty cycle of the digital-to-analog conversion circuit.

[0064] When V1 < Vs ≤ V2, the main control module determines that the real-time voltage difference is between the first preset voltage difference and the second preset voltage difference, and the main control module will determine the voltage value VM of the command analog signal to determine the method of adjusting the duty cycle of the digital-to-analog conversion circuit.

[0065] When Vs > V2, the main control module determines that the real-time voltage difference exceeds the second preset voltage difference, and the main control module will adjust the duty cycle of the digital-to-analog conversion circuit according to the voltage value VM of the command analog signal and the voltage value VN of the collected analog signal.

[0066] Specifically, a standard grading voltage value Vt is set in the main control module, and a low grading duty cycle Qd and a high grading duty cycle Qg are set in the main control module. When the main control module determines that the real-time voltage difference is between the first preset voltage difference and the second preset voltage difference, the main control module compares the voltage value VN of the collected analog signal with the standard grading voltage value Vt.

[0067] When VN ≤ Vt, the main control module determines that the voltage value of the collected analog signal does not exceed the standard grading voltage value, and the main control module selects the low grading duty cycle Qd to adjust the duty cycle of the digital-to-analog conversion circuit.

[0068] When VN > Vt, the main control module determines that the voltage value of the collected analog signal exceeds the standard grading voltage value, and the main control module selects the high grading duty cycle Qg to adjust the duty cycle of the digital-to-analog conversion circuit.

[0069] Specifically, when the main control module selects the grading duty cycle Qi, where i = d, g, the main control module compares the voltage value VN of the collected analog signal with the voltage value VM of the command analog signal.

[0070] When VN < VM, the main control module determines that the voltage value of the acquired analog signal is lower than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc', where Qc' = Qc + Qi. The acquisition circuit acquires the voltage value VN' of the analog signal after the duty cycle adjustment. The main control module repeats the above operations of calculating the real-time voltage difference based on the analog signal voltage value and comparing it with the first preset voltage difference and the second preset voltage difference to adjust the duty cycle of the digital-to-analog conversion circuit until the calculated real-time voltage difference Vs' reaches Vs' ≤ V1, at which point the adjustment of the duty cycle of the digital-to-analog conversion circuit stops;

[0071] When VN > VM, the main control module determines that the voltage value of the acquired analog signal is higher than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc', where Qc' = Qc - Qi. The acquisition circuit acquires the voltage value VN' of the analog signal after the duty cycle adjustment. The main control module repeats the above operations of calculating the real-time voltage difference based on the analog signal voltage value and comparing it with the first preset voltage difference and the second preset voltage difference to adjust the duty cycle of the digital-to-analog conversion circuit until the calculated real-time voltage difference Vs' reaches Vs' ≤ V1, at which point the adjustment of the duty cycle of the digital-to-analog conversion circuit stops.

[0072] Specifically, when the main control module determines that the real-time voltage difference exceeds the second preset voltage difference, the main control module compares the voltage value VN of the acquired analog signal with the voltage value VM of the commanded analog signal.

[0073] When VN < VM, the main control module determines that the voltage value of the acquired analog signal is lower than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc', where Qc' = Qc × [1 + (VM - VN) / VM];

[0074] When VN > VM, the main control module determines that the voltage value of the acquired analog signal is higher than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc', where Qc' = Qc × [1 - (VM - VN) / VM].

[0075] Please continue to refer to Figure 3 as shown, which is a schematic diagram of the circuit output by the digital signal circuit in this embodiment; in this embodiment, there are a total of 40 digital output signals, among which 20 are low-valid and 20 are configurable as high or low valid;

[0076] Specifically, a high-side chip, a low-side chip, a short-circuit prevention circuit, a high-side LED lamp circuit, and a low-side LED lamp circuit are provided in the digital signal circuit. The human-machine interaction interface issues a command to the main control module. The main control module controls the programmable power supply to output to the high-side chip and the low-side chip according to the command issued by the human-machine interaction interface. When the output digital signal is high-valid, it passes through the high-side chip. When the output digital signal is low-valid, it passes through the low-side chip. The short-circuit prevention circuit is used to prevent the high-side chip and the low-side chip from outputting simultaneously. The digital signal is output to the power domain controller to be detected through the short-circuit prevention circuit, completing the output of the digital signal. The high-side LED lamp circuit detects the signal output in the high-side chip. When the digital signal is output in the high-side chip, the high-side LED lamp circuit controls the LED lamp set inside to light up. The low-side LED lamp circuit detects the signal output in the low-side chip. When the digital signal is output in the low-side chip, the low-side LED lamp circuit controls the LED lamp set inside to light up.

[0077] Continue to refer to Figure 4 as shown. It is a circuit schematic diagram collected by the digital signal circuit of this embodiment. In this embodiment, for digital acquisition, there are a total of 30 channels, 12 channels with a high-valid 1A load capacity, 18 channels with a low-valid 9-channel 300mA load capacity, and 9 channels with a 500mA load capacity.

[0078] Specifically, a digital acquisition chip and a load resistor are also provided in the digital signal circuit. When the output of the power domain controller to be detected is a digital signal, the power domain controller to be detected simultaneously transmits the digital signal to the load resistor and the digital acquisition chip. Among them, the load resistor is used to detect the load capacity of the power domain controller to be detected, and the digital acquisition chip transmits the collected digital output to the main control module. The main control module transmits the collected digital signal to the human-machine interaction interface for display, completing the acquisition of the digital signal.

[0079] Please continue to refer to Figure 5 and Figure 6 as shown, where Figure 5 is a circuit schematic diagram collected by the PWM signal circuit of this embodiment; Figure 6 is a circuit schematic diagram of the output of the PWM signal circuit of this embodiment. In this embodiment, there are a total of 10 PWM outputs with an amplitude of 5 to 24V and an accuracy of 0.1V, and a total of 10 PWM acquisitions with an amplitude of 5 to 24V and an accuracy of 0.1V.

[0080] Specifically, a voltage conversion circuit is provided in the PWM signal circuit. When the human-machine interface issues a command to the main control module, the main control module transmits the PWM signal to the voltage conversion circuit. The main control module controls the voltage conversion circuit to convert the PWM signal through the programmable power supply and output it to the power domain controller to be detected, completing the output of the PWM signal. A PWM rectification circuit is also provided in the PWM signal circuit. When the output of the power domain controller to be detected is a PWM signal, the power domain controller to be detected outputs it to the PWM rectification circuit. The PWM rectification circuit converts the PWM signal output by the power domain controller to be detected into a standard square wave and transmits it to the main control module. The main control module then transmits the converted signal to the human-machine interface for display, completing the acquisition of the PWM signal.

[0081] Please continue to refer to Figure 7 As shown, it is the assembly diagram of the low-voltage load simulation system of the power domain controller described in this embodiment, including a 15-inch TFT Android industrial touch screen 1, an emergency button 2, a power failure indicator light 3, a key device 4, a gear device 5, an air-conditioning device 6, an electric defrosting device 7, a 1.5-inch serial screen 8, a potentiometer 9, a fan device 10, a water pump device 11, a pedal device 12, an accelerator device 13, an AD test interface 14, a 154PIN test interface 15, a CAN test interface 16, a PWM output display and control 17, an analog output display and control 18, a digital output display and control 19, and a digital acquisition display and control 20. Among them,

[0082] In this embodiment, an AD test interface 14, a 154PIN test interface 15, and a CAN test interface 16 are provided on the programmable power supply. The PWM output display and control 17 is used to display and control the PWM signal output in the PWM signal circuit. The analog output display and control 18 is used to display and control the analog signal output in the analog signal circuit. The digital output display and control 19 is used to display and control the digital signal output in the digital signal circuit. The digital acquisition display and control 20 is used to display and control the digital signal acquisition in the digital signal circuit.

[0083] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

[0084] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention; for those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A low-voltage load simulation system for a power domain controller, characterized in that, it includes, a human-machine interaction interface, which is a command input interface for the load simulation system, and the human-machine interaction interface can display the low-voltage load simulation data of the power domain controller; a main control module, which is connected to the human-machine interaction interface. The main control module can execute the commands input by the human-machine interaction interface and transmit the collected result signals to the human-machine interaction interface. The main control module is respectively connected to the power domain controller to be detected through an analog signal circuit, a digital signal circuit and a PWM signal circuit. The main control module can input and output analog signals through the analog signal circuit, input and output digital signals through the digital signal circuit, and input and output PWM signals through the PWM signal circuit; a first simulation function group, which is respectively connected to the main control module and the power domain controller to be detected. The first simulation function group can transmit the analog signals of function simulation to the main control module and the power domain controller to be detected. The first simulation function group includes an accelerator device, a pedal device and a potentiometer. The accelerator device is used to simulate the accelerator control during vehicle driving, the pedal device is used to simulate the brake control during vehicle driving, and the potentiometer is used to simulate the temperature sensor in the vehicle; a second simulation function group, which is respectively connected to the main control module and the power domain controller to be detected. The second simulation function group can transmit the digital signals of function simulation to the main control module and the power domain controller to be detected. The second simulation function group includes a key device, a gear device, an air-conditioning device, an electric defrosting device and an emergency button, which are used to simulate the real key, gear, air-conditioning, electric defrosting, air-conditioning and emergency button in the vehicle; a third simulation function group, which is connected to the power domain controller to be detected. The third simulation function group includes a fan device and a water pump device. The fan device and the water pump device can enter operation according to the control signals of the power domain controller to be detected; a programmable power supply, which is respectively connected to the power domain controller to be detected, the human-machine interaction interface, the main control module, the analog signal circuit, the digital signal circuit, the PWM signal circuit, the first simulation function group, the second simulation function group and the third simulation function group, and supplies power to each component through the control signals of the main control module; the power domain controller to be detected is also respectively connected to the human-machine interaction interface and the main control module through CAN communication. The human-machine interaction interface and the main control module can obtain the version of the internal software program of the power domain controller to be detected; A voltage conversion circuit, a digital-to-analog conversion circuit, and a feedback circuit are also provided in the analog signal circuit. The human-machine interface gives a command of an analog signal with a voltage value of VM to the main control module, where VM ≤ 36V. The main control module transmits a PWM signal with an amplitude of 5V to the voltage conversion circuit. The main control module controls the voltage conversion circuit to convert the PWM signal with an amplitude of 5V into a PWM signal with an amplitude of 36V through the programmable power supply. The digital-to-analog conversion circuit converts the PWM signal with an amplitude of 36V into an analog signal with a voltage value of VN. The feedback circuit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module. The main control module determines whether to adjust the duty cycle of the digital-to-analog conversion circuit according to the voltage value VN of the collected analog signal and the voltage value VM of the command analog signal.

2. The low-voltage load simulation system of the power domain controller according to claim 1, characterized in that, when the human-machine interface gives a command of an analog signal with a voltage value of VM to the main control module, the main control module calculates the initial duty cycle Qc of the digital-to-analog conversion circuit, Qc = VM / 36V. The main control module sets the initial duty cycle of the digital-to-analog conversion circuit to Qc. The feedback circuit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module.

3. The low-voltage load simulation system of the power domain controller according to claim 2, characterized in that, a first preset voltage difference V1 and a second preset voltage difference V2 are set in the main control module, where V1 < V2. When the feedback circuit collects the voltage value VN of the analog signal output by the digital-to-analog conversion circuit and transmits the result to the main control module, the main control module calculates the real-time voltage difference Vs, Vs = |VM - VN|. The main control module compares the real-time voltage difference Vs with the first preset voltage difference V1 and the second preset voltage difference V2. When Vs ≤ V1, the main control module determines that the real-time voltage difference does not exceed the first preset voltage difference, and the main control module determines that the voltage value of the analog signal output by the digital-to-analog conversion circuit is within the standard range, and the main control module does not adjust the duty cycle of the digital-to-analog conversion circuit; When V1 < Vs ≤ V2, the main control module determines that the real-time voltage difference is between the first preset voltage difference and the second preset voltage difference, and the main control module will determine the voltage value VM of the command analog signal to determine the method of adjusting the duty cycle of the digital-to-analog conversion circuit; When Vs > V2, the main control module determines that the real-time voltage difference exceeds the second preset voltage difference, and the main control module will adjust the duty cycle of the digital-to-analog conversion circuit according to the voltage value VM of the command analog signal and the voltage value VN of the collected analog signal.

4. The low-voltage load simulation system of the power domain controller according to claim 3, characterized in that, A standard grading voltage value Vt is set in the main control module. A low grading duty ratio Qd and a high grading duty ratio Qg are set in the main control module. When the main control module determines that the real-time voltage difference is between the first preset voltage difference and the second preset voltage difference, the main control module compares the voltage value VN of the collected analog signal with the standard grading voltage value Vt. When VN ≤ Vt, the main control module determines that the voltage value of the collected analog signal does not exceed the standard grading voltage value, and the main control module selects the low grading duty ratio Qd to adjust the duty ratio of the digital-to-analog conversion circuit. When VN > Vt, the main control module determines that the voltage value of the collected analog signal exceeds the standard grading voltage value, and the main control module selects the high grading duty ratio Qg to adjust the duty ratio of the digital-to-analog conversion circuit.

5. The low-voltage load simulation system of the power domain controller according to claim 4, characterized in that after the main control module selects the grading duty ratio Qi, where i = d, g, the main control module compares the voltage value VN of the collected analog signal with the commanded analog signal voltage value VM. When VN < VM, the main control module determines that the voltage value of the collected analog signal is lower than the commanded analog signal voltage value. The main control module adjusts the duty ratio of the digital-to-analog conversion circuit to Qc’, Qc’ = Qc + Qi. The acquisition circuit acquires the voltage value VN’ of the analog signal after the duty ratio adjustment. The main control module repeats the above operations of calculating the real-time voltage difference according to the analog signal voltage value and comparing it with the first preset voltage difference and the second preset voltage difference to adjust the duty ratio of the digital-to-analog conversion circuit until the calculated real-time voltage difference Vs’ reaches Vs’ ≤ V1, and then stops adjusting the duty ratio of the digital-to-analog conversion circuit. When VN > VM, the main control module determines that the voltage value of the collected analog signal is higher than the commanded analog signal voltage value. The main control module adjusts the duty ratio of the digital-to-analog conversion circuit to Qc’, Qc’ = Qc - Qi. The acquisition circuit acquires the voltage value VN’ of the analog signal after the duty ratio adjustment. The main control module repeats the above operations of calculating the real-time voltage difference according to the analog signal voltage value and comparing it with the first preset voltage difference and the second preset voltage difference to adjust the duty ratio of the digital-to-analog conversion circuit until the calculated real-time voltage difference Vs’ reaches Vs’ ≤ V1, and then stops adjusting the duty ratio of the digital-to-analog conversion circuit.

6. The low-voltage load simulation system of the power domain controller according to claim 5, characterized in that when the main control module determines that the real-time voltage difference exceeds the second preset voltage difference, the main control module compares the voltage value VN of the collected analog signal with the commanded analog signal voltage value VM. When VN < VM, the main control module determines that the voltage value of the collected analog signal is lower than the commanded analog signal voltage value. The main control module adjusts the duty ratio of the digital-to-analog conversion circuit to Qc’, Qc’ = Qc × [1 + (VM - VN) / VM]; When VN > VM, the main control module determines that the voltage value of the sampled analog signal is higher than the voltage value of the commanded analog signal. The main control module adjusts the duty cycle of the digital-to-analog conversion circuit to Qc’, where Qc’ = Qc × [1 - (VM - VN) / VM].

7. The low-voltage load simulation system of the power domain controller according to claim 1, wherein, a high-side chip, a low-side chip, a short-circuit prevention circuit, a high-side LED lamp circuit, and a low-side LED lamp circuit are provided in the digital signal circuit. The human-machine interface issues a command to the main control module, and the main control module controls the programmable power supply to output to the high-side chip and the low-side chip according to the command issued by the human-machine interface. When the output digital signal is high-valid, it passes through the high-side chip. When the output digital signal is low-valid, it passes through the low-side chip. The short-circuit prevention circuit is used to prevent the high-side chip and the low-side chip from outputting simultaneously. The digital signal is output to the power domain controller to be detected through the short-circuit prevention circuit, completing the output of the digital signal. The high-side LED lamp circuit detects the signal output in the high-side chip. When the digital signal is output in the high-side chip, the high-side LED lamp circuit controls the LED lamp provided therein to light up. The low-side LED lamp circuit detects the signal output in the low-side chip. When the digital signal is output in the low-side chip, the low-side LED lamp circuit controls the LED lamp provided therein to light up.

8. The low-voltage load simulation system of the power domain controller according to claim 7, wherein, a digital acquisition chip and a load resistor are further provided in the digital signal circuit. When the output of the power domain controller to be detected is a digital signal, the power domain controller to be detected simultaneously transmits the digital signal to the load resistor and the digital acquisition chip. Among them, the load resistor is used to detect the load capacity of the power domain controller to be detected, and the digital acquisition chip transmits the acquired digital output to the main control module. The main control module transmits the acquired digital signal to the human-machine interface for display, completing the acquisition of the digital signal.

9. The low-voltage load simulation system of the power domain controller according to claim 1, wherein, a voltage conversion circuit is provided in the PWM signal circuit. When the human-machine interface issues a command to the main control module, the main control module transmits the PWM signal to the voltage conversion circuit. The main control module controls the voltage conversion circuit to convert the PWM signal through the programmable power supply and output it to the power domain controller to be detected, completing the output of the PWM signal; a PWM rectification circuit is further provided in the PWM signal circuit. When the output of the power domain controller to be detected is a PWM signal, the power domain controller to be detected outputs it to the PWM rectification circuit. The PWM rectification circuit converts the PWM signal output by the power domain controller to be detected into a standard square wave and transmits it to the main control module. The main control module transmits the converted signal to the human-machine interface for display, completing the acquisition of the PWM signal.

Citation Information

Patent Citations

  • Offline vehicle logic test system and test method

    CN112362362A