Loop control method and device, computer equipment and storage medium
By acquiring current, voltage, and temperature data of the circuit to be monitored and performing comprehensive analysis and processing, the problem of low accuracy caused by single parameter judgment in the existing technology is solved, realizing a comprehensive reflection of the circuit status and improving the accuracy of protection and control.
Patent Information
- Application Number
- CN202511584622.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2025-12-26
AI Technical Summary
Existing loop control schemes only focus on a single parameter, making it difficult to comprehensively judge the loop status, resulting in low accuracy of protection and control.
By acquiring the current current data of the circuit to be monitored, a suitable target current sampling circuit is selected, target current, voltage and temperature data are collected, data analysis and processing are performed, and protection control is implemented based on the analysis results.
It achieves a comprehensive reflection of the circuit status, improves the accuracy and reliability of protection and control, and reduces the duration of misjudgments and abnormal states.
Smart Images

Figure CN121201094A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of automation, in particular to a loop control method and device, computer equipment and storage medium. BACKGROUND
[0002] In the field of vehicle control technology, the loop corresponding to the vehicle control system is a key power path to ensure system operation, but abnormal situations often occur due to differences in system operation characteristics.
[0003] In the existing loop control scheme, only a single parameter is concerned, which is difficult to comprehensively judge the loop state, resulting in low accuracy of protection control of the loop. SUMMARY
[0004] Therefore, it is necessary to provide a loop control method, device, computer equipment, computer readable storage medium and computer program product capable of improving the accuracy of protection control of the loop to solve the above technical problems.
[0005] In a first aspect, the present application provides a loop control method. The method comprises:
[0006] In response to a monitoring request for a to-be-monitored loop corresponding to a to-be-monitored vehicle control system, obtaining current current data of the to-be-monitored loop;
[0007] According to the current current data, determining a target current sampling circuit from a preset double-loop sampling circuit;
[0008] Collecting target current data of the to-be-monitored loop through the target current sampling circuit;
[0009] Performing data analysis and processing on the target current data, voltage data and temperature data of the to-be-monitored loop to obtain a data analysis result of the to-be-monitored loop;
[0010] In the case where the data analysis result represents an abnormality of the to-be-monitored loop, performing protection control processing on the to-be-monitored loop.
[0011] In one embodiment, the preset double-loop sampling circuit includes a first current sampling loop and a second current sampling loop; the first current sampling loop is used to collect current data less than a preset current threshold; and the second current sampling loop is used to collect current data greater than or equal to the preset current threshold.
[0012] The determining of the target current sampling circuit from the preset double-loop sampling circuit according to the current current data comprises:
[0013] determining that the target current sampling circuit is the first current sampling loop when the current data is less than the preset current threshold value;
[0014] determining that the target current sampling circuit is the second current sampling loop when the current data is greater than or equal to the preset current threshold value.
[0015] In one of the embodiments, the data analysis processing on the target current data, voltage data and temperature data of the to-be-monitored loop obtains the data analysis result of the to-be-monitored loop, which includes:
[0016] obtaining a preset threshold value corresponding to the to-be-monitored loop; the preset threshold value includes a preset current threshold value, a preset voltage threshold value and a preset temperature threshold value;
[0017] performing analysis processing on the temperature data according to the preset temperature threshold value to obtain a temperature analysis result of the to-be-monitored loop;
[0018] performing analysis processing on the target current data according to the preset current threshold value to obtain a current analysis result of the to-be-monitored loop;
[0019] performing analysis processing on the voltage data according to the preset voltage threshold value to obtain a voltage analysis result of the to-be-monitored loop;
[0020] determining the data analysis result according to the temperature analysis result, the current analysis result and the voltage analysis result.
[0021] In one of the embodiments, the determination of the data analysis result according to the temperature analysis result, the current analysis result and the voltage analysis result includes:
[0022] when the temperature analysis result indicates that the temperature data is greater than the preset temperature threshold value, or the current analysis result indicates that the target current data is greater than the preset current threshold value, or the voltage analysis result indicates that the voltage data is greater than the preset voltage threshold value, determining a duration corresponding to the threshold value greater than the threshold value; the threshold value is used to represent the preset temperature threshold value, or the preset current threshold value, or the preset voltage threshold value;
[0023] when the duration reaches a preset time threshold value, determining that the data analysis result represents an abnormality of the to-be-monitored loop.
[0024] In one of the embodiments, the determination of the data analysis result according to the temperature analysis result, the current analysis result and the voltage analysis result includes:
[0025] In a case where the temperature analysis result indicates that the temperature data is less than or equal to the preset temperature threshold, the current analysis result indicates that the target current data is less than or equal to the preset current threshold, and the voltage analysis result indicates that the voltage data is less than or equal to the preset voltage threshold, it is determined that the data analysis result represents that the to-be-monitored loop is normal.
[0026] In one of the embodiments, the analysis and processing of the target current data according to the preset current threshold to obtain the current analysis result of the to-be-monitored loop comprises:
[0027] The preset current threshold is updated according to the temperature data to obtain a target current threshold;
[0028] The target current data is analyzed and processed according to the target current threshold to obtain the current analysis result of the to-be-monitored loop.
[0029] In one of the embodiments, the protection control processing of the to-be-monitored loop in a case where the data analysis result represents that the to-be-monitored loop is abnormal comprises:
[0030] In a case where the data analysis result represents that the to-be-monitored loop is abnormal, an electronic insurance unit corresponding to the to-be-monitored loop is determined.
[0031] A disconnection instruction is sent to the electronic insurance unit, and the disconnection instruction is used to trigger the electronic insurance unit to cut off the power supply of the to-be-monitored loop.
[0032] In a second aspect, the application further provides a loop control device. The device comprises:
[0033] A data acquisition module is configured to acquire current current data of a to-be-monitored loop corresponding to a to-be-monitored vehicle control system in response to a monitoring request for the to-be-monitored loop;
[0034] A circuit determination module is configured to determine a target current sampling circuit from a preset double-loop sampling circuit according to the current current data;
[0035] A data acquisition module is configured to acquire target current data of the to-be-monitored loop through the target current sampling circuit;
[0036] A data analysis module is configured to perform data analysis processing on the target current data, voltage data, and temperature data of the to-be-monitored loop to obtain a data analysis result of the to-be-monitored loop;
[0037] A protection control module is configured to perform protection control processing on the to-be-monitored loop in a case where the data analysis result represents that the to-be-monitored loop is abnormal.
[0038] In a third aspect, the present application further provides a computer device. The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0039] In response to a monitoring request for a to-be-monitored loop corresponding to a to-be-monitored vehicle control system, current current data of the to-be-monitored loop is acquired;
[0040] According to the current current data, a target current sampling circuit is determined from preset double-loop sampling circuits;
[0041] Target current data of the to-be-monitored loop is collected through the target current sampling circuit;
[0042] Data analysis and processing are performed on the target current data, voltage data and temperature data of the to-be-monitored loop, and a data analysis result of the to-be-monitored loop is obtained;
[0043] In a case where the data analysis result represents an abnormality of the to-be-monitored loop, protection control processing is performed on the to-be-monitored loop.
[0044] In a fourth aspect, the present application further provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps:
[0045] In response to a monitoring request for a to-be-monitored loop corresponding to a to-be-monitored vehicle control system, current current data of the to-be-monitored loop is acquired;
[0046] According to the current current data, a target current sampling circuit is determined from preset double-loop sampling circuits;
[0047] Target current data of the to-be-monitored loop is collected through the target current sampling circuit;
[0048] Data analysis and processing are performed on the target current data, voltage data and temperature data of the to-be-monitored loop, and a data analysis result of the to-be-monitored loop is obtained;
[0049] In a case where the data analysis result represents an abnormality of the to-be-monitored loop, protection control processing is performed on the to-be-monitored loop.
[0050] In a fifth aspect, the present application further provides a computer program product. The computer program product comprises a computer program, and the computer program is executed by a processor to implement the following steps:
[0051] In response to a monitoring request for a to-be-monitored loop corresponding to a to-be-monitored vehicle control system, current current data of the to-be-monitored loop is acquired;
[0052] According to the current current data, a target current sampling circuit is determined from preset double-loop sampling circuits;
[0053] Target current data of the to-be-monitored loop is collected through the target current sampling circuit;
[0054] Data analysis processing is performed on the target current data, voltage data and temperature data of the to-be-monitored loop, and a data analysis result of the to-be-monitored loop is obtained;
[0055] In a case where the data analysis result represents an abnormality of the to-be-monitored loop, protection control processing is performed on the to-be-monitored loop.
[0056] The above-mentioned loop control method, device, computer equipment, computer readable storage medium and computer program product, in response to a monitoring request for a to-be-monitored loop corresponding to a to-be-monitored vehicle control system, current current data of the to-be-monitored loop is acquired; According to the current current data, a target current sampling circuit is determined from preset double-loop sampling circuits; Target current data of the to-be-monitored loop is collected through the target current sampling circuit; Data analysis processing is performed on the target current data, voltage data and temperature data of the to-be-monitored loop, and a data analysis result of the to-be-monitored loop is obtained; In a case where the data analysis result represents an abnormality of the to-be-monitored loop, protection control processing is performed on the to-be-monitored loop. This scheme acquires the current current data of the to-be-monitored loop in response to the monitoring request, providing a basis for the selection of the subsequent sampling circuit, which is conducive to the accurate matching of the adaptive sampling circuit. According to the current current data, a target current sampling circuit is determined from preset double-loop sampling circuits, which can avoid the limitations of single-loop sampling and is conducive to targeted data collection, and then high-precision target current data is collected through the target current sampling circuit. Through data analysis processing on the target current data, voltage data and temperature data, rather than relying on a single parameter, it is conducive to comprehensively reflecting the loop operation state and obtaining accurate data analysis results. Finally, according to the accurate data analysis result, the to-be-monitored loop is protected and controlled when the to-be-monitored loop is abnormal, thereby improving the accuracy of the protection control of the loop. BRIEF DESCRIPTION OF DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the embodiments or the related art description. Obviously, the drawings in the following description only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor on the basis of these drawings.
[0058] Figure 1 Flowchart of the loop control method in one embodiment;
[0059] Figure 2 Architecture diagram of the loop control method in one embodiment;
[0060] Figure 3 Architecture diagram of the master module in one embodiment;
[0061] Figure 4 Architecture diagram of the slave module in one embodiment;
[0062] Figure 5 Interface diagram of the host computer in one embodiment;
[0063] Figure 6 Another interface diagram of the host computer in one embodiment;
[0064] Figure 7 Front view of the monitoring and protection device in one embodiment;
[0065] Figure 8 Back view of the monitoring and protection device in one embodiment;
[0066] Figure 9 Structure block diagram of the loop control device in one embodiment;
[0067] Figure 10 Internal structure diagram of the computer device in one embodiment. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solutions and advantages of the present application more clear, the following will further describe the present application in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0069] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.
[0070] In one example embodiment, as shown in Figure 1 A loop control method is provided, and the embodiment is exemplified by applying the method to a controller (e.g., a vehicle controller); it can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through interaction between the terminal and the server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. In the embodiment, the method includes the following steps:
[0071] Step S101, in response to a monitoring request for a to-be-monitored loop corresponding to a to-be-monitored vehicle control system, acquiring current current data of the to-be-monitored loop;
[0072] Step S102, determining a target current sampling circuit from a preset double-loop sampling circuit according to the current current data;
[0073] Step S103, collecting target current data of the to-be-monitored loop through the target current sampling circuit;
[0074] Step S104, performing data analysis and processing on the target current data, voltage data, and temperature data of the to-be-monitored loop to obtain a data analysis result of the to-be-monitored loop;
[0075] Step S105, in the case where the data analysis result represents an abnormality of the to-be-monitored loop, performing protection control processing on the to-be-monitored loop.
[0076] The to-be-monitored vehicle control system can be various vehicle control systems that need to monitor power supply parameters, such as chassis suspension control systems, vehicle body electronic control systems, power drive control systems, etc.
[0077] The to-be-monitored loop can be an independent circuit loop connected to the to-be-monitored vehicle control system for monitoring the power supply operating parameters of the to-be-monitored vehicle control system, such as an independent loop connected to a chassis suspension control system or an independent loop connected to a power drive control system.
[0078] The monitoring request can be an instruction for triggering the collection and monitoring of power supply parameters of a certain to-be-monitored loop.
[0079] The current current data can be the current value of the to-be-monitored loop at the current time after responding to the monitoring request.
[0080] The preset double-loop sampling circuit can be a combined sampling circuit that includes two different range circuits, i.e., a small current sampling circuit and a large current sampling circuit.
[0081] The target current sampling circuit can be a sampling circuit with an adaptive range selected from preset double-loop sampling circuits according to the size of the current data.
[0082] The target current data can be a high-precision current value of the monitored loop collected by the target current sampling circuit.
[0083] The voltage data can be a voltage value of the monitored loop collected by the voltage sampling circuit.
[0084] The temperature data can be a temperature value related to the monitored loop collected by the temperature sensing module.
[0085] The data analysis and processing can be a processing of correlatively analyzing the collected target current data, voltage data, and temperature data and comparing them with preset threshold values.
[0086] The data analysis result can be a conclusion representing whether the working state of the monitored loop is normal after the data analysis and processing.
[0087] The protection control processing can be a protection operation performed when the data analysis result represents that the monitored loop is abnormal, which can include, for example, controlling an EFUSE (Electronic Fuse Unit / Module) to disconnect the load power supply of the monitored loop.
[0088] Optionally, the controller (which can be a monitoring protection device) receives and responds to a monitoring request for a to-be-monitored loop corresponding to a to-be-monitored vehicle control system. The monitoring request can be a periodic monitoring request automatically generated by the controller at a 10 ms (millisecond) sampling period, or an instant monitoring request issued by an upper computer. Through an internally initially configured sampling circuit, the current data of the to-be-monitored loop is preliminarily acquired. The controller internally pre-stores a range determination rule of a preset double-loop sampling circuit, which includes a small current sampling loop and a large current sampling loop. The current data is compared with the determination rule. If the current data is in the range of 1 mA (milliampere) to 5 A (ampere), the small current sampling loop is determined as the target current sampling circuit. If the current data is in the range of 5 A to 100 A, the large current sampling loop is determined as the target current sampling circuit. Through the determined target current sampling circuit, the target current data of the to-be-monitored loop is collected. The resolution of the target current data collected by the small current sampling loop is 0.01 mA, and the accuracy is ±5%. The resolution of the target current data collected by the large current sampling loop is 0.01 A, and the accuracy is ±2%. At the same time, through a voltage dividing circuit, the voltage data of the to-be-monitored loop is collected. The voltage dividing circuit supports voltage sampling within a voltage resistance range of 18 V (volt). Through an integrated resistance temperature sensor, the temperature data of the to-be-monitored loop is collected. The resolution of the temperature data is 0.1℃ (degree Celsius), and the accuracy is ±0.5℃. The collected target current data, voltage data and temperature data of the to-be-monitored loop are analyzed and processed. Specifically, the three types of data are compared with the overcurrent protection threshold (preset current threshold), the overvoltage protection threshold (preset voltage threshold) and the overtemperature protection threshold (preset temperature threshold) pre-configured by the upper computer, and the dynamic correlation between the current fluctuation and the temperature rising trend is analyzed, and then the data analysis result of the to-be-monitored loop is obtained. In the case that the data analysis result represents an abnormality of the to-be-monitored loop, the to-be-monitored loop is controlled and processed, for example, the internal EFUSE module is controlled to disconnect the load power supply of the to-be-monitored loop, at the same time, the fault alarm information is stored to an SD card (storage card) and uploaded to the cloud through a Wi-Fi (mobile hotspot) module, and the buzzer and indicator light of the device are triggered to sound and light alarm.
[0089] For example, after the controller receives a monitoring request for the to-be-monitored loop from the host computer through the USB (Universal Serial Bus) interface, it starts the response process. The slave module in the controller responsible for the to-be-monitored loop acquires the current current data of the to-be-monitored loop through the initial sampling circuit. The slave module compares the acquired current data with the rules according to the pre-stored preset dual-loop sampling circuit range determination rules, determines the target current sampling circuit, and the response time of the range switching is ≤50 ms. The slave module collects the target current data of the to-be-monitored loop through the determined target current sampling circuit, wherein the small current sampling circuit can realize high-precision small-range monitoring, and the large current sampling circuit can realize wide-range high-precision monitoring; at the same time, the slave module collects the voltage data of the to-be-monitored loop through the voltage dividing circuit, and collects the temperature data of the to-be-monitored loop through the integrated resistance temperature sensor. The slave module transmits the collected target current data, voltage data and temperature data to the master module through the high-speed SPI (Serial Peripheral Interface) bus, and the master module analyzes and processes the three types of data, specifically including comparing various types of data with pre-configured corresponding protection thresholds, and analyzing the dynamic correlation between current, voltage and temperature, and then obtaining the data analysis result of the to-be-monitored loop. If the data analysis result represents that the to-be-monitored loop is abnormal, the master module immediately sends a protection control instruction to the corresponding slave module, and the slave module controls the independently configured EFUSE to disconnect the load power supply of the to-be-monitored loop after receiving the instruction. At the same time, the slave module reports a fault alarm signal containing information such as fault type, occurrence time and parameter value to the master module, the master module pushes the alarm information to the host computer display, stores it to the SD card and uploads it to the cloud through the Wi-Fi module, and triggers the buzzer to sound and light alarm, and completes the protection control processing of the to-be-monitored loop.
[0090] In the circuit control method, in response to a monitoring request for a to-be-monitored vehicle control system corresponding to a to-be-monitored circuit, current data of the to-be-monitored circuit is acquired; a target current sampling circuit is determined from the preset double-circuit sampling circuit according to the current data; target current data of the to-be-monitored circuit is collected through the target current sampling circuit; data analysis and processing are performed on the target current data, voltage data and temperature data of the to-be-monitored circuit to obtain a data analysis result of the to-be-monitored circuit; and in the case that the data analysis result represents an abnormality of the to-be-monitored circuit, protection control processing is performed on the to-be-monitored circuit. The scheme provides a basis for the selection of the subsequent sampling circuit by responding to the monitoring request and acquiring the current data of the to-be-monitored circuit, which is conducive to the accurate matching of the subsequent sampling circuit. The target current sampling circuit is determined from the preset double-circuit sampling circuit according to the current data, which can avoid the limitations of single-circuit sampling and is conducive to targeted data collection, and then high-precision target current data is collected through the target current sampling circuit. The data analysis and processing are performed on the target current data, voltage data and temperature data instead of relying on a single parameter, which is conducive to comprehensively reflecting the running state of the circuit and obtaining accurate data analysis results. Finally, according to the accurate data analysis result, the to-be-monitored circuit is protected and controlled when it is abnormal, thereby improving the accuracy of the protection control of the circuit.
[0091] In one exemplary embodiment, the preset double-circuit sampling circuit includes a first current sampling circuit and a second current sampling circuit; the first current sampling circuit is used to collect current data less than a preset current threshold; the second current sampling circuit is used to collect current data greater than or equal to the preset current threshold; and the step S102 of determining the target current sampling circuit from the preset double-circuit sampling circuit according to the current data specifically includes the following contents: in the case that the current data is less than the preset current threshold, the target current sampling circuit is determined as the first current sampling circuit; and in the case that the current data is greater than or equal to the preset current threshold, the target current sampling circuit is determined as the second current sampling circuit.
[0092] The first current sampling circuit can be a sampling circuit in the preset double-circuit sampling circuit specially used for collecting small-range current data, which is designed to adapt to the high-precision monitoring demand of a low-current scene, for example, it can be a small-current sampling circuit based on a high-precision current operational amplifier detection circuit, used to collect 1mA~5A range current data, with a resolution of 0.01mA and an accuracy of ±5%.
[0093] The second current sampling circuit can be a sampling circuit in a preset double-circuit sampling circuit specially used for collecting large-range current data, and is designed to adapt to the stable monitoring demand of a large-current scene. For example, the second current sampling circuit can be a large-current sampling circuit constructed by a sampling resistor and a switchable high-bandwidth current operational amplifier detection circuit, used for collecting 5A-100A range current data, with a resolution of 0.01A and a precision of ±2%.
[0094] The preset current threshold can be a critical current value used for dividing the collection ranges of the first current sampling circuit and the second current sampling circuit, and is pre-configured to adapt to the current characteristics of the vehicle circuit. For example, the current value can be 5A, which is the demarcation point of the small-range and large-range collection ranges.
[0095] Optionally, the preset double-circuit sampling circuit inside the controller includes a first current sampling circuit and a second current sampling circuit. The first current sampling circuit is specially used for collecting current data less than a preset current threshold, and the second current sampling circuit is specially used for collecting current data greater than or equal to the preset current threshold. The preset current threshold is pre-configured by the upper computer through the human-computer interaction interface and stored in the controller. In response to a monitoring request for a to-be-monitored circuit corresponding to a to-be-monitored vehicle control system, current current data of the to-be-monitored circuit is obtained, and the obtained current current data is compared with the preset current threshold in real time. In the case where the current current data is less than the preset current threshold, the target current sampling circuit is determined to be the first current sampling circuit; in the case where the current current data is greater than or equal to the preset current threshold, the target current sampling circuit is determined to be the second current sampling circuit.
[0096] The technical scheme provided by the embodiment divides the preset double-circuit sampling circuit into the first current sampling circuit and the second current sampling circuit, and then matches the target current sampling circuit according to the current current data, which is beneficial to avoid the precision loss problem of a single-range circuit in monitoring, and thus is beneficial to realize high-precision data collection in different current ranges.
[0097] In one exemplary embodiment, the step S104 of performing data analysis and processing on the target current data, voltage data and temperature data of the to-be-monitored circuit to obtain a data analysis result of the to-be-monitored circuit includes the following contents: obtaining a preset threshold corresponding to the to-be-monitored circuit; the preset threshold includes a preset current threshold, a preset voltage threshold and a preset temperature threshold; analyzing and processing the temperature data according to the preset temperature threshold to obtain a temperature analysis result of the to-be-monitored circuit; analyzing and processing the target current data according to the preset current threshold to obtain a current analysis result of the to-be-monitored circuit; analyzing and processing the voltage data according to the preset voltage threshold to obtain a voltage analysis result of the to-be-monitored circuit; and determining the data analysis result according to the temperature analysis result, the current analysis result and the voltage analysis result.
[0098] The preset threshold value corresponding to the to-be-monitored loop can be a set of critical values of various parameters pre-configured for the specific to-be-monitored loop for judging whether the running state thereof is normal, which is adapted to the characteristics of the to-be-monitored vehicle control system connected to the to-be-monitored loop, for example, can include a preset current threshold value, a preset voltage threshold value, and a preset temperature threshold value.
[0099] The preset current threshold value can be a critical current value in the preset threshold value corresponding to the to-be-monitored loop for judging whether the target current data is abnormal.
[0100] The preset voltage threshold value can be a critical voltage value in the preset threshold value corresponding to the to-be-monitored loop for judging whether the voltage data is abnormal.
[0101] The preset temperature threshold value can be a critical temperature value in the preset threshold value corresponding to the to-be-monitored loop for judging whether the temperature data is abnormal.
[0102] The temperature analysis result can be a result obtained by comparing the temperature data of the to-be-monitored loop with the preset temperature threshold value corresponding to the loop, which represents whether the temperature state is normal.
[0103] The current analysis result can be a result obtained by comparing the target current data of the to-be-monitored loop with the preset current threshold value corresponding to the loop, which represents whether the current state is normal.
[0104] The voltage analysis result can be a result obtained by comparing the voltage data of the to-be-monitored loop with the preset voltage threshold value corresponding to the loop, which represents whether the voltage state is normal.
[0105] Optionally, the controller obtains the preset threshold value corresponding to the to-be-monitored loop, which can be independently configured for the to-be-monitored loop through the man-machine interaction interface of the upper computer or the control panel, includes the preset current threshold value, the preset voltage threshold value, and the preset temperature threshold value, and is stored in the internal storage module. After calling the preset threshold value, the temperature data of the to-be-monitored loop collected is first analyzed and processed according to the preset temperature threshold value, and the temperature analysis result of the to-be-monitored loop is obtained by comparing the temperature data with the preset temperature threshold value in real time. Subsequently, the target current data is compared and analyzed according to the preset current threshold value to obtain the current analysis result of the to-be-monitored loop; and the voltage data is compared and analyzed according to the preset voltage threshold value to obtain the voltage analysis result of the to-be-monitored loop. The temperature analysis result, the current analysis result, and the voltage analysis result are comprehensively judged, if any result represents abnormality, it is determined that the data analysis result is that the to-be-monitored loop is abnormal; if all results represent normality, it is determined that the data analysis result is that the to-be-monitored loop is normal.
[0106] The technical scheme provided by the embodiment is beneficial to avoiding misjudgment caused by single parameter analysis, comprehensively reflecting the loop operation state, and thus beneficial to improving the accuracy of the data analysis result of the to-be-monitored loop.
[0107] In one exemplary embodiment, in the step of determining the data analysis result according to the temperature analysis result, the current analysis result and the voltage analysis result, the following contents are included: in the case that the temperature analysis result indicates that the temperature data is greater than the preset temperature threshold, or the current analysis result indicates that the target current data is greater than the preset current threshold, or the voltage analysis result indicates that the voltage data is greater than the preset voltage threshold, the duration greater than the threshold corresponding to the case is determined; the threshold is used to represent the preset temperature threshold, or the preset current threshold, or the preset voltage threshold; in the case that the duration reaches a preset time threshold, the data analysis result is determined to represent that the to-be-monitored loop is abnormal.
[0108] The duration greater than the threshold can be the length of time that the state of the temperature data of the to-be-monitored loop being greater than the preset temperature threshold, or the state of the target current data being greater than the preset current threshold, or the state of the voltage data being greater than the preset voltage threshold is continuously maintained.
[0109] The preset time threshold can be a minimum duration standard pre-configured for the to-be-monitored loop for judging whether the state greater than the threshold constitutes an actual abnormality.
[0110] Optionally, the controller checks the temperature analysis result, the current analysis result and the voltage analysis result of the to-be-monitored loop one by one, and if it is found that the temperature analysis result indicates that the temperature data is greater than the preset temperature threshold, or the current analysis result indicates that the target current data is greater than the preset current threshold, or the voltage analysis result indicates that the voltage data is greater than the preset voltage threshold, the internal timing module is started to record the duration greater than the threshold corresponding to the case. At the same time, the preset time threshold of the to-be-monitored loop is called. During the timing process, the state of the corresponding parameter greater than the threshold is continuously monitored, and if the parameter falls within the threshold range, the timing module is reset; if it is monitored that the duration greater than the threshold reaches the preset time threshold, the data analysis result is determined to represent that the to-be-monitored loop is abnormal.
[0111] The technical scheme provided by the embodiment is beneficial to filtering false signals caused by short-time over-threshold due to transient fluctuations, and thus beneficial to improving the reliability of the data analysis result of the to-be-monitored loop.
[0112] In one exemplary embodiment, in the step, the data analysis result is determined according to the temperature analysis result, the current analysis result and the voltage analysis result, and specifically includes the following contents: in the case that the temperature analysis result indicates that the temperature data is less than or equal to the preset temperature threshold, the current analysis result indicates that the target current data is less than or equal to the preset current threshold, and the voltage analysis result indicates that the voltage data is less than or equal to the preset voltage threshold, it is determined that the data analysis result represents that the to-be-monitored loop is normal.
[0113] Optionally, the controller retrieves the preset temperature threshold, the preset current threshold and the preset voltage threshold pre-configured for the to-be-monitored loop from the internal storage module, and then synchronously checks the three types of analysis results. It is confirmed one by one whether the temperature analysis result indicates that the temperature data is less than or equal to the preset temperature threshold, whether the current analysis result indicates that the target current data is less than or equal to the preset current threshold, and whether the voltage analysis result indicates that the voltage data is less than or equal to the preset voltage threshold. When the above three conditions are met at the same time, it is determined that the data analysis result of the to-be-monitored loop represents that the to-be-monitored loop is normal, and the normal state result is pushed to the real-time parameter display area of the upper computer.
[0114] The technical scheme provided by the embodiment sets the condition that the temperature, current and voltage data are all less than or equal to the corresponding preset threshold, which is beneficial to avoid the misjudgment of ignoring the abnormality of other parameters due to the normality of a single parameter, realizes comprehensive analysis of the running state of the loop, and thus is beneficial to improve the accuracy of the normal state judgment of the to-be-monitored loop.
[0115] In one exemplary embodiment, in the step, the target current data is analyzed and processed according to the preset current threshold to obtain the current analysis result of the to-be-monitored loop, and specifically includes the following contents: the preset current threshold is updated according to the temperature data to obtain a target current threshold; and the target current data is analyzed and processed according to the target current threshold to obtain the current analysis result of the to-be-monitored loop.
[0116] The target current threshold can be a critical current value obtained after the temperature data updating processing and used for finally analyzing whether the target current data of the to-be-monitored loop is abnormal.
[0117] Optionally, the controller acquires temperature data of the to-be-monitored loop and a preset current threshold corresponding to the to-be-monitored loop. The controller internally pre-stores an association update rule of temperature and current threshold, and triggers corresponding update logic according to the acquired temperature data: if the temperature data does not reach a preset temperature condition, the preset current threshold is maintained unchanged, and the preset current threshold maintained unchanged is taken as a target current threshold; if the temperature data reaches or exceeds the preset temperature condition, the preset current threshold is adjusted according to the rule to obtain the target current threshold. After the update is completed, the target current data of the to-be-monitored loop is compared with the target current threshold in real time, if the target current data is less than or equal to the target current threshold, a current analysis result of current normality is obtained; if the target current data is greater than the target current threshold, a current analysis result of current abnormality is obtained.
[0118] For example, for the No. 3 to-be-monitored loop corresponding to the power drive control system, the preset current threshold of the loop is 60A, and the pre-stored update rule is "the current threshold is reduced by 10% when the temperature exceeds 70 DEG C". The temperature data of the No. 3 to-be-monitored loop collected by the slave module is 75 DEG C, and the target current data is 55A. After receiving the data, the master module determines that the temperature data exceeds 70 DEG C, updates the preset current threshold 60A, and calculates the target current threshold 54A. Then, the target current data 55A is compared with the target current threshold 54A, and the result that the target current data is greater than the target current threshold is obtained, so it is determined that the current analysis result represents current abnormality.
[0119] The technical scheme provided in this embodiment is advantageous in that the preset current threshold is updated according to the temperature data to obtain a target current threshold, and the target threshold is used to analyze the target current data, which is advantageous in adapting the current judgment standard to the real-time temperature working condition, thereby improving the accuracy of the current analysis result of the to-be-monitored loop.
[0120] In an exemplary embodiment, in the case where the data analysis result represents abnormality of the to-be-monitored loop, the to-be-monitored loop is subjected to protection control processing, which specifically includes the following contents: in the case where the data analysis result represents abnormality of the to-be-monitored loop, an electronic fuse unit corresponding to the to-be-monitored loop is determined; a disconnection instruction is sent to the electronic fuse unit; the disconnection instruction is used to trigger the electronic fuse unit to cut off the power supply of the to-be-monitored loop.
[0121] The electronic fuse unit can be a functional unit configured one-to-one with the to-be-monitored loop to realize power cut-off protection, has the characteristics of fast response and self-recovery, and for example, can be an EFUSE independently configured on a slave board connected with the to-be-monitored loop.
[0122] The disconnection instruction can be a control signal sent to the corresponding electronic fuse unit when it is determined that the to-be-monitored loop is abnormal, and used to trigger the electronic fuse unit to execute a power cut-off operation.
[0123] Optionally, after the controller determines that the data analysis results of the monitored circuit indicate an anomaly through data analysis, it retrieves an internally stored mapping table of monitored circuits and their corresponding electronic fuses. This mapping table records the correspondence between each monitored circuit and its dedicated electronic fuse. Based on the identification information of the abnormal monitored circuit, the controller queries and determines the corresponding electronic fuse from the mapping table. A disconnect command is sent to the determined electronic fuse. After the electronic fuse receives the disconnect command, it triggers its internal hardware protection mechanism to quickly cut off the power supply to the monitored circuit.
[0124] The technical solution provided in this embodiment, by identifying the corresponding electronic fuse unit when a circuit is abnormal and issuing a disconnect command to trigger it to cut off the power, is conducive to achieving accurate positioning and individual protection of abnormal circuits. This helps to reduce the duration of abnormal states, reduce the risk of damage to the monitored circuit and the associated vehicle control system, and improve the pertinence and reliability of protection control.
[0125] The following application example illustrates the loop control method provided in this application. The loop control method in this application example is based on an EFUSE self-recovering dual-loop vehicle power monitoring and protection device (monitoring and protection device). This device includes a main control module and multiple slave control modules. The main control module integrates a high-performance 32-bit MCU (microcontroller unit), a Wi-Fi module, an SD card storage controller, etc. Each of the multiple slave control modules is configured with an independent MCU, an EFUSE electronic fuse module, a preset dual-loop sampling circuit, a temperature sensing module, etc. The main control module and the slave control modules communicate via a high-speed SPI (serial peripheral interface) bus, such as... Figure 2 As shown, the entire monitoring and protection device (i.e. Figure 2 The monitoring platform (in the system) connects to loads 1-4 via the drive output harness and to the controller (SD card storage controller) via the drive input harness. The monitoring and protection device is also connected to the power supply and the host computer, enabling intelligent monitoring of each load. The following describes the execution flow of this method in detail, using the control process of one of the monitored vehicle control systems (such as the chassis suspension control system) as an example:
[0126] 1. Respond to monitoring requests and obtain current current data:
[0127] The main control module responds to monitoring requests, which can originate from active monitoring commands issued by the host computer's human-machine interface, or from periodic automatic monitoring commands triggered after the device is powered on (sampling period is 10ms). For example... Figure 3As shown, the hardware architecture of the main control module includes a power interface, a 5V to 3.3V circuit, a memory card interface circuit, a universal serial bus interface circuit, a microcontroller unit, a 12V to 5V circuit, an LCD screen interface circuit, an emergency stop (connected to the power input), and a single-channel serial peripheral interface. The main control module sends a data acquisition start signal to the slave control module corresponding to the monitored circuit through a high-speed SPI bus.
[0128] After the slave control module receives the signal, such as Figure 4 As shown, the slave control module includes a transistor module, sampling resistor, small transistor, electronic fuse unit control chip, switch control, operational amplifiers 1-4, microcontroller unit, serial peripheral interface (connected to the main control board), 5V to 3.3V, 12V to 5V circuit, etc. It controls the initial sampling unit in its internal preset dual-loop sampling circuit to perform pre-acquisition. The initial sampling unit is a small current sampling loop (built based on a high-precision current operational amplifier detection circuit). This initial sampling unit performs preliminary detection of the current of the loop to be monitored, obtains the initial current detection value, and uses this initial current detection value as the current current data, which is fed back to the master control module through the high-speed SPI bus.
[0129] 2. Determine the target current sampling circuit based on the current current data:
[0130] After receiving the current current data, the main control module calls the built-in loop switching judgment logic to identify the range of the current current data. The preset dual-loop sampling circuit includes a small current sampling loop (monitoring range 1mA-5A) and a large current sampling loop (monitoring range 5A-100A), such as... Figure 4 As shown, the high-current loop improves sampling accuracy through three operational amplifier circuits with different amplification factors. When the current data is in the 1mA-5A range, the main control module determines the target current sampling circuit as a low-current sampling loop; when the current data is in the 5A-100A range, the main control module determines the target current sampling circuit as a high-current sampling loop (constructed by a sampling resistor and a switchable high-bandwidth current operational amplifier detection circuit). The main control module sends the selection command for the target current sampling circuit to the slave control module via the high-speed SPI bus. After receiving the command, the MCU in the slave control module controls the switching switch to complete the switching to the target current sampling circuit. The response time of the entire switching process is ≤50ms.
[0131] 3. Acquire target current data through the target current sampling circuit:
[0132] After switching from the control module to the target current sampling circuit, the circuit is started for accurate collection: if the target current sampling circuit is a small current sampling loop, the current of the monitored loop is collected by a high-precision current operational amplifier detection circuit to obtain target current data with a resolution of 0.01 mA and an accuracy of ±5%; if the target current sampling circuit is a large current sampling loop, the current is collected by the cooperative action of a sampling resistor and a switchable high-bandwidth current operational amplifier detection circuit to obtain target current data with a resolution of 0.01 A and an accuracy of ±2%. At the same time, the slave module collects voltage data of the monitored loop through a voltage dividing circuit (which supports voltage sampling within a voltage range of 18V), and temperature data of the monitored loop through an integrated resistance temperature sensor (resolution 0.1℃, accuracy ±0.5℃). The slave module synchronously transmits the collected target current data, voltage data, and temperature data to the master module through a high-speed SPI bus after preliminary filtering, and the master module stores the received real-time data in an SD card and uploads it to the cloud through a Wi-Fi module.
[0133] 4. Data analysis and processing of target current data, voltage data, and temperature data:
[0134] The master module calls a multi-parameter linkage analysis algorithm to perform comprehensive data analysis and processing of target current data, voltage data, and temperature data: first, compare the target current data with the preset overcurrent protection threshold (which is configured by the upper computer and sent to the slave module MCU for storage), compare the voltage data with the preset overvoltage protection threshold (configured by the upper computer), and compare the temperature data with the preset overtemperature protection threshold (configured by the upper computer); second, perform parameter correlation analysis: when the target current data and / or voltage data abnormally rise, the temperature data is synchronously analyzed for temperature rise rate, and if the temperature data exceeds 70℃, the overcurrent protection threshold is automatically reduced by 10%; finally, determine whether the abnormal parameters continuously exceed the corresponding preset threshold and the duration reaches the preset overcurrent protection delay time (configured by the upper computer), if the above conditions are met, the data analysis result representing the abnormality of the monitored loop is obtained, if not, the data analysis result representing the normality of the monitored loop is obtained. As shown in Figure 5 The upper computer interface includes project information, project name, product model, vehicle model name, test time, loop, number, switch, set current, real-time current, set temperature, real-time temperature, communication port, set current, overcurrent time, small current detection, operation object, set temperature, upload interval, and other interface elements. Users can configure parameters and monitor through the interface, for example, they can monitor loop 1 real-time current data (represented by time axis and current value).
[0135] 5. Protection control processing when the data analysis result represents an abnormality:
[0136] When the data analysis result characterizes an abnormality of the to-be-monitored loop, the master module sends a protection control instruction to the corresponding slave module through the high-speed SPI bus. After receiving the instruction, the MCU inside the slave module controls the EFUSE electronic fuse module to disconnect the load power supply of the to-be-monitored loop, realizing rapid protection at the hardware level. At the same time, the slave module reports the fault alarm signal and fault information (including fault type, occurrence time, target current data, voltage data, temperature data in abnormal state, etc.) to the master module through the high-speed SPI bus.
[0137] After the master module receives the above information, it pushes it to the real-time parameter display area of the man-machine interface of the host computer through the USB interface (supporting full-speed mode) for display, as shown in FIG. 5. Figure 6 As shown in FIG. 5, the host computer interface area displays real-time data, historical data, current (for example, 0), temperature (for example, 22.8℃), input voltage (for example, 0.40V), output voltage (for example, 0.70V), channel state, tube state, set temperature, set current, overcurrent protection time, loop 1, start-stop time, time point, enable state, tube switch, fault code, etc. Detailed information. At the same time, the buzzer on the front of the device emits a sound alarm, as shown in FIG. 6. Figure 7 As shown in FIG. 6, the front of the device contains slave machines 1-6 (displaying channel state, including current 0.00A, view, fault / disabled, enabled / disabled), buzzer, emergency stop switch, interface, power switch, voltage adjustment, power interface, memory card, display, buzzer switch, etc. Panel elements, and display fault information through the liquid crystal screen; if the device is configured with cloud transmission function, the master module will also upload the fault information to the cloud through the Wi-Fi module.
[0138] If the user finds an emergency, he can press the physical emergency stop switch integrated on the master control board. At this time, the device immediately cuts off all loop power and resets the EFUSE electronic fuse module, further enhancing the protection effect. As shown in FIG. 7. Figure 8 As shown in FIG. 7, the back of the device displays the layout of 6 groups of input and output terminals (each group contains input and output terminals), which facilitates the user to connect the to-be-monitored vehicle control system. The entire device is powered by a 9-18V power supply, and the device consumes ≤3A of current. The built-in 3A glass tube fuse provides overcurrent protection, ensuring the stability and safety of the system operation.
[0139] The monitoring platform proposed in this embodiment realizes intelligent monitoring of vehicle control system development and testing through distributed acquisition architecture, self-adaptive range switching mechanism and multi-parameter linkage protection system. The specific design is as follows:
[0140] I. System architecture design:
[0141] 1. Distributed acquisition architecture:
[0142] Master module: high-performance 32-bit micro control unit (MCU) is adopted, integrated universal serial bus 2.0 interface, wireless network module, storage card storage controller, realizes data acquisition, cloud transmission, local storage and host computer communication function. Among them, the universal serial bus 2.0 interface supports full speed mode, the wireless network module adopts preset protocol, and the storage controller supports 10 level and above storage card.
[0143] Slave module: each slave board is independently configured with micro control unit, electronic fuse module (EFUSE), multi-range sampling circuit and temperature sensing module, supports n independent channels (1 to n loop), communicates with master module through high-speed serial peripheral interface bus (SPI), and ensures that the data transmission rate is greater than or equal to 1 megabit per second.
[0144] Load interface: 1 to n loop is connected to different control systems, such as chassis suspension, vehicle body electronics, etc., each channel is equipped with independent electronic fuse module, which can realize different demand current operation with external metal oxide semiconductor field effect transistor, and realizes hardware level overcurrent protection with operational amplifier and sampling resistor.
[0145] 2. Multi-parameter synchronous monitoring:
[0146] Current monitoring: dual-loop sampling design is adopted. Small current loop realizes 1-5 amp range monitoring based on high-precision current operational amplifier detection circuit, with resolution of 0.01 mA and accuracy of ± 5%. Large current loop realizes 5-100 amp range monitoring through sampling resistor and switchable high-bandwidth current operational amplifier detection circuit, with resolution of 0.01 amp and accuracy of ± 2%. Automatic range switching is dynamically switched by micro control unit based on real-time current detection value, and the switching response time is less than or equal to 50 ms.
[0147] Voltage monitoring: voltage sampling within 18-volt voltage range is realized by voltage dividing circuit, and 19-volt positive and negative 1-volt automatic protection is realized.
[0148] Temperature monitoring: integrated resistance temperature sensor detects temperature change, with resolution of 0.1 degree Celsius and accuracy of ± 0.5 degree Celsius.
[0149] 3. Intelligent protection mechanism:
[0150] Threshold adaptive setting: overcurrent protection threshold (0.1-100 amp), overvoltage protection threshold (5-18 volt), overtemperature protection threshold of each loop can be independently configured through host computer man-machine interface or control panel. The set value is sent by master board to corresponding slave board micro control unit for storage and execution.
[0151] Dynamic protection delay: Supports independent triggering of three abnormal modes of overcurrent, overvoltage, and overtemperature. The overcurrent protection delay time ranges from 1 to 512 seconds, avoiding false protection caused by transient fluctuations.
[0152] Multi-parameter linkage protection: Realizes dynamic correlation analysis of current, voltage, and temperature parameters. For example, when the current and voltage abnormally rise, the temperature rise rate is monitored synchronously, and when the temperature is abnormal, the current protection threshold is automatically reduced by 10% when the temperature exceeds 70 degrees Celsius. When any parameter exceeds the threshold and continues to exceed the set delay time, the local micro control unit immediately controls the electronic fuse module to disconnect the load power supply, realizing rapid hardware protection; the slave board sends a fault alarm signal and fault information, including fault type, occurrence time, and parameter value, to the master control board through the high-speed bus; the system responds to the master control board to push the alarm information to the host computer display through the universal serial bus and upload it to the cloud through the wireless network. The monitoring platform can issue an audible and visual alarm to prompt the user.
[0153] II. Function implementation module:
[0154] 1. Data acquisition and storage:
[0155] Real-time monitoring: The master control module synchronously collects current, voltage, and temperature data of n loops with a 10-millisecond sampling period, stores them to a storage card, and uploads them to the cloud.
[0156] Historical data management: The host computer supports importing storage card data and cloud historical records, providing waveform curve, table graph, trend analysis, and other visualization functions.
[0157] 2. Human-computer interaction interface:
[0158] The host computer interface includes the following areas: project information display area, supporting import and export of configuration files and storage card data; real-time parameter display area, dynamically displaying set values and real-time values of each loop, supporting threshold calibration and parameter modification; historical data query area, supporting filtering of historical waveforms and statistical report generation of each loop according to the time axis; operation control area, integrating parameter setting, software upgrading, calibration tool, and emergency shutdown instruction issuing functions; real-time waveform monitoring area, supporting multi-loop waveform superposition display and custom parameter selection.
[0159] 3. Emergency protection module:
[0160] Physical emergency stop switch: The master control board integrates an emergency shutdown button that immediately cuts off the power supply of all loops and resets the electronic fuse module when triggered.
[0161] Software protection mechanism: When a hardware failure is detected, such as micro control unit watchdog timeout, communication interruption, or parameter configuration triggering protection threshold, automatically switch to safety mode and trigger an alarm.
[0162] III. Illustration:
[0163] The adaptive range switching technology realizes high-precision coverage in the range of 1 milliampere to 100 amperes through double-loop sampling and dynamic switching mechanism, solves the contradiction between wide-range monitoring and precision. The multi-parameter linkage protection system analyzes the current, voltage and temperature parameters, dynamically adjusts the protection threshold to avoid false triggering. The cloud and local dual storage architecture combines local storage of storage card and wireless network cloud synchronization to meet the high reliability data backup demand. The modular hardware design independently configures electronic fuse and sampling circuit for control board, supports quick replacement and system expansion.
[0164] IV. Main chip device reference list:
[0165] The single-channel micro control unit is a 48 megahertz general-purpose micro control unit; the power low dropout linear regulator is a general-purpose low dropout linear regulator; the electronic fuse control chip is a special electronic fuse chip; the main control micro control unit is a high-performance real-time reduced instruction set computer fifth-generation micro controller; the sampling resistor is a 1.5 milli-ohm 7 watt resistor; the N-type metal oxide semiconductor field effect transistor is a 40 volt 300 ampere; and the operational amplifier is a high-side current operational amplifier chip.
[0166] V. Reference appearance example (reference Figure 7 ):
[0167] Front of the device: the device power input, the input voltage is 9 to 18 volts, the device consumes less than or equal to 3 amperes; the device fuse is built-in 5 by 20 millimeter 3 ampere glass tube fuse; power switch; buzzer switch; storage card interface; liquid crystal screen; square USB interface to host computer; emergency stop button, press down the device power off; buzzer.
[0168] Back of the device (reference Figure 8 ): current input terminal; current output terminal; device ground, need to connect the tested system ground, the device power input ground also need to connect the tested system ground.
[0169] In this embodiment:
[0170] 1. Distributed intelligent monitoring architecture:
[0171] Through the master module, including micro control unit, wireless network module, storage card, and the coordinated design of multi-channel slave module, including independent electronic fuse and double-loop sampling, the n-way independent channel current (1 milliampere to 100 amperes), voltage (5 volts to 18 volts), temperature (negative 40 degrees Celsius to 125 degrees Celsius) synchronous monitoring is realized, supporting hardware level overcurrent protection and software level emergency stop instruction.
[0172] 2. Adaptive range switching technology:
[0173] Based on the dynamic switching mechanism of the dual-loop sampling circuit (small current loop 1mA to 5A, precision plus or minus 5%, large current loop 5A to 100A, precision plus or minus 2%), through the combination of sampling resistance (0.1mΩ or 1mΩ) and operational amplifier, wide range high precision monitoring is realized, and the switching response time is less than or equal to 50ms.
[0174] 3. Multi-parameter linkage protection system:
[0175] A current-voltage-temperature dynamic correlation model is constructed, and the protection logic is triggered when any parameter is abnormal. The temperature rise rate is compensated, and the current protection threshold is automatically reduced when the temperature is abnormal. For example, when the temperature exceeds 70 degrees Celsius, the current threshold is reduced by 10%. The delay is adaptively matched, and according to the load type, such as chassis suspension or power system, the protection delay is configured to 1 to 511 seconds to avoid false triggering caused by transient fluctuations.
[0176] 4. Cloud and local dual storage architecture:
[0177] A dual-channel design of wireless network uploading to the cloud and local storage card is adopted, which supports real-time backup and remote retrieval of historical data, and the data sampling period is 10ms, which meets the full life cycle test requirements of vehicle control system. Among them, the wireless network communication adopts Message Queue Telemetry Transport Protocol (MQTT), and the storage card format is File Allocation Table 32 (FAT32).
[0178] In this embodiment:
[0179] 1. Dual-loop sampling switching mechanism:
[0180] This embodiment proposes a power supply monitoring system, which includes a plurality of slave modules, each of which is configured with an independent electronic fuse circuit, a dual-sampling loop (including a small current loop and a large current loop) and an automatic switching logic, which dynamically selects the sampling loop according to the real-time current value; the master control module receives data from each slave module through the high-speed serial peripheral interface bus, and supports cloud and local storage.
[0181] 2. Multi-parameter linkage protection logic:
[0182] The protection logic can include: real-time correlation analysis of current, voltage and temperature parameters; compensation mechanism for automatically adjusting the current protection threshold when the temperature is abnormal; dynamic configuration function of programmable protection delay (1 to 511 seconds).
[0183] For example:
[0184] 1. Hardware-level protection module: The electronic fuse circuit is independently designed, with a rated current of 100A and a response time of less than or equal to 100μs.
[0185] 2. Cloud collaborative management: The master module uploads data to the cloud through the wireless network module using the 802.11b / g / n protocol (wireless LAN protocol) and supports remote cloud instruction issuance.
[0186] 3. Adaptive sampling algorithm: The temperature rise rate compensation mechanism is based on real-time temperature data of the temperature-sensitive resistance sensor, and the compensation coefficient is obtained through neural network model training.
[0187] 4. Modular expansion design: The slave module supports hot-plug expansion, and each channel is configured with an independent communication address.
[0188] Among them, infrared communication can replace wired or wireless network transmission. Specifically, point-to-point data transmission is achieved through infrared light signals, supporting multi-channel synchronous acquisition. The implementation method is to use a laser emission module and a detector combined with time division multiplexing technology to achieve n-way parallel data transmission. Compared with wired or wireless network communication, infrared communication is not affected by electromagnetic interference inside the car or electronic equipment, but direct alignment requires high requirements, such as shielding, vibration can affect stability, strong light or dust can weaken signal strength, transmission distance is shorter, communication rate is slower and cannot meet the demand of high-bandwidth real-time data transmission, which is weaker than wireless network communication rate. In addition, different forms of current sampling arrays can be used to construct the sampling loop; different forms of power protection can be used, such as using other high-side drive modules based on metal oxide semiconductor field effect transistor on-resistance for power-off control.
[0189] The technical scheme of the embodiment solves the technical problems in the development and testing of vehicle control systems through multi-channel adaptive monitoring, intelligent protection mechanism and cloud collaborative management, and the specific technical effects are as follows:
[0190] I. System reliability and safety improvement:
[0191] 1. Intelligent protection and fault isolation: Through dynamic threshold setting (including current, voltage, temperature, and time) and multi-parameter linkage protection (current-voltage-temperature correlation analysis), precise identification and rapid response of abnormal events (such as short circuit, over-temperature) are achieved, and protection delay can be programmed from 1 to 511 seconds to avoid transient fluctuation false triggering. Double mechanism of hardware-level electronic fuse protection and software-level emergency stop instruction ensures millisecond-level power-off of the system when a fault occurs, reduces the risk of hardware damage, and reduces losses (such as the loss of sensors, loads, control modules, etc.).
[0192] 2. Wide range and high precision monitoring: Dual-loop sampling switching technology is adopted, small current loop 1mA to 5A, precision positive and negative 5%, large current loop 5A to 100A, precision positive and negative 2%, covering the full scene requirements of vehicle control system, such as microampere level detection during chassis suspension dormancy, 100 ampere monitoring during power system transient state. Range adaptive switching, response time less than or equal to 50 milliseconds, multi-channel synchronous acquisition (n independent loops), solving the precision loss problem caused by fixed range of existing technology.
[0193] II. Development efficiency and resource optimization:
[0194] 1. Remote collaboration and data management: Cloud and local dual storage architecture, wireless network upload and storage card storage, supporting real-time backup and remote access of historical data, such as current waveform, temperature trend, reducing on-site debugging time by more than or equal to 50%. Intelligent analysis function of upper computer assists in quickly locating fault causes, shortening problem troubleshooting cycle by 30% to 50%.
[0195] 2. Flexible configuration and modular design: Independent loop protection threshold setting, supporting n independent parameter configuration, adaptive matching with protection delay (1 to 511 seconds adjustable), no need to redevelop protection logic for different systems, reducing development cost by 20% to 80%. Modular design of slave control board supports quick replacement and expansion, adapting to chassis suspension, vehicle body electronics and other multi-type system test requirements, improving resource reuse rate.
[0196] III. Product performance optimization and quality control:
[0197] 1. Data-driven parameter optimization: Through historical data comparison and analysis, such as test data of different batches of products, the performance difference (such as current fluctuation range, temperature rise rate) can be quantified, which assists the design team in selecting the optimal parameter combination and improving product reliability by 15% to 25%. Real-time waveform monitoring (sampling period 10 milliseconds) and dynamic protection strategy (such as temperature rise rate trigger threshold adjustment) provide accurate data support for system optimization.
[0198] 2. Multi-dimensional quality control: Voltage-current-temperature time linkage protection mechanism (such as automatically reducing current threshold at high temperature) avoids single parameter misjudgment, reduces misshutdown rate by more than or equal to 60%. Wide temperature range working ability adapts to vehicle extreme environment test requirements, ensuring data acquisition stability.
[0199] Through the implementation of the embodiment:
[0200] 1. Cost savings: Hardware damage rate reduced by 30%, test resource repeated investment reduced by 20%, project cycle shortened by 15% to 30%.
[0201] 2. Industry adaptability: support vehicle control system development full life cycle management (from laboratory test to mass production verification), fill the gap of existing technology in multi-channel, high precision, wide dynamic range monitoring field.
[0202] The technical scheme provided by the application example realizes multi-channel high-precision intelligent power supply monitoring, effectively solves the monitoring needs in the development and testing of vehicle control systems through a distributed acquisition architecture, a self-adaptive range switching mechanism and a multi-parameter linkage protection system, and provides complete protection and monitoring functions.
[0203] It should be understood that although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.
[0204] Based on the same inventive concept, the embodiments of the present application also provide a loop control device for implementing the loop control method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more loop control device embodiments provided below can refer to the limitations of the loop control method in the above text, and will not be repeated here.
[0205] In one exemplary embodiment, as shown in Figure 9 A loop control device 900 can include:
[0206] A data acquisition module 901 configured to acquire current current data of a to-be-monitored loop in response to a monitoring request for the to-be-monitored loop corresponding to a to-be-monitored vehicle control system;
[0207] A circuit determination module 902 configured to determine a target current sampling circuit from a preset double-loop sampling circuit according to the current current data;
[0208] A data acquisition module 903 configured to acquire target current data of the to-be-monitored loop through the target current sampling circuit;
[0209] The data analysis module 904 is configured to perform data analysis on the target current data, the voltage data and the temperature data of the to-be-monitored circuit, and obtain a data analysis result of the to-be-monitored circuit.
[0210] The protection control module 905 is configured to perform protection control processing on the to-be-monitored circuit in a case where the data analysis result indicates that the to-be-monitored circuit is abnormal.
[0211] In an example embodiment, the preset double-circuit sampling circuit includes a first current sampling circuit and a second current sampling circuit. The first current sampling circuit is configured to collect current data less than a preset current threshold. The second current sampling circuit is configured to collect current data greater than or equal to the preset current threshold. The circuit determination module 902 is further configured to determine the target current sampling circuit as the first current sampling circuit in a case where the current data is less than the preset current threshold, and determine the target current sampling circuit as the second current sampling circuit in a case where the current data is greater than or equal to the preset current threshold.
[0212] In an example embodiment, the data analysis module 904 is further configured to obtain a preset threshold corresponding to the to-be-monitored circuit, and perform analysis on the temperature data according to the preset temperature threshold to obtain a temperature analysis result of the to-be-monitored circuit. The data analysis module 904 is further configured to perform analysis on the target current data according to the preset current threshold to obtain a current analysis result of the to-be-monitored circuit, and perform analysis on the voltage data according to the preset voltage threshold to obtain a voltage analysis result of the to-be-monitored circuit. The data analysis module 904 is further configured to determine the data analysis result according to the temperature analysis result, the current analysis result and the voltage analysis result.
[0213] In an example embodiment, the data analysis module 904 is further configured to determine a duration greater than a threshold in a case where the temperature analysis result indicates that the temperature data is greater than the preset temperature threshold, or the current analysis result indicates that the target current data is greater than the preset current threshold, or the voltage analysis result indicates that the voltage data is greater than the preset voltage threshold. The threshold is used to represent the preset temperature threshold, or the preset current threshold, or the preset voltage threshold. The data analysis module 904 is further configured to determine that the data analysis result indicates that the to-be-monitored circuit is abnormal in a case where the duration reaches a preset time threshold.
[0214] In an example embodiment, the data analysis module 904 is further configured to determine that the data analysis result indicates that the to-be-monitored circuit is normal in a case where the temperature analysis result indicates that the temperature data is less than or equal to the preset temperature threshold, the current analysis result indicates that the target current data is less than or equal to the preset current threshold, and the voltage analysis result indicates that the voltage data is less than or equal to the preset voltage threshold.
[0215] In an example embodiment, the data analysis module 904 is further configured to update the preset current threshold according to the temperature data to obtain a target current threshold, and analyze the target current data according to the target current threshold to obtain the current analysis result of the to-be-monitored loop.
[0216] In an example embodiment, the protection control module 905 is further configured to, in a case where the data analysis result indicates that the to-be-monitored loop is abnormal, determine an electronic fuse unit corresponding to the to-be-monitored loop, send a disconnection instruction to the electronic fuse unit, and the disconnection instruction is used to trigger the electronic fuse unit to cut off the power supply of the to-be-monitored loop.
[0217] The above-mentioned modules in the loop control device can be implemented by software, hardware, or a combination thereof, in whole or in part. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the above-mentioned modules.
[0218] In an example embodiment, a computer device is provided, which can be a terminal, and the internal structure diagram thereof can be as shown in Figure 10 The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to perform wired or wireless communication with external terminals, and the wireless communication can be achieved through WIFI, mobile cellular network, NFC (Near Field Communication), or other technologies. The computer program is executed by the processor to implement a loop control method. The display unit of the computer device is configured to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or can be a key, a trackball, or a touchpad arranged on the shell of the computer device, or can be an external keyboard, a touchpad, or a mouse, etc.
[0219] Those skilled in the art can understand that, Figure 10The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0220] In an exemplary embodiment, a computer device is also provided, including a memory and a processor, the memory storing a computer program, and the processor implementing the steps in the above method embodiments when executing the computer program.
[0221] In an exemplary embodiment, a computer readable storage medium is provided, storing a computer program, and the computer program implementing the steps in the above method embodiments when executed by a processor.
[0222] In an exemplary embodiment, a computer program product is provided, including a computer program, and the computer program implementing the steps in the above method embodiments when executed by a processor.
[0223] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0224] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0225] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A loop control method, characterized in that, The method includes: In response to a monitoring request for the circuit to be monitored corresponding to the vehicle control system, the current current data of the circuit to be monitored is obtained; Based on the current current data, determine the target current sampling circuit from the preset dual-loop sampling circuit; The target current data of the circuit to be monitored is acquired through the target current sampling circuit. The target current data, voltage data, and temperature data of the circuit to be monitored are analyzed and processed to obtain the data analysis results of the circuit to be monitored. If the data analysis results indicate that the monitored circuit is abnormal, protective control measures will be implemented for the monitored circuit.
2. The method according to claim 1, characterized in that, The preset dual-loop sampling circuit includes a first current sampling loop and a second current sampling loop; the first current sampling loop is used to collect current data that is less than a preset current threshold; the second current sampling loop is used to collect current data that is greater than or equal to the preset current threshold. The step of determining the target current sampling circuit from the preset dual-loop sampling circuit based on the current current data includes: If the current current data is less than the preset current threshold, the target current sampling circuit is determined to be the first current sampling loop; If the current current data is greater than or equal to the preset current threshold, the target current sampling circuit is determined to be the second current sampling loop.
3. The method according to claim 1, characterized in that, The process of analyzing and processing the target current data, voltage data, and temperature data of the circuit to be monitored to obtain the data analysis results of the circuit to be monitored includes: Obtain the preset threshold corresponding to the circuit to be monitored; the preset threshold includes a preset current threshold, a preset voltage threshold, and a preset temperature threshold; Based on the preset temperature threshold, the temperature data is analyzed and processed to obtain the temperature analysis results of the circuit to be monitored; Based on the preset current threshold, the target current data is analyzed and processed to obtain the current analysis result of the circuit to be monitored; Based on the preset voltage threshold, the voltage data is analyzed and processed to obtain the voltage analysis results of the circuit to be monitored; The data analysis results are determined based on the temperature analysis results, the current analysis results, and the voltage analysis results.
4. The method according to claim 3, characterized in that, Determining the data analysis result based on the temperature analysis result, the current analysis result, and the voltage analysis result includes: If the temperature analysis result indicates that the temperature data is greater than the preset temperature threshold, or the current analysis result indicates that the target current data is greater than the preset current threshold, or the voltage analysis result indicates that the voltage data is greater than the preset voltage threshold, then the corresponding duration of the greater-than-threshold is determined; the threshold is used to represent the preset temperature threshold, or the preset current threshold, or the preset voltage threshold. If the duration reaches a preset time threshold, the data analysis result is determined to indicate an anomaly in the monitored circuit.
5. The method according to claim 3, characterized in that, Determining the data analysis result based on the temperature analysis result, the current analysis result, and the voltage analysis result includes: If the temperature analysis result indicates that the temperature data is less than or equal to the preset temperature threshold, the current analysis result indicates that the target current data is less than or equal to the preset current threshold, and the voltage analysis result indicates that the voltage data is less than or equal to the preset voltage threshold, then the data analysis result indicates that the monitored circuit is normal.
6. The method according to claim 3, characterized in that, The step of analyzing and processing the target current data according to the preset current threshold to obtain the current analysis result of the circuit to be monitored includes: Based on the temperature data, the preset current threshold is updated to obtain the target current threshold; Based on the target current threshold, the target current data is analyzed and processed to obtain the current analysis results of the circuit to be monitored.
7. The method according to any one of claims 1 to 6, characterized in that, When the data analysis results indicate an anomaly in the monitored circuit, the protection and control process for the monitored circuit includes: If the data analysis results indicate that the monitored circuit is abnormal, the electronic fuse unit corresponding to the monitored circuit shall be determined. A disconnect command is sent to the electronic fuse unit; the disconnect command is used to trigger the electronic fuse unit to cut off the power supply to the circuit under monitoring.
8. A loop control device, characterized in that, The device includes: The data acquisition module is used to acquire the current current data of the monitored circuit in response to a monitoring request for the monitored circuit corresponding to the vehicle control system under monitoring. The circuit determination module is used to determine the target current sampling circuit from the preset dual-loop sampling circuit based on the current current data; The data acquisition module is used to acquire the target current data of the circuit to be monitored through the target current sampling circuit; The data analysis module is used to perform data analysis and processing on the target current data, voltage data and temperature data of the circuit to be monitored, and to obtain the data analysis results of the circuit to be monitored. The protection control module is used to perform protection control processing on the monitored circuit when the data analysis results indicate that the monitored circuit is abnormal.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.