Sensor device, and program
The sensor device and program address erroneous detection by using a voltage step-down circuit and control section to calculate alternative values, ensuring accurate temperature and position detection during power fluctuations, thus maintaining system control.
Patent Information
- Application Number
- JP2023086151
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-25
- Publication Date
- 2024-12-05
AI Technical Summary
Existing temperature detection devices fail to accurately detect element temperatures within normal ranges due to pulse signals becoming fixed, leading to erroneous detection and potential system failures, especially when power is stopped to the temperature sensor.
A sensor device and program that includes a voltage step-down circuit, internal power supplies, and a control section to generate drive signals and calculate alternative values based on sensor signals when the step-down circuit is stopped, preventing erroneous detection by replacing internal recognition values with calculated values.
Ensures accurate temperature detection and prevents system miscontrol by avoiding erroneous detection of element temperatures and rotational positions during power fluctuations, maintaining normal system operation.
Smart Images

Figure 2024168992000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a sensor device and a program. [Background technology]
[0002] Conventionally, there has been known a temperature detection device that detects the temperature of an inverter element. For example, in Patent Document 1, a temperature detection device is configured to transmit a pulse signal corresponding to a temperature detected by a temperature sensor to an integrated circuit side. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-106931 A Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, when the element temperature falls outside the normal operating range, the pulse signal is fixed high or low and correct temperature detection is not possible, so a fail signal is output and temperature detection is stopped.
[0005] Here, even if the temperature sensor is normal, if the power supply of the device related to the output of the detection value of the temperature sensor is stopped, if a fail signal is output even though the temperature sensor is normal, the element temperature will be recognized as being outside the normal operating range, and normal control of the inverter, etc. may not be able to continue. Similar situations may also occur with sensors other than temperature sensors.
[0006] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide a sensor device and a program capable of avoiding erroneous detection of the state of a detection target portion. [Means for solving the problem]
[0007] The sensor device of the present invention includes a step-down circuit 31, an internal power supply 41, 42, and a control unit 50. The step-down circuit steps down the power from the battery 7. The internal power supply supplies the power stepped down by the step-down circuit.
[0008] The control unit has a drive signal generation unit (51) that generates a step-down circuit drive signal for driving the step-down circuit, and a calculation unit (52, 53, 55) that can calculate a value according to the state of the detected unit (52, 53, 55) based on a sensor signal generated using an internal power source. When the control unit stops driving the step-down circuit by turning off the step-down circuit drive signal, the control unit replaces the internal recognition value related to the state of the detected unit in the control unit with a calculated value based on the sensor signal as a substitute value. This makes it possible to avoid erroneous detection of the state of the detected unit.
[0009] The present invention is also provided as a program for use in a sensor device, which causes at least one control unit (50) to generate a step-down circuit drive signal for driving a step-down circuit (31) that steps down the power from a battery (7), calculates a value corresponding to the state of the detected part (10, 21, 45) based on a sensor signal generated using an internal power source (41, 42) that supplies the power stepped down by the step-down circuit, and, when the step-down circuit drive signal is turned off to stop driving the step-down circuit, replaces an internal recognition value related to the state of the detected part with a substitute value based on the calculated value based on the sensor signal. This provides the same operational effects as the sensor device. [Brief description of the drawings]
[0010] [Figure 1] 1 is a block diagram showing a configuration of a vehicle drive system according to an embodiment; [Diagram 2] FIG. 2 is a block diagram showing a configuration of a control unit according to one embodiment. [Diagram 3] 10 is a flowchart illustrating a sensor value calculation process according to an embodiment. [Figure 4] 4 is a time chart illustrating a sensor value calculation process according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (One embodiment) A sensor device and a program according to the present invention will be described below with reference to the drawings. One embodiment is shown in Fig. 1 to Fig. 4. As shown in Fig. 1, a vehicle drive system 1 includes a main battery 5, an auxiliary battery 7, a main motor 10, and a power control unit 20.
[0012] The main battery 5 is a DC power supply constituted by a chargeable and dischargeable secondary battery such as a nickel-metal hydride or lithium ion battery. The power of the main battery 5 is supplied to the main motor 10 mainly via a bridge circuit 22 and is used to drive the main motor 10. The main battery 5 is charged with power generated by regeneration of the main motor 10. The main battery 5 can also be charged by an external power source (not shown). The auxiliary battery 7 is a secondary battery such as a lead storage battery, and supplies power to the control unit 30 and auxiliary devices (not shown).
[0013] The main motor 10 is a permanent magnet type synchronous three-phase AC rotating electric machine, a so-called "motor generator" that functions both as an electric motor and as a generator. The main motor 10 is used as a drive source for a vehicle. The vehicle may be an EV vehicle that runs on the driving force of the main motor 10, or a hybrid vehicle that runs on the driving force of the main motor 10 and an engine (not shown). The main motor 10 is provided with a resolver 15, which is a rotation angle sensor that detects a rotation angle.
[0014] 1 and 2, the power control unit 20 has an inverter 21, a control unit 30, etc. The inverter 21 has a bridge circuit 22 and a temperature sensor 25. The bridge circuit 22 has inverter elements such as IGBTs connected in a bridge configuration, converts DC power supplied from the main battery 5 into three-phase AC power, and outputs it to the main motor 10. The temperature sensor 25 detects the temperature of the inverter elements that make up the bridge circuit 22. In the drawings, the power control unit is referred to as "PCU" and the control unit is referred to as "ECU."
[0015] 2, the control unit 30 includes a step-down circuit 31, a first internal power supply 41, a second internal power supply 42, a resolver excitation circuit 45, a gate driving IC 47, a control unit 50, and the like, and operates with power from the auxiliary battery 7. The step-down circuit 31 has a step-down element such as an IGBT, and steps down the voltage (e.g., 48 V) of the auxiliary battery 7 by switching the step-down element, thereby generating step-down voltages for the first internal power supply 41 and the second internal power supply 42. In this embodiment, the first internal power supply 41 is, for example, a 30 V power supply, and the second internal power supply is, for example, a 17 V power supply, but the number of internal power supplies and the step-down voltages may be different.
[0016] The resolver excitation circuit 45 generates a resolver excitation signal using power supplied from the first internal power source 41. The generated resolver excitation signal is output to the resolver 15. The resolver 15 uses the resolver excitation signal to output a sine signal and a cosine signal, which are angle signals corresponding to the rotational position of the main motor 10, to the control unit 50. In addition, an RDC (resolver digital converter) 16 performs angle calculation based on the sine signal and the cosine signal output from the resolver 15, and outputs an angle calculation signal as a digital signal to the control unit 50. Hereinafter, the sine signal and the cosine signal output from the resolver 15 are appropriately referred to as resolver signals.
[0017] The gate driving IC 47 is supplied with power from the second internal power supply 42 and outputs a gate signal to the inverter 21. The gate driving IC 47 also acquires the detection value of the temperature sensor 25, the detection value of a current sensor (not shown), etc. as inverter element information. The gate driving IC 47 outputs to the control unit 50 a temperature detection signal which is a pulse signal whose duty is changed according to the inverter element temperature.
[0018] The control unit 50 is mainly composed of a microcomputer and includes a CPU, ROM, RAM, I / O, and bus lines connecting these components (all not shown). Each process in the control unit 50 may be software processing in which the CPU executes a program stored in advance in a substantial memory device (i.e., a readable non-transitory tangible recording medium) such as a ROM, or may be hardware processing by a dedicated electronic circuit. The control unit 50 is supplied with power from the auxiliary battery 7 via a regulator (not shown) without passing through the step-down circuit 31.
[0019] The control unit 50 has, as functional blocks, a drive signal generation unit 51, an angle calculation unit 52, a temperature calculation unit 53, and a voltage monitoring unit 55. The drive signal generation unit 51 generates a step-down circuit drive signal related to driving the step-down circuit 31, and outputs the step-down circuit 31.
[0020] The angle calculation unit 52 obtains AD converted values of the sine signal and cosine signal output from the resolver 15, and calculates information related to the rotational position of the main motor 10 by atan calculation or the like. The information related to the rotational position of the main motor 10 includes the rotation speed, resolver angle, and electrical angle.
[0021] The temperature calculation unit 53 acquires a temperature detection signal related to the inverter element temperature from the gate drive IC 47, and calculates the inverter element temperature based on the duty of the acquired temperature detection signal. The voltage monitoring unit 55 acquires a voltage obtained by converting the power supply voltage of the first internal power supply 41, which is the power supply for the resolver excitation circuit 45, within a predetermined range (for example, 0 [V] to 5 [V]), and monitors whether the first internal power supply 41 is within a normal operating range.
[0022] The resolver excitation circuit 45 and the gate drive IC 47 require a voltage lower than the voltage of the auxiliary battery 7 , so power is supplied to them via internal power sources 41 and 42 generated using the step-down circuit 31 .
[0023] In the step-down circuit 31, noise is generated because the step-down elements are switched when generating a step-down voltage. Furthermore, with the electrification of vehicles, EMC (Electromagnetic Compatibility) requirements tend to become stricter, and for example, if the step-down circuit 31 is driven when charging the main battery 5 from an external power source, there is a possibility that the EMC requirements will not be satisfied due to switching noise.
[0024] Therefore, in this embodiment, when the main battery 5 is being charged, the operation of the step-down circuit 31 is stopped. When the operation of the step-down circuit 31 is stopped, the operation of the resolver excitation circuit 45, the gate drive IC 47, and the like, which are operated by power supply from the internal power sources 41 and 42, is stopped.
[0025] On the other hand, since power is supplied to the control unit 50 without passing through the step-down circuit 31, the control unit 50 continues to operate even when the step-down circuit 31 is stopped. Here, for example, if the inverter element temperature detection based on the temperature detection signal from the gate drive IC 47 is continued, there is a risk that the inverter element temperature will be erroneously detected as being outside the normal range even though it is within the normal range.
[0026] In this embodiment, when the step-down circuit 31 is normally stopped by a command from the control unit 50, such as when the main battery 5 is being charged, the recognized value in the microcomputer is replaced with a calculated value based on a sensor signal generated using the internal power sources 41 and 42, and is replaced with a substitute value. Here, the "sensor signal generated using an internal power source" is not limited to the case where the power of the internal power sources 41 and 42 is used for the sensor itself, but also includes the case where the power of the internal power sources 41 and 42 is used for outputting a signal from the sensor to the control unit 50. Hereinafter, a sensor that uses the power of the internal power sources 41 and 42 to generate a sensor signal is referred to as a "sensor using an internal power source." It is acceptable to continue calculating a detection value based on a detection signal other than that of a sensor using an internal power source even while the step-down circuit 31 is stopped.
[0027] The sensor value calculation process of this embodiment will be described with reference to the flowchart of Fig. 3. This process is executed at a predetermined cycle by the control unit 50. Hereinafter, the "step" such as step S101 will be omitted and simply denoted by the symbol "S".
[0028] In S101, the control unit 50 acquires charging information related to the charging state of the main battery 5 from the vehicle system. In S102, the control unit 50 determines whether the main battery 5 is being charged by an external power source. If it is determined that the main battery 5 is being charged (S102: YES), the process proceeds to S103. Note that here, charging is not by regeneration, and the main motor 10 is in a stopped state. If it is determined that the main battery 5 is not being charged (S102: NO), the process proceeds to S105.
[0029] In S103, the drive signal generating unit 51 turns off the step-down circuit drive signal to stop the step-down circuit 31. In S104, the control unit 50 sets the recognized value in the microcomputer associated with the internal power supply usage sensor as a substitute value.
[0030] Specifically, when the step-down circuit 31 is stopped, the temperature detection signal obtained from the gate drive IC 47 is stopped, so that the inverter element temperature may be erroneously recognized as being outside the normal range even though it is within the normal range. Therefore, in order to prevent erroneous detection of the inverter element temperature, when the step-down circuit 31 is stopped, the control unit 50 holds the previous value as an internal recognition value instead of a calculated value based on the temperature detection signal from the gate drive IC 47.
[0031] When the step-down circuit 31 is stopped, the voltage of the first internal power supply 41, which is the power supply for the resolver excitation circuit 45, becomes 0 [V], and there is a risk that it will be erroneously recognized as being outside the normal operating range. Therefore, in order to prevent erroneous detection of the power supply voltage of the resolver excitation circuit 45, when the step-down circuit 31 is stopped, the control unit 50 sets a substitute value as the internal recognition value instead of the detected value of the internal power supply voltage.
[0032] Furthermore, when the step-down circuit 31 is stopped, the resolver excitation signal stops and the resolver signal becomes unstable, which may cause the rotational position of the main motor 10 to become unstable. Therefore, in order to prevent erroneous detection of the rotational position of the main motor 10, when the step-down circuit 31 is stopped, the control unit 50 sets an alternative value (e.g., 0) as the internal recognition value instead of the calculated value based on the resolver signal. Note that what is shown here is merely an example, and it is possible to appropriately select whether the recognition value is the previous value or a predetermined value that has been set in advance.
[0033] If it is determined that the main battery 5 is not being charged (S102: NO), the control unit 50 proceeds to S105, where it determines whether the step-down circuit 31 is in operation. If it is determined that the step-down circuit 31 is in operation (S105: YES), the control unit 50 skips the processes from S106 onwards and continues to operate the step-down circuit 31. If it is determined that the step-down circuit 31 is stopped (S105: NO), it proceeds to S106. In S106, the drive signal generation unit 51 turns on the step-down circuit drive signal and starts operating the step-down circuit 31.
[0034] In S107, the control unit 50 judges whether or not the condition for restoring the internal power source usage sensor is satisfied. Here, it is judged that the condition for restoring is satisfied when the waiting time Xw has elapsed from the start of driving the step-down circuit 31. The waiting time Xw is set according to the time required for the voltages of the internal power sources 41 and 42 to stabilize after the start of driving the step-down circuit 31.
[0035] It may also be determined that the recovery condition is satisfied by receiving a notification that a function that is activated after the step-down circuit 31 is driven has been activated. For example, it may be determined that the recovery condition is satisfied when the voltage of the first internal power supply 41 falls within a normal range as a function that is activated after the step-down circuit 31 is driven. It may also be determined that the recovery condition is satisfied when the excitation periodic signal acquired from the resolver excitation circuit 45 has a normal amplitude and period.
[0036] If it is determined that the return condition of the internal power supply usage sensor is not satisfied (S107: NO), this determination process is repeated. If it is determined that the return condition is satisfied (S107: YES), the process proceeds to S108, where a calculation of the detection value using the sensor signal is started, and the internal recognition value is used as the calculated value. In detail, the inverter element temperature calculation based on the temperature detection signal from the gate drive IC 47, the power supply voltage detection of the resolver excitation circuit 45, and the angle calculation of the main motor 10 based on the resolver signal are started. Note that the calculation itself may be continued or started in advance, and reflected as the recognized value inside the microcomputer when the return condition is satisfied.
[0037] The sensor value calculation process of this embodiment will be described based on the time chart of Fig. 4. In Fig. 4, the horizontal axis represents a common time axis, and from the top, the charging state of the main battery 5, the driving state of the step-down circuit 31, the power supply voltage of the gate drive IC 47, the internal recognition value of the inverter element temperature in the microcomputer, the actual inverter element temperature, and the pulse signal from the gate drive IC 47 are shown. Note that Fig. 4 shows element temperature calculation based on a temperature detection signal from the gate drive IC 47 as an example of sensor value calculation of a sensor using an internal power source.
[0038] Before time x10, the main battery 5 is not being charged and the step-down circuit 31 is operating normally, so the temperature calculation unit 53 calculates the inverter element temperature based on the duty of the temperature detection signal output from the gate drive IC 47. The calculated inverter element temperature roughly coincides with the actual inverter element temperature.
[0039] At time x10, when charging of the main battery 5 starts, the drive signal generating unit 51 turns off the step-down circuit drive signal and stops driving the step-down circuit 31. When the step-down circuit 31 stops, the second internal power supply 42, which is the power supply for the gate drive IC 47, stops, and the temperature detection signal from the gate drive IC 47 also stops. Therefore, if the element temperature calculation based on the signal from the gate drive IC 47 continues, the inverter element temperature will be erroneously recognized as being outside the normal range even though it is actually normal.
[0040] Therefore, in this embodiment, while the main battery 5 is being charged, the temperature calculation unit 53 stops temperature calculation based on the temperature detection signal from the gate drive IC 47, and replaces the internally recognized value of the inverter element temperature with a substitute value. In detail, after the time x11 when the step-down circuit drive signal is turned off, the previous value is held as the substitute value. As a result, the inverter element temperature is recognized to be within the normal range within the microcomputer, and therefore, when driving the main motor 10 after charging of the main battery 5 is completed, control can be continued assuming that the inverter 21 is normal.
[0041] When charging of the main battery 5 is completed at time x12, the drive signal generating unit 51 turns on the step-down circuit drive signal at time x13, and the step-down circuit 31 is started to be driven. When the step-down circuit 31 is started to be driven, the second internal power supply 42 is started, and the power supply of the gate drive IC 47 is restored. There is a delay between when the step-down circuit 31 is driven and when the gate drive IC 47 can output a normal temperature detection signal. In this embodiment, taking into consideration the delay from when the step-down circuit 31 is started to be driven, the step-down circuit drive signal is turned on, and at time x14 when the waiting time Xw has elapsed, the temperature calculation unit 53 starts temperature calculation, and the internal recognition value is restored from the substitute value to the calculation value based on the sensor signal. This makes it possible to avoid a temperature that is different from the actual temperature being calculated due to a delay from when the step-down circuit 31 is started to be driven until the pulse signal becomes stable.
[0042] As described above, the control unit 30 includes the step-down circuit 31, the internal power sources 41 and 42, and the control unit 50. The step-down circuit 31 steps down the power from the auxiliary battery 7. The internal power sources 41 and 42 supply the power stepped down by the step-down circuit 31.
[0043] The control unit 50 has a drive signal generating unit 51 and a calculation unit. The drive signal generating unit 51 generates a step-down circuit drive signal that drives the step-down circuit 31. The calculation unit can calculate a value according to the state of the detected part based on a sensor signal generated using the internal power sources 41 and 42. When the control unit 50 normally stops driving the step-down circuit 31 by turning off the step-down circuit drive signal, the control unit 50 replaces the internal recognition value related to the state of the detected part in the control unit 50 with a calculated value based on the sensor signal as a substitute value. This makes it possible to avoid erroneous detection of the state of the detected part based on a signal that behaves differently from the normal state due to the stop of the step-down circuit 31.
[0044] When the control unit 50 turns the step-down circuit drive signal from OFF to ON and starts driving the step-down circuit 31, it restores the internal recognition value from the substitute value to the calculated value based on the sensor signal after the restoration condition is satisfied. This makes it possible to avoid erroneous detection of the state of the detected part due to the delay between when the step-down circuit 31 is started and when the sensor signal becomes normal.
[0045] The detected part is the inverter 21, and the temperature calculation part 53 obtains a temperature detection signal corresponding to the temperature of the inverter element constituting the inverter 21 as a sensor signal from the gate drive IC 47 that outputs a gate signal to the inverter 21, and calculates the temperature of the inverter element. When the step-down circuit 31 is stopped normally, the control part 50 replaces the internal recognition value related to the temperature of the inverter element with the calculated value as a substitute value. This makes it possible to avoid erroneous detection of the inverter element temperature.
[0046] The detected part is a resolver excitation circuit 45 that outputs an excitation signal to a resolver 15 that detects the rotational position of the main motor 10, and a voltage monitoring unit 55 acquires a signal related to the power supply voltage of the resolver excitation circuit 45 as a sensor signal and calculates the power supply voltage. In this embodiment, the power supply voltage of the resolver excitation circuit 45 is the voltage of the first internal power supply 41. When the step-down circuit 31 is normally stopped, the control unit 50 replaces the internal recognition value related to the power supply voltage of the resolver excitation circuit 45 with the calculated value as a substitute value. This makes it possible to avoid erroneous detection of the power supply voltage of the resolver excitation circuit 45.
[0047] The detected part is the main motor 10, and the angle calculation part 52 obtains a signal corresponding to the rotational position from the resolver 15 that detects the rotational position of the main motor 10 as a sensor signal, and calculates a value related to the rotational state of the main motor 10. In this embodiment, the rotation speed, resolver angle, and electrical angle of the main motor 10 are included in the "value related to the rotational state of the main motor 10." When the step-down circuit 31 is normally stopped, the control part 50 replaces the internal recognition value related to the rotational state of the main motor 10 with the calculated value as a substitute value. This makes it possible to avoid erroneous detection of the value related to the rotational state of the main motor 10.
[0048] The program used in the control unit 30 of this embodiment causes at least one control unit 50 to generate a step-down circuit drive signal for driving the step-down circuit 31 that steps down the power from the auxiliary battery 7, to calculate a value corresponding to the state of the detected part based on a sensor signal generated by the internal power sources 41, 42 that supply the power stepped down by the step-down circuit 31, and to replace the internal recognition value related to the state of the detected part with the calculated value based on the sensor signal as a substitute value when the step-down circuit drive signal is turned off to stop driving the step-down circuit. Even with this program, it is possible to avoid erroneous detection of the state of the detected part based on a signal that behaves differently from the normal state due to the stop of the step-down circuit 31.
[0049] In the embodiment, the control unit 30 corresponds to the "sensor device", the auxiliary battery 7 corresponds to the "battery", the main motor 10 corresponds to the "motor" and the "detected part", the resolver excitation circuit 45 and the inverter 21 correspond to the "detected part", the gate drive IC 47 corresponds to the "gate drive circuit", and the angle calculation unit 52, the temperature calculation unit 53 and the voltage monitoring unit 55 correspond to the "calculation unit".
[0050] (Other embodiments) In the above embodiment, when the step-down circuit is stopped during charging of the main battery, the values related to the inverter element temperature, the power supply voltage of the resolver excitation circuit, and the rotational position of the main motor are replaced with substitute values. In other embodiments, some of the values to be replaced with substitute values when the step-down circuit is stopped may be omitted, or other calculated values related to the internal power supply usage sensor may be replaced with substitute values.
[0051] In the above embodiment, the detected parts are the motor, the inverter, and the resolver excitation circuit. In other embodiments, the detected parts may be devices other than the motor, the inverter, and the resolver excitation circuit.
[0052] In the above embodiment, when the step-down circuit is stopped while the main battery is being charged, the detection value of the internal power source usage sensor is replaced with the alternative value. In another embodiment, when the power supply to the control unit is continued except when the main battery is being charged and the step-down circuit is normally stopped by a command from the control unit, the detection value of the internal power source usage sensor may be replaced with the alternative value.
[0053] In the above embodiment, the control unit acquires information related to the motor rotational position via the resolver and the RDC. In other embodiments, the RDC may be omitted. Also, the configuration of the control unit may be different from that of the above embodiment, for example, a rotation angle sensor other than the resolver may be used.
[0054] The control unit and the method described in the present disclosure may be realized by a dedicated computer provided by configuring a processor and a memory programmed to execute one or more functions embodied in a computer program. Alternatively, the control unit and the method described in the present disclosure may be realized by a dedicated computer provided by configuring a processor with one or more dedicated hardware logic circuits. Alternatively, the control unit and the method described in the present disclosure may be realized by one or more dedicated computers configured by a combination of a processor and a memory programmed to execute one or more functions and a processor configured with one or more hardware logic circuits. In addition, the computer program may be stored in a computer-readable non-transient tangible recording medium as instructions executed by a computer. As described above, the present invention is not limited to the above embodiment, and can be implemented in various forms within the scope of the invention. [Explanation of symbols]
[0055] 7. Auxiliary battery (battery) 10 Main motor (motor, detected part) 15 Resolver 30....Control unit (sensor device) 31 Step-down circuit 41, 42 Internal power supply 45 Resolver excitation circuit (detected part) 47 Gate driver IC (gate driver circuit) 50...Control section 52...Angle calculation section (calculation section) 53...Temperature calculation section (calculation section) 55 Voltage monitoring unit (calculation unit)
Claims
1. A step-down circuit (31) for stepping down the power from the battery (7); an internal power supply (41, 42) for supplying power stepped down by the step-down circuit; a control unit (50) having a drive signal generating unit (51) that generates a step-down circuit drive signal for driving the step-down circuit, and a calculation unit (52, 53, 55) that can calculate a value corresponding to the state of the detected unit (10, 21, 45) based on a sensor signal generated by using the internal power supply; Equipped with When the control unit stops driving the step-down circuit by turning off the step-down circuit drive signal, the control unit replaces an internal recognition value related to the state of the detected part in the control unit with a calculated value based on the sensor signal as an alternative value.
2. 2. The sensor device according to claim 1, wherein the control unit, when turning on the step-down circuit drive signal from off to start driving the step-down circuit, restores the internal recognition value from the alternative value to the calculated value after a restoration condition is satisfied.
3. The detected part is an inverter (21), The temperature calculation unit (53) which is the calculation unit acquires a temperature detection signal corresponding to a temperature of an inverter element as the sensor signal from a gate drive circuit (47) which outputs a gate signal to the inverter, and calculates the temperature of the inverter element as the calculation value; 3. The sensor device according to claim 1, wherein the control unit, when the step-down circuit is stopped, replaces the internal recognized value relating to the temperature of the inverter element with the calculated value and sets it as the alternative value.
4. The detected part is a resolver excitation circuit (45) that outputs an excitation signal to a resolver (15) that detects the rotational position of a motor (10), The voltage monitoring unit (55) serving as the calculation unit acquires a signal related to a power supply voltage of the resolver excitation circuit as the sensor signal, and calculates the power supply voltage as the calculated value; 3. The sensor device according to claim 1, wherein the control unit, when the step-down circuit is stopped, replaces the internal recognized value related to the power supply voltage with the calculated value and sets it as the alternative value.
5. The detected part is a motor (10), The angle calculation unit (52) which is the calculation unit acquires a signal corresponding to a rotational position of the motor from a resolver (15) which detects the rotational position of the motor as the sensor signal, and calculates a value related to the rotational state of the motor as the calculated value; 3. The sensor device according to claim 1, wherein the control unit, when the step-down circuit is stopped, replaces the internally recognized value relating to the rotation state of the motor with the calculated value as the substitute value.
6. A program for use in a sensor device, At least one control unit (50) generating a step-down circuit drive signal for driving a step-down circuit (31) that steps down the power from the battery (7); A value corresponding to a state of a detection target portion (10, 21, 45) is calculated based on a sensor signal generated by an internal power source (41, 42) that supplies power stepped down by the step-down circuit; a program for replacing an internal recognition value relating to the state of the detected part with a calculated value based on the sensor signal when the step-down circuit is stopped by turning off the step-down circuit drive signal;
Citation Information
Patent Citations
Temperature detection device
JP2017106931A
