Current sampling control method and vehicle-mounted charger

By designing a current sampling control method, diagnostic parameters are used to identify abnormalities in the current sampling circuit and implement protective measures. This solves the system instability problem caused by abnormalities in the current sampling circuit in the prior art and improves the reliability and safety of the system.

CN118937778APending Publication Date: 2024-11-12SHENZHEN VMAX NEW ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410992143.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Existing technologies cannot accurately diagnose abnormal operation of current sampling circuits, leading to system instability and protection failure, thus reducing system reliability.

Method used

The design of a current sampling control method involves acquiring current sampling values, calculating diagnostic parameters, comparing them with preset values, identifying whether the current sampling circuit is abnormal, including diagnostic parameters such as deviation accumulation value, current change rate, and normalized gain, identifying the type of abnormality, and implementing corresponding protection measures.

Benefits of technology

This improves the diagnostic accuracy and reliability of the system, enabling it to identify abnormal types in the current sampling circuit and take targeted measures to prevent the system from operating in an unstable state, thereby enhancing the system's stability and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937778A_ABST
    Figure CN118937778A_ABST
Patent Text Reader

Abstract

The invention discloses a current sampling control method and a vehicle-mounted charger. The current sampling control method comprises the following steps: acquiring a current sampling value transmitted by a current sampling circuit; calculating a diagnosis parameter according to the current sampling value, wherein the diagnosis parameter comprises at least one of a deviation accumulated value, a current change speed and a normalization gain; and comparing the diagnosis parameter with a corresponding preset value and diagnosing whether the current sampling circuit works abnormally, and if it is diagnosed that the current sampling circuit works abnormally, identifying the abnormal type of the current sampling circuit according to different diagnosis conditions and / or executing corresponding protection measures. The control method provided by the invention is simple and effective, the prediction is accurate, the cost is not increased, and the stability and reliability of the system are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of current sampling, and in particular to a current sampling control method and a vehicle-mounted charger. Background Art

[0002] Current sampling circuits are widely used in power systems, electric vehicles, industrial automation, new energy generation, electronic equipment, etc. Current sampling circuits usually provide input signals for loop control and protection of controllers. The working state of the current sampling circuit directly determines whether the entire system can operate stably and reliably.

[0003] Taking the on-board charger as an example, most of them use current sensors based on the Hall effect and DSP controllers. The current sampling circuit designed based on the Hall effect current sensor converts DC or AC into a voltage signal and transmits it to the DSP controller, which controls and protects the system through the received signal. In the DSP controller, there are usually two protection modes: CBC (cycle-by-cycle) and OSHT (one-shot), but these two protection modes are based on the normal operation of the current sampling circuit. When the current sampling circuit works abnormally, it will not only cause loop control instability, but also cause protection failure, greatly reducing the reliability of the system.

[0004] Therefore, how to design a control method that can accurately diagnose the working status of the current sampling circuit and improve system reliability is a technical problem that the industry urgently needs to solve. Summary of the invention

[0005] In order to solve the defect that the prior art cannot accurately diagnose abnormal operation of the current sampling circuit, the present invention proposes a current sampling control method and a vehicle-mounted charger.

[0006] The technical solution adopted by the present invention is to design a current sampling control method, including:

[0007] Obtaining a current sampling value transmitted by a current sampling circuit;

[0008] Calculate diagnostic parameters based on current sampling values;

[0009] The diagnostic parameter is compared with the corresponding preset value and the current sampling circuit is diagnosed to see whether it is working abnormally.

[0010] Further, the diagnostic parameter includes at least one of a deviation accumulation value, a current change rate, and a normalized gain;

[0011] Compare the diagnostic parameters with the corresponding preset values ​​and diagnose whether the current sampling circuit is working abnormally, including:

[0012] When the accumulated deviation value exceeds a first preset value, it is determined that a first diagnostic condition is met;

[0013] and / or when the current change speed exceeds a second preset value, determining that the second diagnostic condition is met;

[0014] and / or when the normalized gain exceeds a third preset value, determining that a third diagnostic condition is satisfied;

[0015] If the diagnostic parameter satisfies any diagnostic condition, it is diagnosed as abnormal operation of the current sampling circuit.

[0016] Furthermore, the calculation method of the deviation accumulation value includes: the deviation accumulation value between the current sampling value and the theoretical current value in N switching cycles, where N is a positive integer;

[0017] The current change speed is calculated by dividing the difference between two current sampling values ​​by the interval between the two current sampling values;

[0018] The normalized gain is calculated by dividing the current sampling value by the current prediction value corresponding to the current sampling value.

[0019] Furthermore, after comparing the diagnostic parameters with the corresponding preset values ​​and diagnosing whether the current sampling circuit is operating abnormally, the current sampling control method also includes: if it is diagnosed that the current sampling circuit is operating abnormally, identifying the abnormal type of the current sampling circuit and / or executing corresponding protection measures according to different diagnostic conditions.

[0020] In some embodiments, identifying the abnormal type of the current sampling circuit according to different diagnostic conditions includes:

[0021] When the first diagnostic condition is met and the accumulated deviation value is a positive value, it is identified as a current sensor failure;

[0022] and / or when the first diagnostic condition is met and the accumulated deviation value is a negative value, identifying that the current sensor sampling signal transmission branch is abnormal;

[0023] and / or when a second diagnostic condition is met, identifying that the current sensor fails or the inductor is saturated abnormally;

[0024] And / or when a third diagnostic condition is met, it is identified that the current sensor gain configuration is abnormal.

[0025] In some embodiments, identifying the abnormal type of the current sampling circuit and / or executing corresponding protection measures according to different diagnostic conditions includes:

[0026] When the first diagnostic condition is met and the accumulated deviation value is a positive value, the count is increased by one, and then it is determined whether the count is greater than a fourth preset value. If so, the system where the current sampling circuit is located is shut down, and if not, the system where the current sampling circuit is located is restarted;

[0027] and / or when the first diagnostic condition is met and the accumulated deviation value is a negative value, the system where the current sampling circuit is located is shut down;

[0028] and / or when the second diagnostic condition is met, the system where the current sampling circuit is located is restarted;

[0029] And / or when the third diagnostic condition is met, the system where the current sampling circuit is located operates normally.

[0030] Furthermore, the abnormal type of the current sampling circuit is identified and / or corresponding protection measures are executed according to different diagnostic conditions, including: after the second diagnostic condition is met and the system where the current sampling circuit is located is restarted, the working state of the system where the current sampling circuit is located is controlled according to the current change speed.

[0031] Furthermore, controlling the working state of the system where the current sampling circuit is located according to the current change speed includes:

[0032] When the current change speed is less than the fifth preset value, the system where the current sampling circuit is located operates at a reduced rating;

[0033] When the current change speed is ≥ the fifth preset value, the system where the current sampling circuit is located is shut down.

[0034] Furthermore, the system where the current sampling circuit is located operates at a reduced rating, including:

[0035] When the second preset value is less than the current change speed and less than the fifth preset value, the derating factor of the system where the current sampling circuit is located is calculated as follows:

[0036]

[0037] in, is the current change speed, 0<second derating factor<first derating factor<1.

[0038] Furthermore, the current sampling control method further includes: when a third diagnostic condition is met, correcting the current sampling value transmitted by the current sampling circuit according to the normalized gain.

[0039] Furthermore, the current sampling value transmitted by the current sampling circuit is corrected according to the normalized gain, including:

[0040] The current sensor of the current sampling circuit has at least two gain configurations, the currently selected gain configuration is used as the reference configuration, and the remaining gain configurations are optional configurations, and a comparison relationship between the gain configuration and the third preset value is established, and the comparison relationship also includes a correction coefficient corresponding to each optional configuration;

[0041] comparing the normalized gain to a third predetermined value in a control relationship;

[0042] If the normalized gain is within the third preset value of one of the optional configurations, a correction coefficient corresponding to the optional configuration is obtained, and the current sampling value transmitted by the current sampling circuit is corrected using the correction coefficient.

[0043] The present invention also proposes a vehicle-mounted charger, comprising: a power conversion circuit, a current sampling circuit and a controller, wherein the controller executes the above-mentioned current sampling control method.

[0044] In some embodiments, the power conversion circuit uses a bridgeless PFC circuit, and the current sensor of the current sampling circuit uses a Hall effect current sensor.

[0045] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0046] 1. Calculate the diagnostic parameters according to the current sampling value, and compare the diagnostic parameters with the corresponding preset values ​​to timely diagnose whether the current sampling circuit is working abnormally to prevent the system from continuing to operate in an unstable state;

[0047] 2. Design diagnostic parameters such as deviation accumulation value, current change speed and normalized gain to analyze the working status of the current sampling circuit from different angles to improve diagnostic accuracy;

[0048] 3. Identify the abnormal type of the corresponding current sampling circuit according to different diagnostic conditions, so that maintenance personnel can conduct targeted inspections and repairs. By analyzing the abnormal type and its cause, possible defects or deficiencies in the circuit design can be found, so as to make improvements and optimizations to prevent similar abnormalities from happening again;

[0049] 4. Execute corresponding protection measures according to different diagnostic conditions, automatically repair or isolate faults in time through protection measures, and improve system reliability, stability and security. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The present invention is described in detail below with reference to the embodiments and accompanying drawings, wherein:

[0051] Figure 1 It is a schematic diagram of the control principle of the current sampling circuit of the present invention;

[0052] Figure 2It is a structural schematic diagram of the current sampling circuit of the present invention;

[0053] Figure 3 It is a flow chart of the control method of the present invention. DETAILED DESCRIPTION

[0054] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0055] The present invention analyzes the current sampling circuit, obtains the current sampling value transmitted by the current sampling circuit, calculates different diagnostic parameters according to the current sampling value, compares the diagnostic parameters with the corresponding preset values, and diagnoses that the current sampling circuit is abnormal when the diagnostic parameters exceed the preset values. On this basis, as an optimization, the abnormal type of the current sampling circuit is identified and / or corresponding protection measures are implemented through the deviation state of the diagnostic parameters. The diagnosis, identification, and protection can be executed cyclically during the operation of the system. After the protection is completed and the system resumes operation, the diagnosis, identification, and protection can continue to be executed.

[0056] In a feasible scheme of the present invention, the diagnostic parameter includes at least one of the deviation cumulative value, the current change rate and the normalized gain. Each diagnostic parameter is designed with a corresponding diagnostic condition, namely, the deviation cumulative value corresponds to the first diagnostic condition, the current change rate corresponds to the second diagnostic condition, and the normalized gain corresponds to the third diagnostic condition. The first diagnostic condition is that the deviation cumulative value exceeds the first preset value, the second diagnostic condition is that the current change rate exceeds the second preset value, and the third diagnostic condition is that the normalized gain exceeds the third preset value. If the diagnostic parameter meets any one of the diagnostic conditions, it is diagnosed that the current sampling circuit is working abnormally. The first preset value, the second preset value and the third preset value here all refer to preset ranges, and the diagnostic parameter is higher than the upper limit of the preset range or lower than the lower limit of the preset range. It is considered that the preset value exceeds the preset value.

[0057] It should be understood that the diagnostic parameters can be selected according to different actual application scenarios. For example, when there is an inductor on the line, based on the inductor characteristics, the current will not change suddenly under normal circumstances. If the current change rate exceeds the corresponding preset value, it may be that the current sampling circuit is abnormal or the inductor is saturated, resulting in a decrease in the inductance. In this application scenario, the diagnostic parameters can include the current change rate. For another example, when the gain of the current sensor can be configured, such as the gain is 20mV / A, 30mV / A, 40mV / A, 50mV / A, if the configuration is selected to be 20mV / A, that is, the current sensor samples 1A current and outputs a voltage signal of (20mV+reference voltage); the current sensor samples a current of -2A, and outputs a voltage signal of (-40mV+reference voltage). After the input pin of the controller connected to the current sampling circuit signal samples the voltage, the voltage value will be recalculated as the corresponding current value according to the gain set by the current sensor. When the current sensor is working normally, the ratio of the current sampling value calculated by the preset gain this time to the current sampling value last time plus the predicted current change should be approximately 1, that is, the normalized gain is approximately 1. When the current sensor gain configuration is abnormal, such as changing from 20mV / A to 40mV / A, but the controller still calculates at 20mV / A, it will cause sampling current deviation, and then control abnormality. Therefore, if the normalized gain exceeds the corresponding preset value, it means that the current sampling value calculated according to the current gain has a deviation, which may be due to the abnormal gain configuration of the current sensor. In this application scenario, the diagnostic parameters can include normalized gain. Of course, the above is only an example, and the present invention does not impose any special restrictions on the specific types and quantities of diagnostic parameters.

[0058] Since current sampling circuits are used in different scenarios and the calculation formulas for diagnostic parameters are different, this article focuses on the application of current sampling circuits in control systems of power conversion circuits.

[0059] like Figure 1 As shown, in some embodiments, the current sampling circuit is applied to the control system of the power conversion circuit, the input side and the output side of the power conversion circuit are provided with a voltage sampling circuit, the current sampling circuit is used to detect the current of the power conversion circuit, the controller receives the sampling signals of the current sampling circuit and the voltage sampling circuit, and then outputs a PWM signal to control the power tube switch of the power conversion circuit. Among them, the power conversion circuit includes but is not limited to a bridgeless PFC circuit, the current sensor used by the current sampling circuit includes but is not limited to a Hall effect current sensor, and the controller includes but is not limited to a DSP controller.

[0060] To facilitate understanding, a single-phase totem pole bridgeless PFC circuit is taken as an example for detailed explanation.

[0061] like Figure 2 As shown, the sampling object of the current sampling circuit is the inductor LPFC The current sampling circuit mainly includes: a power supply circuit, a current sensor and a filter circuit. To realize the control of the single-phase totem pole bridgeless PFC circuit, it is necessary to sample the inductor L PFC The controller receives the current sampling signal and the voltage sampling signal, and after calculation, it outputs a PWM signal to control the switch of the power tube.

[0062] When V ac When the fourth switch tube Q SL The second switch tube Q FL and the first switch tube Q FH Complementary conduction, at this time the second switch tube Q FL is regarded as an active tube, and Duty represents the duty cycle of the active tube. FL And the fourth switch tube Q SL When conducting, the positive direction of the current flow is used as the positive direction of the voltage reference, and the inductor L PFC The voltage across the two ends is V ac ; When the first switch tube Q FH And the fourth switch tube Q SL When conducting, the inductor L PFC The voltage across the two ends is V ac -V bus Therefore, in one switching cycle Ts or multiple switching cycles Ts, the inductor L PFC The theoretical current conversion amount should be:

[0063]

[0064] The current sensor transmits the inductance L within one switching cycle Ts or multiple switching cycles Ts. PFC The actual current conversion amount should be (I new is the current value at the end of the switching cycle, I old is the current value at the beginning of the switching cycle):

[0065] ΔI PFC_sampling =I new -I old

[0066] The sampling and theoretical deviation within one switching cycle Ts or multiple switching cycles Ts is:

[0067]

[0068] When V ac When it is negative, the third switch tube Q SH The second switch tube QFL and the first switch tube Q FH Complementary conduction, at this time the first switch tube Q FH In one switching cycle or multiple switching cycles, when the first switch tube Q FH And the third switch tube Q SH When conducting, the positive direction of the current flow is used as the positive direction of the voltage reference, and the inductor L PFC The voltage across the two ends is -V ac ; When the second switch tube Q FL And the third switch tube Q SH When conducting, the inductor L PFC The voltage across the two ends is -V ac -V bus Therefore, in one switching cycle Ts or multiple switching cycles Ts, the inductor L PFC The theoretical current conversion amount should be:

[0069]

[0070] The current sensor transmits the inductance L within one switching cycle or multiple switching cycles Ts. PFC The actual current conversion amount should be:

[0071]

[0072] The sampling and theoretical deviation within one switching cycle Ts or multiple switching cycles Ts is:

[0073]

[0074] V ac The deviation calculation formula when it is positive or negative is combined, and the sampling and theoretical deviation within one switching cycle Ts or multiple switching cycles Ts is:

[0075]

[0076] When V ac When it is positive, ± is negative; when V ac When it is negative, ± is positive.

[0077] The above formulas are all calculation formulas for one switching cycle Ts. If there are multiple switching cycles Ts, Ts in the calculation formula is replaced by Ts×N, where N is the number of switching cycles.

[0078] Based on the above calculation scheme, the specific calculation method of the diagnostic parameters of the present invention is as follows.

[0079] The calculation method of the deviation accumulation value includes: the deviation accumulation value between the current sampling value and the theoretical current value within N switching cycles, N is a positive integer, see the above ΔI PFC_error The calculation formula of

[0080] The current change speed is calculated by dividing the difference between two current sampling values ​​by the interval time between the two current sampling values. The two current sampling values ​​may be two adjacent sampling values ​​or two non-adjacent sampling values. The interval time refers to the time interval between the two current sampling signals being transmitted to the controller.

[0081] The normalized gain is calculated by dividing the current sampling value by the current prediction value corresponding to the current sampling value. The calculation formula is: The above ΔI PFC_theory After substituting the calculation formula into

[0082] like Figure 3 As shown, after diagnosing that the current sampling circuit is operating abnormally, the present invention can also identify the abnormal type of the current sampling circuit and / or execute corresponding protection measures according to different diagnosis conditions.

[0083] In some embodiments of the present invention, after diagnosing that the current sampling circuit is working abnormally, the abnormal type of the current sampling circuit is identified according to different diagnostic conditions. The specific logic is as follows:

[0084] When the first diagnostic condition is met and the accumulated deviation value is a positive value, it is identified as a current sensor failure;

[0085] When the first diagnostic condition is met and the accumulated deviation value is negative, it is identified as an abnormality in the current sensor sampling signal transmission branch;

[0086] When the second diagnostic condition is met, it is identified as a current sensor failure or an inductor saturation abnormality;

[0087] When the third diagnosis condition is met, it is identified that the current sensor gain configuration is abnormal.

[0088] In other embodiments of the present invention, after diagnosing that the current sampling circuit is abnormal, corresponding protection measures are executed according to different diagnosis conditions. The specific logic is as follows:

[0089] When the first diagnostic condition is met and the accumulated deviation value is a positive value, protection measure 1 is executed, the count is increased by one, and then it is determined whether the count is greater than a fourth preset value. If so, the system where the current sampling circuit is located is shut down, and if not, the system where the current sampling circuit is located is restarted;

[0090] When the first diagnostic condition is met and the accumulated deviation value is negative, protection measure 2 is executed, and the system where the current sampling circuit is located is shut down;

[0091] When the second diagnostic condition is met, protection measure 3 is executed, and the system where the current sampling circuit is located is restarted;

[0092] When the third diagnostic condition is met, protection measure 4 is executed, and the system where the current sampling circuit is located operates normally.

[0093] In a preferred embodiment of the present invention, after diagnosing that the current sampling circuit is working abnormally, the abnormal type of the current sampling circuit is identified according to different diagnostic conditions, and corresponding protection measures are executed based on the abnormal type. The specific logic is as follows:

[0094] When the first diagnostic condition is met and the abnormal type is a current sensor failure, protection measure 1 is executed, the count is increased by one, and then it is determined whether the count is greater than a fourth preset value. If so, the system where the current sampling circuit is located is shut down, and if not, the system where the current sampling circuit is located is restarted;

[0095] When the first diagnostic condition is met and the abnormality type is that the current sensor sampling signal transmission branch is abnormal, protection measure 2 is executed and the system where the current sampling circuit is located is shut down;

[0096] When the abnormality type is current sensor failure or inductor saturation abnormality, protection measure 3 is executed and the system where the current sampling circuit is located is restarted;

[0097] When the abnormality type is abnormal current sensor gain configuration, protection measure 4 is executed and the system where the current sampling circuit is located operates normally.

[0098] It should be pointed out that both the identification of abnormality types and the execution of protective measures are designed on the basis of diagnosing circuit abnormality. Therefore, the diagnostic conditions involved in the identification of abnormality types and the execution of protective measures should match the steps of diagnosing circuit abnormality.

[0099] In order to improve the protection effect of the control method, different protection measures are designed with optimization schemes, the specific schemes are as follows.

[0100] For protection measure 1, after the system is shut down, the count is cleared when the system is turned on and operates normally for a certain period of time.

[0101] In addition, for protection measure 3, after the second diagnostic condition is met and the system where the current sampling circuit is located is restarted, the working state of the system where the current sampling circuit is located is controlled according to the current change speed. The reason for this design is that since the abnormality type that meets the second diagnostic condition is current sensor failure or inductor saturation abnormality, the control system operates at a reduced rating to reduce or eliminate the inductor saturation abnormality, thereby prompting the current sampling circuit to return to normal.

[0102] In a feasible embodiment of the present invention, the working state logic of the system where the current sampling circuit is located is controlled according to the current change speed as follows:

[0103] When the current change speed is less than the fifth preset value, the current change speed deviation is within a safe range, and the system where the current sampling circuit is located operates at a reduced rating to reduce or eliminate the inductor saturation anomaly;

[0104] When the current change speed is ≥ the fifth preset value, the current change speed deviation exceeds the safety range, and the system where the current sampling circuit is located is shut down.

[0105] On this basis, the optimal solution for derating the system where the current sampling circuit is located is:

[0106] When the current change speed is ≤ the second preset value, it is diagnosed that the current sampling circuit is working normally and does not need to be derated. The derated coefficient in this stage is equal to 1;

[0107] When the second preset value is less than the current change speed and less than the fifth preset value, the derating factor is dynamically calculated according to the current change speed to perform derating operation in this stage to reduce or eliminate the inductor saturation anomaly and enable the current sampling circuit to return to normal. The derating factor calculation method in this stage is:

[0108]

[0109] in, is the current change speed, 0<second derating factor<first derating factor<1.

[0110] Furthermore, for protection measure 4, when the third diagnostic condition is met, the system where the current sampling circuit is located operates normally, and the current sampling value transmitted by the current sampling circuit is corrected according to the normalized gain. The design reason is that since the abnormal type that meets the third diagnostic condition is the abnormal current sensor gain configuration, the current sampling value calculated using the current gain will have a deviation. According to the calculation method of the normalized gain, the current sampling value is divided by the sum of the previous current sampling value and the predicted current change to obtain a ratio. The ratio will fall near other optional gains. Then, the voltage value sampled at the input port of the DSP controller can be calculated as the corresponding current value using the correction coefficient corresponding to the optional configuration, that is, the sampled current value is corrected.

[0111] In a feasible embodiment of the present invention, the logic of correcting the current sampling value transmitted by the current sampling circuit according to the normalized gain is as follows:

[0112] The current sensor of the current sampling circuit has at least two gain configurations, the currently selected gain configuration is used as the reference configuration, and the remaining gain configurations are optional configurations, and a comparison relationship between the gain configuration and the third preset value is established, and the comparison relationship also includes a correction coefficient corresponding to each optional configuration;

[0113] comparing the normalized gain to a third predetermined value in a control relationship;

[0114] If the normalized gain is within the third preset value of one of the optional configurations, a correction coefficient corresponding to the optional configuration is obtained, and the current sampling value transmitted by the current sampling circuit is corrected using the correction coefficient.

[0115] In some embodiments, the normalized gain of the baseline configuration (i.e., the currently selected gain configuration) is 1, the third preset value of the baseline configuration is 1±preset deviation, the normalized gain of the optional configuration is the optional configuration divided by the baseline configuration, the third preset value of the optional configuration is the normalized gain of the optional configuration±preset deviation, and the correction coefficient of the optional configuration is the baseline configuration divided by the optional configuration.

[0116] For ease of understanding, a current sensor with four gain configurations is used as an example for explanation.

[0117] Current sensor gain Normalized Gain The third preset value Correction factor Current configuration K1 1 1±σ / Other optional configurations1 K2 K2 / K1 K2 / K1±σ K1 / K2 Other optional configurations 2 K3 K3 / K1 K3 / K1±σ K1 / K3 Other optional configurations 3 K4 K4 / K1 K4 / K1±σ K1 / K4

[0118] Assuming that the currently selected current sensor gain configuration is K1, and other optional current sensor gain configurations are K2, K3, and K4, the normalized gains corresponding to each configuration are 1, K2 / K1, K3 / K1, and K4 / K1, σ is the preset deviation, and the third preset value is the corresponding normalized gain plus or minus the preset deviation. ideal If the normalized gain K falls within the range of the third preset value 1±σ, the current sensor gain configuration is considered normal. ideal If the value falls within the range of the third preset value K3 / K1±σ, the current sensor gain configuration is considered abnormal, and the coefficient m used in the current DSP controller to calculate the voltage value as the current sampling value is multiplied by the corresponding correction coefficient K1 / K3. ideal If it falls within the range of the third preset value K4 / K1±σ or K2 / K1±σ, it is also diagnosed as an abnormal current sensor gain configuration, and the coefficient m used in the current DSP controller to calculate the voltage value as the current sampling value is multiplied by the corresponding correction coefficient K1 / K4 or K1 / K2.

[0119] It should be understood that if the currently selected configuration is K2, the normalized gains corresponding to each configuration are K1 / K2, 1, K3 / K2, K4 / K2, and the correction coefficients corresponding to each configuration are K2 / K1, / , K2 / K3, K2 / K4. The same logic can be applied to other implementation plans.

[0120] It should be pointed out that the first preset value to the fifth preset value, the first derating factor, the second derating factor, σ, etc. mentioned above are all designed according to actual needs, and the present invention does not impose any special restrictions on the specific values.

[0121] The present invention also proposes a vehicle-mounted charger, comprising: a power conversion circuit, a current sampling circuit and a controller, wherein the controller executes the above control method.

[0122] The present invention adds a method for diagnosing, identifying and protecting whether the current sampling circuit is abnormal to the existing protection measures that only focus on the normal operation of the current sampling circuit. It can not only diagnose the abnormality of the current sampling circuit, but also identify the type of abnormality, and take different protection measures according to the degree of influence of the abnormality on the system, thereby greatly improving the stability and reliability of the system. The control method is simple and effective, the prediction is accurate and does not increase the cost.

[0123] It should be noted that the terms used above are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. When the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof. The order of execution of actions, steps, etc. in the devices and methods shown in the specification and the accompanying drawings can be implemented in any order as long as there is no special explicit limitation on the order and the output of the previous processing is not used in the subsequent processing. Similar terms of order used for the convenience of description do not mean that they must be implemented in such an order.

[0124] Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification. In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following figures, and therefore, once an item is defined in one figure, it does not need to be further discussed in subsequent figures.

[0125] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A current sampling control method, characterized in that: include: Obtaining a current sampling value transmitted by a current sampling circuit; Calculating diagnostic parameters according to the current sampling value; The diagnostic parameter is compared with a corresponding preset value to diagnose whether the current sampling circuit is operating abnormally.

2. The current sampling control method according to claim 1, characterized in that: The diagnostic parameter includes at least one of a deviation accumulation value, a current change speed, and a normalized gain; Comparing the diagnostic parameter with a corresponding preset value and diagnosing whether the current sampling circuit is working abnormally includes: When the accumulated deviation value exceeds a first preset value, determining that a first diagnostic condition is met; and / or when the current change speed exceeds a second preset value, determining that a second diagnostic condition is met; and / or when the normalized gain exceeds a third preset value, determining that a third diagnostic condition is satisfied; Wherein, if the diagnostic parameter satisfies any diagnostic condition, it is diagnosed that the current sampling circuit is operating abnormally.

3. The current sampling control method according to claim 2, characterized in that: The calculation method of the deviation accumulation value includes: the deviation accumulation value between the current sampling value and the theoretical current value in N switching cycles, where N is a positive integer; The current change speed is calculated by dividing the difference between two current sampling values ​​by the interval between the two current sampling values; The normalized gain is calculated by dividing the current sampling value by the current prediction value corresponding to the current sampling value.

4. The current sampling control method according to claim 2 or 3, characterized in that: After comparing the diagnostic parameter with the corresponding preset value and diagnosing whether the current sampling circuit is operating abnormally, the current sampling control method also includes: if it is diagnosed that the current sampling circuit is operating abnormally, identifying the abnormal type of the current sampling circuit and / or executing corresponding protection measures according to different diagnostic conditions.

5. The current sampling control method according to claim 4, characterized in that: Identifying the abnormal type of the current sampling circuit according to different diagnostic conditions includes: When the first diagnostic condition is met and the accumulated deviation value is a positive value, it is identified as a current sensor failure; and / or when the first diagnostic condition is met and the accumulated deviation value is a negative value, identifying that the current sensor sampling signal transmission branch is abnormal; and / or when the second diagnostic condition is met, identifying that the current sensor fails or the inductor is saturated abnormally; And / or when the third diagnostic condition is met, it is identified as a current sensor gain configuration abnormality.

6. The current sampling control method according to claim 4, characterized in that: The identifying the abnormal type of the current sampling circuit and / or executing corresponding protection measures according to different diagnostic conditions includes: When the first diagnostic condition is met and the accumulated deviation value is a positive value, the count is increased by one, and then it is determined whether the count is greater than a fourth preset value. If so, the system where the current sampling circuit is located is shut down, and if not, the system where the current sampling circuit is located is restarted; and / or when the first diagnostic condition is met and the accumulated deviation value is a negative value, the system where the current sampling circuit is located is shut down; and / or when the second diagnostic condition is met, the system where the current sampling circuit is located is restarted; And / or when the third diagnostic condition is met, the system where the current sampling circuit is located operates normally.

7. The current sampling control method according to claim 6, characterized in that: The identifying the abnormal type of the current sampling circuit and / or executing corresponding protection measures according to different diagnostic conditions includes: after the second diagnostic condition is met and the system where the current sampling circuit is located is restarted, controlling the working state of the system where the current sampling circuit is located according to the current change speed.

8. The current sampling control method according to claim 7, characterized in that: Controlling the working state of the system where the current sampling circuit is located according to the current change speed includes: When the current change speed is less than a fifth preset value, the system where the current sampling circuit is located operates at a reduced rating; When the current variation speed is greater than or equal to a fifth preset value, the system where the current sampling circuit is located is shut down.

9. The current sampling control method according to claim 8, characterized in that: The system where the current sampling circuit is located operates at a reduced rating, including: When the second preset value is less than the current change speed and less than the fifth preset value, the derating factor of the system where the current sampling circuit is located is calculated as follows: in, is the current change speed, 0<second derating factor<first derating factor<1.

10. The current sampling control method according to claim 6, characterized in that: The current sampling control method further includes: when the third diagnostic condition is met, correcting the current sampling value transmitted by the current sampling circuit according to the normalized gain.

11. The current sampling control method according to claim 10, characterized in that: Correcting the current sampling value transmitted by the current sampling circuit according to the normalized gain includes: The current sensor of the current sampling circuit has at least two gain configurations, the currently selected gain configuration is used as the reference configuration, and the remaining gain configurations are optional configurations, and a comparison relationship between the gain configuration and the third preset value is established, wherein the comparison relationship also includes a correction coefficient corresponding to each optional configuration; comparing the normalized gain with a third preset value in the control relationship; If the normalized gain is within a third preset value of one of the optional configurations, a correction coefficient corresponding to the optional configuration is obtained, and the current sampling value transmitted by the current sampling circuit is corrected using the correction coefficient.

12. On-board charger, including: A power conversion circuit, a current sampling circuit and a controller, wherein the controller executes the current sampling control method according to any one of claims 1 to 11.