Power distribution state detection circuit and equipment
By combining a voltage divider circuit and a voltage detection and control component, efficient detection of multiple power distribution ports of the area controller is achieved, solving the problem of low detection efficiency in existing technologies and improving detection efficiency and accuracy.
Patent Information
- Application Number
- CN202520028497.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2035-01-06
AI Technical Summary
The detection efficiency of the power distribution ports of the existing area controller is too low, and it is impossible to efficiently detect the power distribution status of multiple power distribution ports.
By employing a combination of voltage divider circuits, multiple load connection circuits, and voltage detection and control components, the power distribution status corresponding to each load connection circuit is determined by detecting the voltage across the voltage divider circuit, thus enabling simultaneous detection of multiple power distribution ports.
During a single test, the power-on and power-off status of multiple power distribution ports can be determined simultaneously, significantly improving testing efficiency and reducing time and labor costs.
Smart Images

Figure CN223955700U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of automobiles, and more particularly to a power distribution state detection circuit and device. BACKGROUND
[0002] The zone controller (ZCU) is an important component in modern automotive electronic systems, mainly responsible for managing and controlling multiple electronic modules in the vehicle to ensure that various functions of the vehicle operate normally. In the application of automobile body domain and automobile entertainment domain, each zone controller is usually equipped with multiple power distribution ports, which are responsible for providing power to different loads. The power output of each power distribution port is directly related to whether the load connected thereto can work normally, and therefore, testing of each power distribution channel, especially detection of electrical information, is crucial to ensuring the reliability and safety of the entire power distribution system.
[0003] However, the current detection of the power distribution ports of the zone controller usually adopts a manual method of building an electrical circuit for a single power distribution channel for testing. For example, the power distribution channel is connected in series with a fixed value resistor and an LED, and then grounded. When the power distribution channel is powered on, the LED lights up, indicating that the power distribution channel is powered on successfully. When the power distribution channel is powered off, the LED goes out, indicating that the power distribution channel is powered off successfully. Although the above-mentioned detection method of the power distribution port can basically meet the testing requirements, the detection efficiency is too low in the related art. UTILITY MODEL CONTENT
[0004] Therefore, the embodiments of the present application provide a power distribution state detection circuit and device, which can simultaneously detect the power distribution states of multiple power distribution ports of a zone controller in one detection process, thereby effectively improving the power distribution state detection efficiency of the multiple power distribution ports of the zone controller.
[0005] In a first aspect, the embodiments of the present application provide a power distribution state detection circuit, comprising: a voltage dividing circuit; a plurality of load access circuits, an input end of each load access circuit being used for connecting with a power distribution port of a zone controller, an output end of each load access circuit being connected with an input end of the voltage dividing circuit respectively, an output end of the voltage dividing circuit being grounded, the load size of the load corresponding to each load access circuit and the load size of a new load formed by parallel connection of any at least two load access circuits in the plurality of load access circuits being different; and a voltage detection control component connected at both ends of the voltage dividing circuit, used for detecting a voltage at both ends of the voltage dividing circuit to obtain a detection voltage, and used for determining a power distribution state of the power distribution port connected with each load access circuit according to the detection voltage and a power-on voltage of the zone controller, the power distribution state of each power distribution port including a power-on state or a power-off state.
[0006] In an implementation, the voltage detection control component stores a plurality of load access circuit sets and a voltage division ratio corresponding to each load access circuit set, each load access circuit set including at least one load access circuit, and the voltage division ratio corresponding to each load access circuit set indicating a ratio of a load of the voltage division circuit to a sum of the load of the voltage division circuit and the load of each load access circuit in the load access circuit set after the load of the voltage division circuit is connected in parallel with each load access circuit in the load access circuit set; the voltage detection control component is further configured to determine a reference voltage corresponding to each load access circuit set according to the power-on voltage and the voltage division ratio corresponding to each load access circuit set; determine a target load access circuit set corresponding to the reference voltage with the minimum detection voltage difference; determine a power distribution state of a power distribution port connected to each load access circuit in the target load access circuit set as a power-on state, and determine a power distribution state of a power distribution port connected to each load access circuit other than the load access circuit in the target load access circuit set as a power-off state.
[0007] In an implementation, the voltage detection control component detects a plurality of detection voltages, and is further configured to determine a target detection voltage according to the plurality of detection voltages, and determine a target load access circuit set corresponding to the reference voltage with the minimum detection voltage difference.
[0008] In an implementation, the voltage division circuit includes a voltage division resistor, one end of the voltage division resistor being connected to an output end of each load access circuit and the other end being grounded.
[0009] In an implementation, the load access circuit includes a load resistor, a first end of the load resistor being configured to be connected to a power distribution port of the area controller and a second end of the load resistor being connected to an input end of the voltage division circuit.
[0010] In an implementation, the plurality of load access circuits includes a first load access circuit, a second load access circuit, and a third load access circuit, the load size of the first load access circuit being the same as the load size of the voltage division circuit, the load size of the second load access circuit being twice the load size of the first load access circuit, and the load size of the third load access circuit being three times the load size of the first load access circuit.
[0011] In an implementation, the plurality of load access circuits further includes a fourth load access circuit, the load size of the fourth load access circuit being four times the load size of the first load access circuit.
[0012] In an implementation, the voltage detection control component includes a CAN development environment hardware interface card, which is configured to collect the voltage across the voltage dividing circuit every preset time interval to obtain a detection voltage.
[0013] In an implementation, the voltage detection control component includes a controller and a voltage detector connected to the controller, the voltage detector is connected to the input end and the output end of the voltage dividing circuit respectively, and is configured to collect the voltage across the voltage dividing circuit every preset time interval to obtain a detection voltage, and the controller is configured to determine the power distribution state of the power distribution port corresponding to each load access circuit according to the detection voltage and the power-on voltage of the power distribution port when powered on, the power distribution state of the power distribution port including the power distribution port being in a power-on state or a power-off state.
[0014] In a second aspect, the embodiments of the present application provide a power distribution state detection device, including a display device and the power distribution state detection circuit, the display device is connected to the power distribution state detection circuit, and is configured to display the power distribution state of the power distribution port connected to each load access circuit in the power distribution state detection circuit.
[0015] In an implementation, the power distribution state detection device further includes a box, the power distribution state detection circuit is arranged in the box, and the display device is arranged on the outer surface of the box.
[0016] The power distribution state detection circuit and device provided by the embodiments of the present application, the power distribution state detection circuit is provided with a voltage dividing circuit, a plurality of load access circuits and a voltage detection control component, the input end of each load access circuit is connected to a power distribution port of a zone controller, the output end of each load access circuit is connected to the input end of the voltage dividing circuit, the output end of the voltage dividing circuit is grounded, the load size of each load access circuit and the load size of a new load formed by parallel connection of any at least two load access circuits in the plurality of load access circuits are different, the voltage detection control component is connected to both ends of the voltage dividing circuit, is configured to detect the voltage across the voltage dividing circuit to obtain a detection voltage, and is configured to determine the power distribution state of the power distribution port corresponding to each load access circuit according to the detection voltage and the power-on voltage of the zone controller, and the power distribution state of each power distribution port includes a power-on state or a power-off state. By using the above arrangement, the power distribution state detection circuit can simultaneously detect the power-on and power-off states of a plurality of power distribution ports in one detection process, thereby greatly reducing the time and labor cost required for testing and improving the detection efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description only some of the embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0018] Figure 1 The principle block diagram of a power distribution state detection circuit is shown;
[0019] Figure 2 The schematic diagram of a regional controller is shown;
[0020] Figure 3 The circuit principle diagram of a power distribution state detection circuit is shown;
[0021] Figure 4 The structural schematic diagram of a voltage detection control component is shown;
[0022] Figure 5 The flowchart of performing power distribution state detection by using a power distribution state detection device is shown;
[0023] Figure 6 The schematic diagram of a display interface of a display device is shown. DETAILED DESCRIPTION
[0024] Example implementations will now be described more fully with reference to the accompanying drawings. Example implementations may, however, be implemented in many different forms and should not be construed as limited to the implementations set forth herein; rather, these implementations are provided so that this disclosure will be thorough and complete, and will fully convey the scope of example implementations to those skilled in the art.
[0025] Moreover, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the techniques described herein can be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures, devices, implementations, and operations have not been shown or described in detail to avoid obscuring aspects of the application.
[0026] The block diagrams shown in the drawings are merely functional entities, and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0027] The flowcharts shown in the drawings are merely exemplary illustrations, and do not necessarily include all contents and operations / steps, nor are they necessarily executed in the order described. For example, some operations / steps can be further decomposed, and some operations / steps can be combined or partially combined, so the actual execution order can be changed according to actual conditions.
[0028] It should be noted that "multiple" referred to herein means two or more. The association relationship of "and / or" describes the associated objects, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.
[0029] The embodiments of the present application will be described in detail below with reference to the drawings.
[0030] Please refer to Figure 1 and Figure 2 , Figure 1 It is shown that the present application also provides a power distribution state detection circuit 100, which can include a voltage dividing circuit 110, a plurality of load access circuits 120, and a voltage detection control component 130. Figure 1 The plurality of load access circuits 120 are shown as four cases, it should be understood that Figure 1 only illustrative, there can be more or less load access circuits 120, which can be set according to actual needs.
[0031] Wherein, the input end of each load access circuit 120 is used to connect with one power distribution port of the area controller, the output end is connected with the input end of the voltage dividing circuit 110 respectively, the output end of the voltage dividing circuit 110 is grounded, the load size of each load access circuit 120 and the load size of the new load formed by the parallel connection of any at least two load access circuits 120 in the plurality of load access circuits 120 are all different, the voltage detection control component 130 is connected between the two ends of the voltage dividing circuit 110, used for detecting the voltage between the two ends of the voltage dividing circuit 110 to obtain a detection voltage, and used for determining the power distribution state of the power distribution port connected by each load access circuit 120 according to the detection voltage and the power-on voltage of the area controller, the power distribution state of each power distribution port includes a power-on state or a power-off state.
[0032] By adopting the power distribution state detection circuit 100, since the load size of each load access circuit 120 is different, and the load size of each load access circuit 120 is different from the load size of the new load formed by the parallel connection of any at least two load access circuits 120 in the plurality of load access circuits 120, which means that the voltage value generated by the voltage dividing circuit 110 will be different when the power distribution port is powered on, therefore, by detecting the voltage across the voltage dividing circuit 110, the power distribution state of the power distribution port connected to each load access circuit 120 can be uniquely determined as the power-on state or the power-off state. Thus, the power distribution state of each power distribution port is obtained by simultaneously detecting the power distribution state of the plurality of power distribution ports of the area controller in one detection process, greatly improving the detection efficiency of the plurality of power distribution ports of the area controller.
[0033] Among them, the voltage detection control component 130 can store the load size corresponding to the voltage dividing circuit 110 and the load size corresponding to the access of each load access circuit 120, and the voltage detection control component 130 can determine the plurality of load access circuit sets and the voltage dividing ratio value corresponding to each load access circuit set according to the load size corresponding to the voltage dividing circuit 110 and the load size corresponding to the access of each load access circuit 120, wherein a load access circuit set includes at least one load access circuit 120, and the voltage dividing ratio value corresponding to the load access circuit set is used to indicate the ratio of the load formed by the parallel connection of the load of the voltage dividing circuit 110 and each load access circuit 120 in the load access circuit set to the sum of the load of the voltage dividing circuit 110 and the load formed by the parallel connection of the load of the voltage dividing circuit 110 and each load access circuit 120 in the load access circuit set.
[0034] It is worth mentioning that if the plurality of load access circuits 120 is n, then the number of load access circuit sets formed by the plurality of load access circuits 120 is 2 n -1.
[0035] For example, if the plurality of load access circuits 120 includes a first load access circuit, a second load access circuit, and a third load access circuit, then the plurality of load access circuit sets includes set 1 (formed by the first load access circuit), set 2 (formed by the second load access circuit), set 3 (formed by the third load access circuit), set 4 (formed by the first load access circuit and the second load access circuit), set 5 (formed by the first load access circuit and the third load access circuit), set 6 (formed by the second load access circuit and the third load access circuit), and set 7 (formed by the first load access circuit, the second load access circuit, and the third load access circuit).
[0036] If the load size corresponding to the voltage dividing circuit 110 is r0, the load size corresponding to the first load access circuit is r1, the load size corresponding to the second load access circuit is r2, and the load size corresponding to the third load access circuit is r3, the voltage dividing ratio value corresponding to set 1 is r0 / (r0+r1); the voltage dividing ratio value corresponding to set 2 is r0 / (r0+r2); the voltage dividing ratio value corresponding to set 3 is r0 / (r0+r3); the voltage dividing ratio value corresponding to set 4 is r0 / (r0+r4), where r4 is the load obtained after the first load access circuit and the second load access circuit are connected in parallel; the voltage dividing ratio value corresponding to set 5 is r0 / (r0+r5), where r5 is the load obtained after the first load access circuit and the third load access circuit are connected in parallel; the voltage dividing ratio value corresponding to set 6 is r0 / (r0+r6), where r6 is the load obtained after the second load access circuit and the third load access circuit are connected in parallel; and the voltage dividing ratio value corresponding to set 7 is r0 / (r0+r7), where r7 is the load obtained after the first load access circuit, the second load access circuit, and the third load access circuit are connected in parallel.
[0037] The voltage detection control component 130 is further configured to determine a reference voltage corresponding to each load access circuit set according to the power-on voltage and the voltage dividing ratio value corresponding to each load access circuit set; determine the load access circuit set corresponding to the reference voltage with the smallest detection voltage difference value as a target load access circuit set; determine the power distribution state of the power distribution port connected to each load access circuit 120 in the target load access circuit set as a power-on state, and determine the power distribution state of the power distribution port connected to the load access circuit 120 other than the load access circuit 120 in the target load access circuit set in the plurality of load access circuits 120 as a power-off state.
[0038] For example, if the power-on voltage is 12V, the voltage dividing ratio value corresponding to each load access circuit set can be multiplied by the power-on voltage 12V, and the reference voltage corresponding to each load access circuit set can be obtained, which indicates the reference voltage drop across the voltage dividing circuit 110 when the power distribution state of each load access circuit 120 in the load access circuit set is power-on.
[0039] By pre-calculating and storing the voltage division ratios corresponding to different load access circuit sets, the computational burden during operation can be significantly reduced. Subsequently, it is only necessary to compare the detected voltage with the reference voltage of each load access circuit set to automatically match the closest reference voltage, thereby determining the target load access circuit set and determining the power distribution status of the distribution ports connected to each load access circuit 120 in the target load access circuit set as powered on, and determining the power distribution status of the distribution ports connected to other load access circuits 120 as powered off. This enables the voltage detection control component 130 to quickly and accurately identify the power distribution status of the distribution interface currently connected to each load access status, thereby realizing the simultaneous detection of the power distribution status of multiple distribution ports of the area controller in a single detection process.
[0040] In one possible implementation, the plurality of load access circuits 120 include a first load access circuit, a second load access circuit, and a third load access circuit. The load size of the first load access circuit is the same as the load size of the voltage divider circuit 110, the load size of the second load access circuit is twice the load size of the first load access circuit, and the load size of the third load access circuit is three times the load size of the first load access circuit.
[0041] By adopting the above settings, the loads corresponding to the different load access circuit sets can be significantly distinguished, thereby making the detection voltage obtained by the voltage divider circuit 110 after connecting to different load access circuit sets significantly different, which helps to more accurately identify whether the power distribution port is in a powered-on or powered-off state.
[0042] In one possible implementation, the plurality of load access circuits 120 further includes a fourth load access circuit, wherein the load size of the fourth load access circuit is four times the load size of the first load access circuit.
[0043] The load of the first load circuit can be 5 ohms, 10 ohms, 20 ohms or 50 ohms, etc., and can be set according to actual needs.
[0044] For example, such as Figure 3 As shown, the first load connection circuit includes a first resistor R1, the second load connection circuit includes a second resistor R2, the third load circuit includes a third resistor R3, the fourth load connection circuit includes a fourth resistor R4, and the voltage divider circuit includes a voltage divider resistor R0. The first resistor R1 and the voltage divider resistor R0 have the same resistance value (i.e., the same load size), the second resistor R2 has a resistance value twice that of the first resistor R1, the third resistor R3 has a resistance value three times that of the first resistor R1, and the fourth resistor R4 has a resistance value four times that of the first resistor R1.
[0045] By adopting the above arrangement, the detection efficiency of the power distribution state detection circuit 100 can be further improved, and the power distribution states of the four power distribution ports of the regional controller can be simultaneously detected in one detection process. In the detection process, the division ratios corresponding to different load access circuit sets can be significantly distinguished, thereby improving the detection accuracy.
[0046] As shown in Table 1, when the load size of the division circuit 110 is 10Ω, the number of the load access circuits 120 is 4, and the load access circuits 120 specifically include a first load access circuit (the load size is 10Ω, and the corresponding power distribution channel is a), a second load access circuit (the load size is 20Ω, and the corresponding power distribution channel is b), a third load access circuit (the load size is 30Ω, and the corresponding power distribution channel is c), and a fourth load access circuit (the load size is 40Ω, and the corresponding power distribution channel is c), the reference voltage generated by the division circuit 110 is 2 4 -1 load access circuit set (the serial numbers of the load access circuit sets are 1 to 15 in sequence), and the power distribution channel information of each load access circuit set is the load access circuit 120 information included in each load access circuit set. For example, the load access circuit set with the serial number 1 includes the first load access circuit a, and the load access circuit set with the serial number 15 includes the first load access circuit a, the second load access circuit b, the third load access circuit c, and the fourth load access circuit d. Table 1 also shows the load generated by the parallel connection of the load access circuits 120 in each load access circuit set and the division ratio of the division circuit 110, and Table 1 is as follows:
[0047]
[0048] According to Table 1, when the load access circuits 120 in different load access circuit sets are powered on, the loads generated by the parallel connection of the load access circuits 120 in each load access circuit set are different, the corresponding division ratios are different, the reference voltages obtained by multiplying the division ratios corresponding to each load access circuit set with the power-on voltage are also different, and the differences between the reference voltages corresponding to different load access circuit sets are large. Therefore, when the detection voltage is compared with the reference voltages corresponding to different load access circuit sets, the load access circuit set corresponding to the reference voltage with the smallest difference value is determined as the target load access circuit set, the power distribution states of the power distribution ports connected to the load access circuits 120 in the target load access circuit set are determined as the power-on states, and the power distribution states of the power distribution ports connected to the load access circuits 120 other than the load access circuits 120 in the target load access circuit set among the plurality of load access circuits 120 are determined as the power-off states, the accuracy of the determination of the power distribution states of the load access circuits 120 is ensured.
[0049] The voltage dividing circuit 110 can be any circuit capable of dividing the voltage of the power distribution port to generate a voltage signal suitable for the voltage detection control component 130 to detect, which can include a voltage dividing resistor and one or more of a capacitor, a zener diode, and a voltage regulator.
[0050] In an embodiment of the present application, the voltage dividing circuit 110 includes a voltage dividing resistor, one end of which is connected to the output end of each load access circuit 120, and the other end of which is grounded.
[0051] If the voltage dividing circuit 110 further includes a zener diode or a voltage regulator, the voltage dividing resistor can be connected to the output end of each load access circuit 120 through the zener diode or the voltage regulator. Specifically, when the voltage dividing circuit 110 includes a zener diode, the anode of the zener diode is connected to the output end of each load access circuit 120, and the cathode of the zener diode is connected to the voltage dividing resistor.
[0052] By reasonably selecting the resistance value of the voltage dividing resistor, the voltage of the power distribution port can be divided by a certain ratio to generate a voltage value suitable for detection. The resistance value of the voltage dividing resistor should be selected to ensure that the voltage change across the voltage dividing circuit 110 is significant enough when the power distribution port is powered on and powered off, so that the voltage detection control component 130 can accurately determine the state of each power distribution port.
[0053] The load access circuit 120 can be any circuit capable of being connected to the power distribution port of the area controller and the voltage dividing circuit 110, respectively, and providing a specific size of load to cause the voltage dividing circuit 110 to generate a unique voltage change, so that the voltage detection control component 130 can accurately determine the power-on or power-off state of each power distribution port. Specifically, the load access circuit 120 can include a load resistor.
[0054] When the load access circuit 120 includes a load resistor, a first end of the load resistor is used to connect to a power distribution port of the area controller, and a second end of the load resistor is connected to the input end of the voltage dividing circuit 110.
[0055] It should be understood that the number of load resistors accessed in each load access circuit 120 can be the same or different, which can be set according to actual needs, as long as the size of the load of each load access circuit 120 is different, and the voltage change generated by each power distribution port when powered on and powered off is unique.
[0056] In some embodiments, the load access circuit 120 can further include a connector for connecting the power distribution port of the area controller, facilitating installation and maintenance.
[0057] In some embodiments, the load access circuit 120 can further include a diode, wherein the load resistor is connected to the power distribution port through the diode, and the anode of the diode is connected to the power distribution port, and the cathode is connected to the load resistor, so as to prevent reverse voltage or isolate different power distribution ports, and prevent current backflow.
[0058] The voltage detection and control component 130 can be any device capable of detecting the voltage across the voltage dividing circuit 110 and determining the power distribution state of each power distribution port to which each load access circuit 120 is connected according to the detected voltage. For example, the voltage detection and control component 130 can include a voltage detection component and a controller. In some embodiments, the voltage detection and control component 130 can further include a CAN development environment hardware interface card.
[0059] In one embodiment, the voltage detection and control component 130 includes a controller and a voltage detector connected to the controller. The voltage detector is connected to the input and output of the voltage dividing circuit 110, respectively, to collect the voltage across the voltage dividing circuit 110 every preset time interval to obtain a detected voltage. The controller is configured to determine the power distribution state of each power distribution port to which each load access circuit 120 is connected according to the detected voltage and the power-on voltage of the power distribution port. The power distribution state of the power distribution port includes the power distribution port being in a power-on state or a power-off state.
[0060] The voltage detector is configured to collect the voltage across the voltage dividing circuit 110. The voltage detector can be a high-precision ADC (analog-to-digital converter) and can be integrated into a microcontroller or a dedicated voltage detection chip. The voltage detection end of the voltage detector is connected to the two ends of the voltage dividing circuit 110, and the detection output end is connected to the controller. The controller can be a microcontroller, a single-chip microcomputer, or an embedded system, which is configured to receive the voltage value collected by the voltage detector, process the data, and determine the power distribution state of the power distribution port connected to each load access circuit 120 according to the processing result.
[0061] It is worth mentioning that the voltage detector can collect the voltage across the voltage dividing circuit 110 every preset time interval to obtain a plurality of voltages. Then, the controller can remove K largest values and K smallest values from the plurality of voltages to obtain a plurality of candidate voltages, and calculate the mean value of the plurality of candidate voltages to obtain a final detected voltage for subsequent calculation, where K is a positive integer. The controller can also directly extract the median value or the mean value from the plurality of detected voltages as the final detected voltage for subsequent calculation.
[0062] In another implementation, the voltage detection control component 130 comprises a CAN development environment hardware interface card, which is used to collect the voltage across the voltage dividing circuit 110 every interval of a preset time period to obtain a detection voltage.
[0063] As shown in Figure 4 , a schematic diagram of the voltage detection control component 130 as a CAN development environment hardware interface card is shown, where CAN (Controller Area Network) is a serial communication protocol for real-time applications, widely used in the fields of automobiles, industrial automation, etc., which includes a ground port and a detection port, where the detection port is connected to the input end of the voltage dividing circuit, and the ground port is connected to the ground to detect the voltage across the voltage dividing circuit.
[0064] The CAN development environment hardware interface card usually includes the following parts: CAN controller, CAN transceiver, microcontroller, analog input channel and communication interface, where the CAN controller is responsible for the processing of the physical layer and the data link layer of the CAN protocol; the CAN transceiver is used to convert the digital signal of the CAN controller into the differential signal of the physical layer, and vice versa; the microcontroller is used for data acquisition and processing; the analog input channel is used to collect the voltage signal of the voltage dividing circuit 110; the USB interface is used for communication with the PC or other devices.
[0065] The main function of the CAN development environment hardware interface card is to collect the voltage across the voltage dividing circuit 110 every interval of a preset time period using the analog input channel of the CAN development environment hardware interface card, and transmit the data to the controller of the CAN development environment hardware interface card through the CAN bus, and the controller removes the maximum and minimum values from the collected multiple voltages to reduce the influence of noise, and then averages the voltages (candidate voltages) remaining after removing K maximum values and K minimum values from the multiple voltages to obtain the final detection voltage.
[0066] It is worth mentioning that the CAN development environment hardware interface card runs in the CAN development environment, the CAN development environment hardware interface card can collect the voltage division value of the voltage division circuit 110 through the analog input channel, and transmit the data to the microcontroller through the CAN bus, and the microcontroller can run the CAPL script (CAN Access Programming Language) to remove the K maximum values and the K minimum values in the plurality of voltages to obtain a plurality of candidate voltages, so as to reduce the influence of noise, and then calculate the mean value of the plurality of candidate voltages to obtain a detection voltage, and then determine the reference voltage with the smallest difference from the detection voltage from the plurality of reference voltages corresponding to the load access circuit set, determine the load access circuit set corresponding to the reference voltage with the smallest difference from the detection voltage as the target load access circuit set, determine the power distribution state of the power distribution port connected by each load access circuit 120 in the target load access circuit set as the power-on state, and determine the power distribution state of the power distribution port connected by the load access circuit 120 other than the load access circuit 120 in the target load access circuit set in the plurality of load access circuits 120 as the power-off state.
[0067] Since the CAN development environment hardware interface card has high integration effect and simple structure, and is easy to connect and use, in addition, the precision of the analog input channel included therein is high, and high-resolution voltage measurement can be provided to improve detection precision, and the microcontroller can run the CAPL script to realize power distribution state detection of the power distribution port, therefore, by specifically adopting the CAN development environment hardware interface card in the voltage detection control component 130, the convenience of use of the power distribution state detection circuit 100 can be effectively improved, and the circuit structure complexity of the power distribution state detection circuit is reduced.
[0068] The application further provides a power distribution state detection device, which comprises a display device and the power distribution state detection circuit 100, and the display device is connected with the power distribution state detection circuit 100 and used for displaying the power distribution state of the power distribution port connected with each load access circuit 120 in the power distribution state detection circuit 100.
[0069] The display device can be a liquid crystal display, an LED display screen, or any terminal device with display function, which is not limited here. The display device and the voltage detection control component 130 in the power distribution state detection circuit 100 can be connected through wired or wireless mode, as long as the display device can display the power distribution state of the power distribution port connected with each load access circuit 120 in the power distribution state detection circuit 100.
[0070] By adopting the above settings, users can intuitively understand the power distribution status of the power distribution port connected to each load access circuit 120 through the display device.
[0071] In one possible implementation, the power distribution status detection device further includes a housing, the power distribution status detection circuit 100 is disposed inside the housing, and the display device is disposed on the outer surface of the housing.
[0072] The aforementioned box structure can be arbitrary, such as a regular shape like a cuboid or cube, or any irregular shape, depending on the actual needs.
[0073] By integrating the power distribution status detection circuit 100 and the display device into a single enclosure, the size of the power distribution status detection device can be reduced, making it easier for users to carry and use the device.
[0074] For example, such as Figure 5 As shown, if the aforementioned power distribution status detection device is used to detect the power distribution status of the area controller's power distribution ports, the power-on voltage (e.g., 12V) of the area controller can be obtained first and stored in the power distribution status detection device. Then, multiple load access circuits 120 of the power distribution status detection device can be connected to multiple power distribution ports of the area controller, with each power distribution port connected to one load access circuit 120. Specifically, there are four load access circuits 120, and the load size of each load access circuit 120 and the voltage divider circuit 110 can be referred to in Table 1. Afterwards, the voltage detection control component 130 (e.g., a CAN development environment hardware interface card) collects the voltage of the voltage divider circuit 110 at preset intervals to obtain multiple sets of voltages. The voltage detection control component 130 determines the reference voltage corresponding to each load access circuit set based on the power-on voltage and the voltage division ratio value corresponding to each load access circuit set. Based on the determined reference voltage corresponding to each load access circuit set and the collected voltage, the power distribution status of the power distribution ports connected to each load access circuit 120 is determined.
[0075] The specific process for determining the power distribution status of the power distribution ports connected to each load access circuit 120 is as follows: The set of load access circuits corresponding to the reference voltage with the smallest difference from the detected voltage is determined as the target load access circuit set; the power distribution status of the power distribution ports connected to each load access circuit 120 in the target load access circuit set is determined to be in a powered-on state; and the power distribution status of the power distribution ports connected to the load access circuits 120 other than those in the target load access circuit set is determined to be in a powered-off state. Wherein, if the difference between the detected voltage and the product of the voltage division ratio and the powered-on voltage corresponding to the load access circuit set with sequence number 14 is the smallest, then the following can be displayed on the display:Figure 6 The result shown is that the power distribution state of the power distribution port connected with the first load access circuit is the power-off state, and the power distribution state of the power distribution port connected with the second load access circuit, the third load access circuit and the fourth load access circuit is the power-on state.
[0076] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art will understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for part of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A power distribution status detection circuit, characterized by, The application relates to a power distribution circuit for a zone controller, comprising: a voltage dividing circuit; a plurality of load access circuits, each of which is connected to one power distribution port of the zone controller at an input end and connected to an input end of the voltage dividing circuit at an output end, and the output end of the voltage dividing circuit is grounded, wherein the load size of each of the load access circuits and the load size of a new load formed by connecting any two of the load access circuits in parallel are different; a voltage detection and control component connected to both ends of the voltage dividing circuit, used for detecting the voltage between the two ends of the voltage dividing circuit to obtain a detection voltage, and used for determining the power distribution state of the power distribution port corresponding to each of the load access circuits according to the detection voltage and the power-on voltage of the zone controller, wherein the power distribution state of each of the power distribution ports comprises a power-on state or a power-off state.
2. The circuit of claim 1, wherein, The voltage detection and control component stores a plurality of load access circuit sets and a voltage dividing ratio value corresponding to each of the load access circuit sets, each of the load access circuit sets comprises at least one load access circuit, and the voltage dividing ratio value corresponding to the load access circuit set is used to indicate the ratio of the load formed by connecting the load access circuit set to the load of the voltage dividing circuit to the sum of the load formed by connecting the load access circuit set to the load of the voltage dividing circuit. The voltage detection and control component is further used for determining a reference voltage corresponding to each of the load access circuit sets according to the power-on voltage and the voltage dividing ratio value corresponding to each of the load access circuit sets. The load access circuit set corresponding to the reference voltage with the minimum difference value is determined as a target load access circuit set. The power distribution states of the power distribution ports connected to the load access circuits in the target load access circuit set are determined as the power-on state, and the power distribution states of the power distribution ports connected to the load access circuits other than the load access circuits in the target load access circuit set are determined as the power-off state.
3. The circuit of claim 2, wherein, The voltage detection and control component detects a plurality of detection voltages, and is further used for determining a target detection voltage according to the plurality of detection voltages, and determining the load access circuit set corresponding to the reference voltage with the minimum difference value as the target load access circuit set.
4. The circuit of claim 1, wherein, The voltage dividing circuit comprises a voltage dividing resistor, one end of the voltage dividing resistor is connected to the output end of each of the load access circuits, and the other end is grounded.
5. The circuit of claim 1, wherein, The load access circuit comprises a load resistor, a first end of the load resistor is used for being connected to one power distribution port of the zone controller, and a second end of the load resistor is connected to the input end of the voltage dividing circuit.
6. The circuit of claim 1, wherein, The plurality of load access circuits comprises a first load access circuit, a second load access circuit and a third load access circuit. The load size of the first load access circuit is the same as the load size of the voltage dividing circuit, the load size of the second load access circuit is twice the load size of the first load access circuit, and the load size of the third load access circuit is three times the load size of the first load access circuit.
7. The circuit of claim 6, wherein, The plurality of load access circuits further comprises a fourth load access circuit, and a size of a load of the fourth load access circuit is four times of a size of a load of the first load access circuit.
8. The circuit of claim 1, wherein, The voltage detection control component comprises a CAN development environment hardware interface card, which is used to collect the voltage across the voltage dividing circuit every interval of a preset time length to obtain a detection voltage.
9. The circuit of claim 1, wherein, The voltage detection control component comprises a controller and a voltage detector connected to the controller, the voltage detector is connected to the input end and the output end of the voltage dividing circuit respectively, and is used to collect the voltage across the voltage dividing circuit every interval of a preset time length to obtain a detection voltage; the controller is used to determine the power distribution state of the power distribution port corresponding to each load access circuit according to the detection voltage and the power-on voltage when the power distribution port is powered on, and the power distribution state of the power distribution port comprises a power-on state or a power-off state of the power distribution port.
10. A power distribution status detection device, characterized by, The power distribution state detection device comprises a display device and the power distribution state detection circuit according to any one of claims 1-9, the display device is connected to the power distribution state detection circuit, and is used to display the power distribution state of the power distribution port connected to each load access circuit in the power distribution state detection circuit.
11. The power distribution status detection device of claim 10, wherein, The power distribution state detection device further comprises a box, the power distribution state detection circuit is arranged in the box, and the display device is arranged on the outer surface of the box.