Hydrogen injector control device

The hydrogen injector control device addresses accuracy issues by using a current detection resistor and amplifier to correct input voltage errors, enhancing precision in hydrogen injection amount control through pulse width adjustments.

JP2024127059AActive Publication Date: 2024-09-20DENSO CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023035918
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-20
Estimated Expiration
2043-03-08

AI Technical Summary

Technical Problem

The accuracy of hydrogen injection amount control in hydrogen injectors is compromised due to errors in input voltage amplification by operational amplifiers, particularly when the switching element is off, leading to reduced current monitoring precision.

Method used

A hydrogen injector control device that includes a current detection resistor, an amplifier to monitor the current, and a processing device that corrects input voltage errors by calculating a correction value based on deviations from actual current values, improving accuracy by adjusting the pulse width of the control signal.

Benefits of technology

The device enhances the accuracy of hydrogen injection amount control by correcting input voltage errors, especially during the off period of the switching element, thereby improving overall precision and reducing noise influence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127059000001
    Figure 2024127059000001
Patent Text Reader

Abstract

To provide a hydrogen injector control device which can improve the accuracy of injection amount control.SOLUTION: A control device 100 comprises a MOSFET 20 disposed at a downstream side of a coil, and connected to prescribed potential, a current monitor circuit 40, and a CPU 10. The current monitor circuit includes a shunt resistor 41 disposed at a current path between the coil and the MOSFET, and an operational amplifier 42 for amplifying a both-side voltage of the shunt resistor, and outputting voltage correlated with a current value which flows in the coil. The CPU acquires a current monitor value from an input voltage which has monitored an output voltage, and controls a current amount by changing a pulse width of a PWM signal for controlling on / off-operations of the MOSFET on the basis of the current monitor value. Also, when it is determined that an error occurs between the last-time value and a this-time value of the input voltage, the CPU collects the input voltage by a correction value corresponding to the error, and acquires a post-correction input voltage for acquiring the current monitor value.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a hydrogen injector control device. [Background technology]

[0002] One example of a hydrogen injector control device is the hydrogen injector disclosed in Patent Document 1. The hydrogen injector includes a solenoid valve connected to a high-pressure hydrogen tank, and a controller that supplies current to the coil of the solenoid valve. The controller monitors the current flowing through the coil while supplying a first current to the coil. When the rate of change of the current increases, the controller reduces the supplied current from the first current to a second current. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2021-18888 Summary of the Invention [Problem to be solved by the invention]

[0004] The hydrogen injector control device may be configured to control the amount of hydrogen injected by adjusting the valve opening, by monitoring the current flowing through a coil and controlling the valve opening according to the amount of current to the coil.

[0005] In this case, the hydrogen injector control device provides a shunt resistor in the current path between the coil and the switching element on the low side of the coil to monitor the current flowing through the coil. The switching element is connected to a power source via a diode. The hydrogen injector control device amplifies the voltage across the shunt resistor generated by the current flowing through the coil using an operational amplifier and inputs it to a processing device, which monitors the current.

[0006] In the hydrogen injector control device, the voltage across the shunt resistor is high when the switching element is off. As a result, the input voltage to the operational amplifier of the hydrogen injector control device is high. Therefore, in the hydrogen injector control device, if an error occurs in the input voltage, the error is also amplified by the operational amplifier, so that the error becomes larger when the switching element is off compared to when it is on, reducing the accuracy of the current monitor in the processing device. Therefore, the hydrogen injector control device has the problem that the accuracy of injection amount control decreases due to the error in the input voltage.

[0007] One disclosed object is to provide a hydrogen injector control device that can improve the accuracy of injection amount control. [Means for solving the problem]

[0008] The hydrogen injector control device disclosed herein comprises: A hydrogen injector control device that controls the amount of hydrogen injection by controlling the valve opening according to the amount of current supplied to a coil of the hydrogen injector, a switching element (20) provided downstream of the coil and connected to a predetermined potential; a current monitor circuit (40) including a current detection resistor (41) provided in a current path between the coil and the switching element, and an amplifier (42) that amplifies a voltage across the current detection resistor to output a voltage that is correlated to a value of a current flowing through the coil; a processing device (10) that acquires a current monitor value from an input voltage obtained by monitoring an output voltage of the amplifier, and controls an amount of current by changing a pulse width of a control signal that controls on / off of a switching element based on the current monitor value; If the processing device determines that there is an error between the previous and current values ​​of the input voltage, it assumes that the current monitor value deviates from the actual current value flowing through the coil, corrects the input voltage with a correction value corresponding to the error, and obtains a corrected input voltage for obtaining the current monitor value.

[0009] In this way, the hydrogen injector control device assumes that the monitored current value deviates from the actual current value flowing through the coil, and corrects the input voltage with a correction value corresponding to the error. This allows the hydrogen injector control device to improve the accuracy of the monitored current value, thereby improving the accuracy of hydrogen injection amount control.

[0010] Another aspect of the hydrogen injector control device disclosed herein is A hydrogen injector control device that controls the amount of hydrogen injection by controlling the valve opening according to the amount of current supplied to a coil of the hydrogen injector, a switching element (20) provided downstream of the coil and connected to a predetermined potential; a current monitor circuit (40) including a current detection resistor (41) provided in a current path between the coil and the switching element, and an amplifier (42) that amplifies a voltage across the current detection resistor to output a voltage that is correlated to a value of a current flowing through the coil; a processing device (10) that acquires a current value from an input voltage by monitoring an output voltage of the amplifier, and controls an amount of current by changing a pulse width of a control signal that controls on / off of a switching element based on the acquired current value, The processing device controls the amount of current by using the input voltage during the on-period of the switching element, without using the input voltage during the off-period of the switching element.

[0011] In this way, the hydrogen injector control device controls the amount of current using the output voltage during the on-period, thereby improving the accuracy of control of the amount of hydrogen injection.

[0012] The aspects disclosed in this specification adopt different technical means to achieve their respective objectives. The claims and the parenthetical symbols described in this section are illustrative of the corresponding relationship with the embodiments described below, and are not intended to limit the technical scope. The objectives, features, and effects disclosed in this specification will become clearer by referring to the following detailed description and the attached drawings. [Brief description of the drawings]

[0013] [Figure 1] 1 is a block diagram showing a schematic configuration of a fuel cell system. [Diagram 2] FIG. 2 is a circuit diagram showing a schematic configuration of a control device. [Diagram 3] 4 is a flowchart showing a processing operation of the control device. [Figure 4] 4 is a timing chart showing a processing operation of the control device. [Diagram 5] 10 is a flowchart showing a processing operation of a control device according to a modified example. [Figure 6] 10 is a timing chart showing a processing operation of a control device according to a modified example. [Figure 7] 10 is a flowchart showing a processing operation of a control device according to a second embodiment. [Figure 8] 10 is a timing chart showing a processing operation of a control device according to a second embodiment. [Figure 9] 10 is a flowchart showing a processing operation of a control device according to a modified example. [Figure 10] 10 is a timing chart showing a processing operation of a control device according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, several embodiments for carrying out the present disclosure will be described with reference to the drawings. In each embodiment, the same reference numerals may be used to designate parts corresponding to matters described in the preceding embodiment, and duplicated descriptions may be omitted. In each embodiment, when only a part of the configuration is described, the other parts of the configuration may be applied by referring to the other embodiment described previously.

[0015] (First embodiment) The control device 100 of this embodiment will be described with reference to Figures 1 to 4. In this embodiment, a hydrogen injector control device is applied to the control device 100. The control device 100 is configured so as to be mountable on a fuel cell vehicle.

[0016] <Fuel cell system configuration> As shown in Fig. 1, the control device 100 is part of a fuel cell system. The fuel cell system is a system that supplies hydrogen (hydrogen gas) and oxygen to a fuel cell stack 300 for generating power in the fuel cell stack 300. In addition to the control device 100, the fuel cell system includes a hydrogen injector 200, multiple valve bodies 201-204, the fuel cell stack 300, an air compressor 400, and a hydrogen tank 500. In Fig. 1, the control device is abbreviated as ECU, the fuel cell stack as FCS, and the hydrogen tank as HDT.

[0017] The fuel cell stack 300 is a stack of cells that generate electricity through an electrochemical reaction between hydrogen and oxygen. Each cell is configured with a hydrogen electrode and an oxygen electrode sandwiched between an electrolyte membrane. The hydrogen electrode is sometimes called the anode. The oxygen electrode is sometimes called the cathode.

[0018] A plurality of pipes are connected to the fuel cell stack 300. The cathode is connected to an air compressor 400 via an oxygen supply pipe. A supply valve 201 is provided on the oxygen supply pipe. The cathode is supplied with oxygen compressed by the air compressor 400 via the supply valve 201. It can also be said that compressed air is supplied to the cathode as a gas containing oxygen. The oxygen is used in an electromotive reaction at the cathode. Oxygen not used in the electromotive reaction at the cathode is exhausted from an oxygen exhaust pipe. A pressure regulating valve 202 is provided on the oxygen exhaust pipe. The supply valve 201 and the pressure regulating valve 202 are controlled to open and close by the control device 100.

[0019] The anode is connected to a hydrogen tank 500 via a hydrogen supply pipe. A hydrogen injector 200 is provided in the hydrogen supply pipe. The hydrogen tank 500 is connected to a hydrogen supply pipe via a tank main stop valve 204. Hydrogen is supplied to the anode from the hydrogen tank 500 via the hydrogen injector 200. The hydrogen is used in an electromotive reaction at the anode. Hydrogen not used in the electromotive reaction at the anode is discharged from a hydrogen exhaust pipe. A discharge path opening / closing valve 203 is provided in the hydrogen exhaust pipe. Note that water (water vapor) and the like are also discharged into the hydrogen exhaust pipe together with the hydrogen not used in the electromotive reaction. The opening and closing of the hydrogen injector 200, the discharge path opening / closing valve 203, and the tank main stop valve 204 are controlled by the control device 100.

[0020] The configuration of the pipes and valve bodies 201 to 204 connected to the fuel cell stack 300 is not limited to that described above. Therefore, the fuel cell system may include components other than those described above.

[0021] Hydrogen injector 200 is equipped with a linear solenoid valve. The linear solenoid valve is equipped with a coil 210, a plunger, etc. When current is supplied to coil 210, the magnetic force of coil 210 moves the plunger in the direction in which the flow path opens, i.e., the valve opens. The linear solenoid valve injects hydrogen by opening the valve. In hydrogen injector 200, the amount of hydrogen injection is controlled by the opening degree of the valve. The opening degree of the valve is controlled by the amount of current (current value I) flowing through coil 210.

[0022] In addition, the linear solenoid valve closes the flow path when the amount of current to the coil 210 does not reach a predetermined value. The flow path is connected to the fuel cell stack 300. One end of the coil 210 is connected to the battery 600, and the other end is connected to the terminal 50 of the control device 100.

[0023] <Control device configuration> 2, the control device 100 includes a CPU 10, a MOSFET 20, an internal power supply 30, and a current monitor circuit 40. The control device 100 controls the valve opening according to the amount of current to the coil 210 of the hydrogen injector 200. In this way, the control device 100 controls the amount of hydrogen injected by the hydrogen injector 200. In other words, the control device 100 controls the amount of hydrogen supplied to the fuel cell stack 300.

[0024] The CPU 10 is an arithmetic processing device equipped with a memory 11. That is, the CPU 10 is equipped with a calculation unit that executes arithmetic processing, and the memory 11 in which various data and the like are stored. The memory 11 may be provided outside the CPU 10. The CPU 10 corresponds to a processing device.

[0025] The CPU 10 executes a predetermined calculation process. The CPU 10 (calculation unit) is configured to be able to refer to information stored in the memory 11. The output voltage Vout output from the operational amplifier 42 is input to the CPU 10. That is, the CPU 10 monitors the output voltage Vout as an input voltage Vin. The CPU 10 acquires (calculates) a current value I from the input voltage Vin. The acquired current value I corresponds to a current monitor value.

[0026] Furthermore, the CPU 10 also has a function of correcting the input voltage Vin for calculating the current monitor value with a correction value Vco. Therefore, the CPU 10 can obtain a corrected input voltage Vin1 obtained by correcting the input voltage Vin. In this case, the CPU 10 calculates the current monitor value from the corrected input voltage Vin1. The correction will be described in detail later.

[0027] Based on the current monitor value, the CPU 10 generates a PWM signal as a control signal for controlling the on / off of the MOSFET 20. The CPU 10 changes the pulse width of the PWM signal to control the amount of current to the coil 210. In other words, the CPU 10 controls the current to the coil 210 (hydrogen injector 200) by outputting a PWM signal. Note that the memory 11 stores information such as a correction value Vco, a threshold value Vth, and variables X1 and X2, which will be described later.

[0028] The MOSFET 20 is provided downstream of the coil 210. Therefore, the MOSFET 30 can also be called a low-side MOS or a low-side switching element. The drain terminal of the MOSFET 20 is connected to the coil 210. The drain terminal of the MOSFET 20 is also connected to the internal power supply 30 via a diode. Therefore, the MOSFET 20 can be said to be connected to a predetermined potential. The gate terminal of the MOSFET 20 is connected to the CPU 10. A PWM signal is input to the gate terminal. The source terminal of the MOSFET 20 is connected to, for example, the ground. The MOSFET 20 corresponds to a switching element. Note that, hereinafter, a portion described as "on" indicates that the MOSFET 20 is on, and a portion described as "off" indicates that the MOSFET 20 is off.

[0029] The current monitor circuit 40 includes a shunt resistor 41 and an operational amplifier 42. The shunt resistor 41 is provided in a current path between the coil 210 and the MOSFET 20. The operational amplifier 42 amplifies the voltage (potential difference V2-V1) across the shunt resistor 41, and outputs an output voltage Vout that correlates to the current value I flowing through the coil 210. The potential difference V2-V1 is the difference between the voltage value of the second terminal V2 and the voltage value of the first terminal V1. The resistance value of the shunt resistor 41 is R1. The operational amplifier 42 corresponds to an amplifier.

[0030] The current monitor circuit 40 also includes a plurality of resistors 43-48 for determining the magnification of the voltage across the shunt resistor 41. The first resistor 43, the second resistor 44, and the third resistor 45 are connected to the second terminal V2 and the + terminal of the operational amplifier 42. The fourth resistor 46, the fifth resistor 47, and the sixth resistor 48 are connected to the first terminal V1 and the - terminal of the operational amplifier 42. The shunt resistor 41 corresponds to a current detection resistor.

[0031] As described above, the hydrogen injector 200 is equipped with a linear solenoid valve. Therefore, the hydrogen injector 200 is different from an injector equipped with an on-off valve. The injector controls the amount of hydrogen injection by the time the valve is open. Therefore, the current accuracy required for the injector is only to the extent that it can transition between the on and off states.

[0032] In contrast, as described above, hydrogen injector 200 controls the amount of hydrogen injection by the value of current I flowing through coil 210. That is, in hydrogen injector 200, the value of current I flowing through coil 210 is directly linked to the amount of hydrogen injection. For this reason, control device 100 needs to detect (monitor) current value I with high accuracy.

[0033] In the current monitor circuit 40, the voltage value of the first terminal V1 rises to +B+Vf when the circuit is turned off. The voltage value of the second terminal V2 is based on the voltage value of the first terminal V1. Therefore, in the current monitor circuit 40, the voltage value of the second terminal V2 also rises. The voltage value of the first terminal V1 is 0 [V] when the circuit is on, and +B+Vf [V] when the circuit is off. The voltage value of the second terminal V2 is I×R1 [V] when the circuit is on, and (+B+Vf)+I×R1 [V] when the circuit is off. Therefore, an error occurs between the input voltages to the + and - terminals of the operational amplifier 42 and the voltage corresponding to the actual current value flowing through the coil 210.

[0034] Also, the input voltage error to the operational amplifier 42 is affected by the ratio of the resistors 43 to 48. Therefore, when the voltage applied to the first terminal V1 and the second terminal V2 becomes high, the absolute value of the error becomes large. The input voltage error is amplified by the operational amplifier 42 and input to the CPU 10. Therefore, the error of the current monitor circuit 40 becomes larger when it is off than when it is on. That is, the current value I calculated from the output voltage Vout deviates from the actual current value flowing through the coil 210 when it is off compared to when it is on. The CPU 10 calculates the corrected input voltage Vin1 to reduce the deviation. Therefore, the CPU 10 may correct the input voltage Vin with the correction value Vco only during the off period.

[0035] <Processing operation of the control device> Here, the processing operation of the control device 100 will be described with reference to FIG. 3 and FIG.

[0036] When the supply of power is started, the CPU 10 executes the process shown in the flowchart of Fig. 3 at a predetermined cycle. The CPU 10 may also execute the process shown in the flowchart of Fig. 3 at a timing when current control for the coil 210 is required. Fig. 4 shows waveforms in the control device 100 during current control.

[0037] 4, as the waveform of the output voltage Vout, a solid line indicates the output voltage Vout associated with the input voltage error of the operational amplifier 42, and a dashed line indicates the output voltage Vout corresponding to the actual current value flowing through the coil 210. Also, as the waveform of the corrected input voltage Vin1, a solid line indicates the corrected Vin1, and a dashed double-dashed line indicates the input voltage Vin corresponding to the actual current value flowing through the coil 210.

[0038] Furthermore, two patterns are shown for the output voltage Vout in Fig. 4. In the first pattern, the output voltage Vout is written as output voltage Vout1. In the second pattern, the output voltage Vout is written as output voltage Vout2. The first pattern is a case where there is an upper deviation from the actual current value. The second pattern is a case where there is a lower deviation from the actual current value.

[0039] In step S10, the CPU 10 monitors the input voltage Vin and saves it in a variable X1. The variable X1 can also be said to be the current value of the input voltage Vin. The CPU 10 saves the variable X1 in the memory 11. If the variable 1 has already been saved, the CPU 10 overwrites and saves the X1 monitored in step S10.

[0040] In step S12, the CPU 10 determines whether or not the variable X2 is greater than 0. If the CPU 10 determines that the variable X2 is greater than 0, the process proceeds to step S14, and if the CPU 10 does not determine that the variable X2 is greater than 0, the process proceeds to step S24. The variable X2 can also be considered the previous value of the input voltage Vin.

[0041] In step S14, the CPU 10 determines whether or not |X1-X2|>Vth. Vth is a threshold for determining whether or not correction is necessary. The threshold Vth corresponds to a predetermined value. The CPU 10 determines whether or not correction is necessary in step S14. In addition, in step S14, the CPU 10 can also be said to determine whether or not there is an error between the previous value and the current value of the input voltage Vin. The error between the previous value and the current value can also be regarded as an error between the voltage corresponding to the actual current value flowing through the coil 210 and the input voltage to the operational amplifier 42.

[0042] When the CPU 10 determines that |X1-X2|>Vth, it determines that the current value has increased or decreased from the previous value by more than a predetermined value. In this case, the CPU 10 determines that an error has occurred and correction is necessary, and proceeds to step S16. In other words, the CPU 10 determines that an error has occurred to the extent that correction is necessary. In addition, when the CPU 10 determines that there is an error between the previous value and the current value of the input voltage Vin, it can also be said that it determines that the current monitor value deviates from the actual current value flowing through the coil 210.

[0043] On the other hand, if the CPU 10 does not determine that |X1-X2|>Vth, it determines that the current value has not increased or decreased from the previous value by more than a predetermined value. In this case, the CPU 10 determines that no correction is necessary because there is no error, and proceeds to step S22. In other words, the CPU 10 determines that no error has occurred to the extent that correction is necessary. In addition, if the CPU 10 does not determine that there is an error between the previous value and the current value of the input voltage Vin, it can also be said that it determines that the current monitor value does not deviate from the actual current value flowing through the coil 210. Note that the CPU 10 may determine that correction is necessary if |X1-X2|≧Vth, and may determine that correction is not necessary if |X1-X2|≧Vth is not satisfied.

[0044] In step S22, the CPU 10 sets the correction value Vco to 0. That is, the CPU 10 sets 0 as the correction value Vco. The CPU 10 saves the correction value Vco in the memory 11. Note that, if a correction value Vco has already been saved, the CPU 10 overwrites and saves 0 as the correction value Vco. Note that the correction value Vco=0 indicates that the correction value Vco has not been set.

[0045] In step S16, the CPU 10 determines whether Vco=0. That is, the CPU 10 determines whether a correction value Vco is set. If the CPU 10 determines that Vco=0, it considers that a correction value Vco is not set and proceeds to step S18. If the CPU 10 does not determine that Vco=0, it considers that a correction value Vco is set and proceeds to step S20.

[0046] The CPU 10 executes Vco=X1-X2 in step S18. That is, the CPU 10 sets the calculation result of X1-X2 as the correction value Vco. As shown in FIG. 4, the correction value Vco is the difference between the output voltage Vout associated with the input voltage error of the operational amplifier 42 and the output voltage Vout corresponding to the actual current value flowing through the coil 210.

[0047] As described above, the CPU 10 performs step S18 only when it is determined in step S16 that the correction value Vco has not been set. This allows the CPU 10 to reduce the processing load for setting the correction value Vco. However, the present disclosure is not limited to this. The CPU 10 may omit step S16. The CPU 10 overwrites and saves the correction value Vco set in step S18 in the memory 11.

[0048] In step S20, the CPU 10 executes X1=X1-Vco. That is, the CPU 10 sets the calculation result of the variable X1-Vco as the variable X1. The CPU 10 sets a value obtained by subtracting the correction value Vco from the variable X1 saved in step S10 as the corrected variable X1. The corrected variable X1 corresponds to the corrected input voltage Vin1. That is, when the CPU 10 determines that there is an error between the previous value and the current value of the input voltage Vin, it can be said that the CPU 10 corrects the input voltage Vin with the correction value Vco according to the error to obtain the corrected input voltage Vin1 for obtaining the current monitor value.

[0049] In this way, the CPU 10 corrects the input voltage Vin with the correction value Vco. As shown in FIG. 4, the CPU 10 can perform either positive or negative correction in steps S18 and S20. When the CPU 10 sets the variable X1 (corrected input voltage Vin1) in step S20, the CPU 10 performs current control using the variable X1. In other words, when the deviation between the previous value and the current value of the input voltage Vin increases or decreases beyond the threshold value Vth, the CPU 10 corrects the deviation as a deviation from the actual current value and uses it for control. It can also be said that the CPU 10 performs current control by correcting the sampled value (Vin) during the off period with Vco.

[0050] In step S24, the CPU 10 executes X2=X1. The CPU 10 sets the variable X1 set in step S20 to the variable X2. Then, the CPU 10 overwrites and saves the variable X2 in the memory 11. As a result, the variable X1 set in step S20 becomes the previous value.

[0051] In step S26, the CPU 10 determines whether or not the current control has ended. If the CPU 10 determines that the current control has ended, it ends the flowchart of FIG. 3, and if it does not determine that the current control has ended, it returns to step S10. The CPU 10 determines that the current control has ended, for example, when a signal indicating that the valve of the hydrogen injector 200 is closed is input. The signal indicating that the valve is closed is input from another control device, etc. The CPU 10 continues to perform correction while the MOSFET 20 is off. In other words, the CPU 10 performs injection control while modifying the correction value Vco while the MOSFET 20 is off.

[0052] <Effects> As described above, the control device 100 assumes that the current monitor value deviates from the actual current value flowing through the coil 210, and corrects the input voltage Vin with the correction value Vco according to the error. Thus, the control device 100 can improve the accuracy of the current monitor value. As a result, the control device 100 can improve the accuracy of current control. Thus, the control device 100 can improve the accuracy of hydrogen injection amount control. In other words, the control device 100 can improve the accuracy of hydrogen injection amount control even during the off period of the MOSFET 20, which is prone to errors.

[0053] Furthermore, the control device 100 can correct and use the input voltage Vin for injection amount control even during the off-period of the MOSFET 20. Therefore, the control device 100 can reduce the influence of noise when averaging.

[0054] Furthermore, the hydrogen injector 200 can correct the input voltage Vin and improve the accuracy of the current monitor value even when installed in a fuel cell vehicle. The hydrogen injector 200 can improve the accuracy of injection amount control even if the error has deviated from the time of shipment from the factory.

[0055] <Modification> Here, a modified example of the control device 100 of the first embodiment will be described with reference to Figs. 5 and 6. In the modified example, differences from the above embodiment will be mainly described. The modified example differs from the above embodiment in processing operations. In Fig. 5, the same step numbers as in Fig. 3 are used for the same processes as in Fig. 3.

[0056] FIG. 6 is a diagram corresponding to FIG. 4. In FIG. 6, the final on-period value is indicated as ONFV, the initial on-period value is indicated as ONIV, the final off-period value is indicated as OFFFV, and the initial off-period value is indicated as OFFIV. The final on-period value ONFV is the final value of the output voltage Vout during the on-period of the MOSFET 20. The initial on-period value ONIV is the initial value of the output voltage Vout during the on-period of the MOSFET 20. The final off-period value OFFFV is the final value of the output voltage Vout during the off-period of the MOSFET 20. The initial off-period value OFFIV is the initial value of the output voltage Vout during the off-period of the MOSFET 20. Also in FIG. 6, white circles indicate sampling timings, and black circles indicate values ​​after linear interpolation.

[0057] If the CPU 10 judges YES in step S16, the process proceeds to step S17. The CPU 10 performs linear interpolation (X11, X12) in step S17. As shown in Fig. 6, the CPU 10 estimates the on-period final value ONFV, on-period initial value ONIV, off-period final value OFFFV, and off-period initial value OFFIV of the output voltage Vout by linear interpolation in synchronization with the PWM signal.

[0058] Then, the CPU 10 obtains an estimated current value X11 after linear interpolation and an estimated previous value X12 after linear interpolation, which are estimated by the linear interpolation. In terms of control, the final value and the initial value deviate from the actual current value. For this reason, the CPU 10 performs linear interpolation including the previous data to determine the numerical values ​​(X11, X12). In the modified example, the estimated current value X11 and the estimated previous value X12 obtained by linear interpolation are regarded as true values.

[0059] In step S18a, the CPU 10 executes Vco=X11-X12. The CPU 10 determines the deviation between the estimated previous value X12 and the estimated current value X11 in the estimated value as a correction value Vco according to the error.

[0060] The CPU 10 determines the on-period final value ONFV and the on-period initial value ONIV in synchronization with the timing of the PWM signal, and determines the linearly interpolated value as the true value. The CPU 10 uses the deviation between the true value and the actual current value during the off period as the correction value Vco for control.

[0061] In this way, the control device 100 of the modified example determines the correction value Vco by a linearly interpolated value, thereby enabling the control device 100 to improve the accuracy of correction.

[0062] The above describes the preferred embodiment of the present disclosure. However, the present disclosure is not limited to the above embodiment, and various modifications are possible within the scope of the present disclosure. Below, the second embodiment will be described as another embodiment of the present disclosure. The above embodiment and the second embodiment can be implemented alone, but can also be implemented in appropriate combination. The present disclosure is not limited to the combinations shown in the embodiments, and can be implemented in various combinations.

[0063] Second embodiment A control device 100 of a second embodiment will be described with reference to Figs. 7 and 8. The control device 100 of this embodiment has a similar configuration to the control device 100 of the above embodiment. This embodiment differs from the above embodiment in the processing operation. In Fig. 7, the same step numbers as in Fig. 3 are used for the same processing as in Fig. 3. Fig. 8 is a drawing corresponding to Fig. 4. In Fig. 8, the period in which the output voltage Vout is not used for current control is hatched.

[0064] When the supply of power is started, the CPU 10 executes the process shown in the flowchart of Fig. 7 at a predetermined cycle. The CPU 10 may also execute the process shown in the flowchart of Fig. 7 at a timing when current control for the coil 210 is required.

[0065] In step S1, the CPU 10 determines whether PWM is on. The CPU 10 determines the off period and on period of the MOSFET 20 from the PWM signal. If the CPU 10 determines that the PWM signal is PWM on, it regards this as the on period of the MOSFET 20 and proceeds to step S10. The CPU 10 performs current control using the variable X1 (monitored input voltage Vin) saved in step S10.

[0066] On the other hand, if the CPU 10 does not determine that the PWM signal is PWM on, it proceeds to step S26 without regarding it as an on-period of the MOSFET 20. In other words, if the CPU 10 does not determine that the PWM signal is PWM on, it proceeds to step S26 without proceeding to step S10.

[0067] 8, the CPU 10 does not use the input voltage Vin during the off-period of the MOSFET 20. In other words, the CPU 10 performs current control using only the input voltage Vin during the on-period of the MOSFET 20.

[0068] As described above, in the control device 100, in the current monitor circuit 40 using the operational amplifier 42, when the MOSFET 20 is off, the voltages at the first terminal V1 and the second terminal V2 increase, and the output error of the operational amplifier 42 increases proportionately. Therefore, the control device 100 performs current control without using the input voltage Vin during the off period in which the output error is large. Therefore, the control device 100 can achieve the same effects as the above embodiment. Furthermore, the control device 100 can simplify the processing operation of the CPU 10 more than the above embodiment.

[0069] <Modification> Here, a modified example of the control device 100 of the second embodiment will be described with reference to Figs. 9 and 10. The modified example differs from the second embodiment in processing operations. In the modified example, differences from the second embodiment will be mainly described. In Fig. 9, the same step numbers as in Figs. 1 and 3 are used for the same processing as in Figs. 1 and 3. Fig. 10 is a drawing corresponding to Fig. 8.

[0070] When the CPU 10 determines in step S14 that |X1-X2|>Vth, it regards it as an off period. That is, as shown at D1 in Fig. 10, the CPU 10 determines that it is an off period when the difference between the current value and the previous value of the output voltage Vout exceeds the threshold value Vth.

[0071] If the CPU 10 judges YES in step S14, the process proceeds to step S151. In step S151, the CPU 10 executes X2=X1. The CPU 10 sets the variable X1 saved in step S10 to the variable X2. The CPU 10 then overwrites and saves the variable X2 in the memory 11. As a result, the variable X1 saved in step S10 becomes the previous value.

[0072] In step S152, the CPU 10 monitors the input voltage Vin again and stores the result in the variable X1. The CPU 10 overwrites the variable X1 in the memory 11 and stores it therein.

[0073] The CPU 10 again determines whether or not |X1-X2|>Vth in step S152. If the CPU 10 does not determine that |X1-X2|>Vth, it determines that the OFF period is continuing and returns to step S151.

[0074] Moreover, if the CPU 10 determines that |X1-X2|>Vth, it regards it as an on-period and proceeds to step S24. That is, as shown in D2 of Fig. 10, the CPU 10 determines that it is an on-period when, after determining that it is an off-period, the difference between the current value and the previous value of the output voltage Vout exceeds the threshold value Vth. Moreover, it can be said that the CPU 10 determines that it has switched from an off-period to an on-period when, after determining that it is an off-period, the difference again exceeds the threshold value Vth.

[0075] If the CPU 10 judges YES in step S153, it performs current control using the variable X1 stored in step S152. Therefore, as shown in the hatched period in Fig. 10, the CPU 10 does not use the input voltage Vin during the off period of the MOSFET 20. In other words, the CPU 10 performs current control using only the input voltage Vin during the on period of the MOSFET 20.

[0076] Although the present disclosure has been described based on the embodiment, it is understood that the present disclosure is not limited to the embodiment or structure. The present disclosure also encompasses various modifications and modifications within the equivalent range. In addition, although various combinations and forms are shown in the present disclosure, other combinations and forms including only one element, more than one element, or less than one element are also within the scope and concept of the present disclosure. [Explanation of symbols]

[0077] 10...CPU, 11...memory, 20...MOSFET, 30...internal power supply, 40...current monitor circuit, 41...shunt resistor, 42...op-amp, 43...first resistor, 44...second resistor, 45...third resistor, 46...fourth resistor, 47...fifth resistor, 48...sixth resistor, 50...terminal, 100...control device, 200...hydrogen injector, 300...fuel cell stack, 400...air compressor, 500...hydrogen tank, 600...battery

Claims

1. A hydrogen injector control device that controls the amount of hydrogen injection by controlling the valve opening according to the amount of current supplied to a coil of the hydrogen injector, A switching element (20) provided downstream of the coil and connected to a predetermined potential; a current monitor circuit (40) including a current detection resistor (41) provided in a current path between the coil and the switching element, and an amplifier (42) that amplifies a voltage across the current detection resistor to output a voltage that is correlated to a current value flowing through the coil; a processing device (10) that acquires a current monitor value from an input voltage obtained by monitoring an output voltage of the amplifier, and controls the amount of current by changing a pulse width of a control signal that controls on / off of the switching element based on the current monitor value; When the processing device determines that there is an error between the previous value and the current value of the input voltage, it assumes that the current monitor value deviates from the actual current value flowing through the coil, corrects the input voltage with a correction value corresponding to the error, and obtains a corrected input voltage for obtaining the current monitor value.

2. 2. The hydrogen injector control device according to claim 1, wherein the processing device determines that the error exists when the current value increases or decreases from the previous value by more than a predetermined value.

3. 3. A hydrogen injector control device as described in claim 1 or 2, wherein the processing device estimates the final value of the output voltage during the on period of the switching element and the initial value of the output voltage, and the final value of the output voltage during the off period of the switching element by linear interpolation in synchronization with the control signal, and sets the deviation between the previous estimated value and the current estimated value in the estimated value as the correction value corresponding to the error.

4. A hydrogen injector control device that controls the amount of hydrogen injection by controlling the valve opening according to the amount of current supplied to a coil of the hydrogen injector, A switching element (20) provided downstream of the coil and connected to a predetermined potential; a current monitor circuit (40) including a current detection resistor (41) provided in a current path between the coil and the switching element, and an amplifier (42) that amplifies a voltage across the current detection resistor to output a voltage that is correlated to a current value flowing through the coil; a processing device (10) that acquires the current value from an input voltage obtained by monitoring the output voltage of the amplifier, and controls the amount of current by changing a pulse width of a control signal that controls on / off of the switching element based on the acquired current value, The processing device controls the amount of current by using the input voltage during an ON period of the switching element, without using the input voltage during an OFF period of the switching element.

5. The hydrogen injector control device according to claim 4 , wherein the processing device determines the off-period and the on-period from the control signal.

6. 5. The hydrogen injector control device according to claim 4, wherein the processing device determines that the off period is occurring when a difference between a current value and a previous value of the output voltage exceeds a predetermined value, and determines that the on period is occurring when the difference again exceeds the predetermined value.

Citation Information

Patent Citations

  • Fuel cell system

    JP2008016349A

  • Fuel cell system

    JP2013131301A

  • Current control device and current control method

    JP2014178018A

  • Linear solenoid drive device

    JP2017005638A

  • Inductive load controller

    JP2018073908A