The present disclosure relates to a ripple detection device and a seat device.
An existing ripple detection device for detecting a ripple superimposed on a waveform of a motor is characterized by including: an A/D converter for converting analog data of the waveform into digital data by oversampling the analog data at a frequency equal to or higher than the frequency of the ripple; a digital filter into which the digital data is input and that has a variable filter characteristic; and a filter characteristic control means for changing the filter coefficient of the digital filter to make the filter characteristic optimal for detecting the ripple. A low-pass filter of the digital filter has a linear phase characteristic or a substantially linear phase characteristic and suppresses phase distortion (for example, see Japanese Patent Application Laid-Open Publication No. 2009-207236).
The existing ripple detection device does not focus on the linearity between a ripple current and a terminal-to-terminal voltage of a motor, and the frequency of the ripple current.
Therefore, it is an object of the present invention to provide a ripple detection device and a seat device that can optimally control the passband of a variable filter in accordance with the driving state of a motor by using a linear relational expression for deriving the frequency of a ripple current based on the ripple current and a terminal-to-terminal voltage of the motor, and can detect ripple pulses with high accuracy.
A ripple detection device according to an embodiment of the present disclosure includes: a ripple current detector configured to detect a ripple current generated when a motor is driven; a motor voltage detector configured to detect a terminal-to-terminal voltage of the motor; a variable filter configured to pass a component of the ripple current detected by the ripple current detector, the component being in a predetermined frequency band; and a frequency adjuster configured to adjust the predetermined frequency band of the variable filter so as to include a frequency of the ripple current derived by using a linear relational expression for deriving the frequency of the ripple current based on the ripple current detected by the ripple current detector and the terminal-to-terminal voltage of the motor detected by the motor voltage detector.
It is possible to provide a ripple detection device and a seat device that can detect ripple pulses with high accuracy by optimally controlling the passband of a variable filter in accordance with the driving state of a motor by using a linear relational expression for deriving the frequency of a ripple current based on the ripple current and a terminal-to-terminal voltage of the motor.
Embodiments to which the ripple detection device and the seat device of the present disclosure are applied will be described below.
The ripple detection device 100 detects ripple currents of the motors 23A and 23B and outputs them to the drive controller 50. The drive controller 50 is connected to a switch (not illustrated) for adjusting the seating part 21 or the backrest 22, and when the switch is operated, controls the movement of the seating part 21 back and forth or up and down or controls the angle of the backrest 22 based on the ripple current detected by the ripple detection device 100 while detecting the rotation angle of the motor 23A or 23B.
Hereinafter, the motor 23A or the motor 23B will be referred to as the motor 23 without distinction. The motor 23 is driven to adjust the position, the angle, and the like of the seat 20. The adjustment of the position, the angle, and the like of the seat 20 is not limited to adjustment of the seating part 21 back and forth or up and down and to adjustment of the angle of the backrest 22, but may be adjustment of any other direction, angle, and the like.
The ripple detection device 100 includes a voltage detector 111, a current detector 112, a filter 121, a filter 122, a variable filter 130, a filter 140, a ripple pulse generator 150, a Micro Controller (MCU) 160, and a temperature sensor 170. The MCU 160 includes a frequency adjuster 161 and a memory 162. The filter 122, the variable filter 130, and the filter 140 constitute a high-order filter.
The voltage detector 111 is an example of a motor voltage detector. The current detector 112 and the resistor 24 are examples of ripple current detectors. The filter 122 is an example of a first filter. The filter 140 is an example of a second filter.
The voltage detector 111 is connected to the two terminals of the motor 23, detects the terminal-to-terminal voltage of the motor 23, and outputs the voltage to the filter 121. As the voltage detector 111, for example, a voltage detector circuit constituted by an amplifier can be used.
The current detector 112 receives as an input, the voltage across both ends of the resistor 24 as a voltage representing a current (ripple current) of the motor 23, and outputs the voltage representing the ripple current to the MCU 160 and the filter 122.
The filter 121 is a Low Pass Filter (LPF). The filter 121 is connected to the output side of the voltage detector 111, and outputs the terminal-to-terminal voltage of the motor 23 that is input from the voltage detector 111 by removing high-frequency noise and the like included in the voltage. The terminal-to-terminal voltage output from the filter 121 is converted into a digital terminal-to-terminal voltage by an Analog to Digital (A/D) converter (not illustrated), and then digital terminal-to-terminal voltage is input into the MCU 160.
The filter 122 is an LPF, and outputs the voltage input from the current detector 112 to the variable filter 130 by removing high-frequency noise and the like included in the voltage.
The variable filter 130 is a Band Pass Filter (BPF), of which the passband is adjusted by the frequency adjuster 161 of the MCU 160. The passband of the variable filter 130 is an example of a predetermined frequency band. The variable filter 130 outputs a component, of the voltage having passed through the filter 122, that is in the passband to the filter 140.
The filter 140 is a High Pass Filter (HPF). The filter 140 removes low-frequency noise and the like included in the voltage that has passed through the variable filter 130 and outputs the result to the ripple pulse generator 150.
The ripple pulse generator 150 performs a ripple generation process for generating (detecting) the ripples included in the voltage, representing the current, input from the filter 140, converts the ripples into pulses (ripple pulses), and outputs the pulses to the MCU 160. A ripple pulse is a pulse that represents the current value of the ripple current.
The MCU 160 is implemented by a computer including a Central Processing Unit (CPU), a Random Access Memory (RAM), a Read Only Memory (ROM), an input/output interface, an internal bus, and the like. The MCU 160 includes the frequency adjuster 161 and the memory 162, and performs a process for detecting the ripple current. As an example of the process for detecting the ripple current, the voltage representing the ripple current that is input from the current detector 112 is calculated as a current value of the ripple current, using a predetermined voltage/current translation table stored in the memory 162. The frequency adjuster 161 is a representation of a function of a program executed by the MCU 160 in the form of a function block. The memory 162 is a representation of the memory of the MCU 160 in the form of a function block.
The frequency adjuster 161 adjusts the passband of the variable filter 130 so as to include a frequency of the ripple current derived by using a linear relational expression for deriving the frequency of the ripple current, based on the current value of the ripple current detected by the ripple current detector (the current detector 112 and the resistor 24) and the voltage value indicating the terminal-to-terminal voltage that is detected by the voltage detector 111 and that is passed through the filter 121. The linear relational expression for deriving the frequency of the ripple current based on the current value of the ripple current and the voltage value of the terminal-to-terminal voltage will be described later with reference to
The memory 162 stores programs and data used by the MCU 160 for the process to detect the ripple current, data generated in the process, and the like. The memory 162 stores a linear relational expression and other data used by the frequency adjuster 161 for adjusting the passband of the variable filter 130.
The temperature sensor 170 is a temperature sensor for detecting the environmental temperature of the motor 23. The temperature sensor 170 outputs data indicating the detected temperature to the MCU 160.
Compared with a state in which no person is seated, the load imposed on the motor 23 used for adjusting the seat 20 in a state in which a person is seated in the seat 20 is larger, and the amount of change of the ripple current Ir is thus larger. When the ripple current Ir changes, the torque output by the motor 23 changes, and the frequency fr of the ripple current changes. Therefore, there are changes of the ripple current Ir and the frequency fr of the ripple current between the state in which a person is seated in the seat 20 and the state in which no person is seated.
The experimental results illustrated in
In
The characteristics when the terminal-to-terminal voltage is V2 and there is a seated person are distributed along the straight line (2), and the characteristics when the terminal-to-terminal voltage is V2 and there is no seated person are also distributed along the straight line (2). The straight line (2) is a straight line obtained by performing fitting the least squares method, as an example. When the terminal-to-terminal voltage is V2, the ripple current Ir is larger, the amount of change of the ripple current Ir is larger, and the frequency fr of the ripple current is lower when there is a seated person than when there is no seated person. This is the same tendency as when the terminal-to-terminal voltage is V1.
It can be seen that the characteristics when the terminal-to-terminal voltage is V3 and there is a seated person are distributed along the straight line (3), and the characteristics when the terminal-to-terminal voltage is V3 and there is no seated person are also distributed along the straight line (3). The straight line (3) is a straight line obtained by performing fitting using the least squares method, as an example. When the terminal-to-terminal voltage is V3, the ripple current Ir is larger, the amount of change of the ripple current Ir is larger, and the frequency fr of the ripple current is lower when there is a seated person than when there is no seated person. This is the same tendency as when the terminal-to-terminal voltage is V1 and V2. The method for obtaining the straight lines (1), (2), and (3) is not limited to the least squares method, but may be any other method.
As described above, it was revealed from
The linear relational expression representing the linear relationship between the ripple current Ir and the frequency fr of the ripple current can be expressed by the following equation (1).
As indicated by the equation (1), the frequency fr of the ripple current can be derived based on the ripple current Ir and the terminal-to-terminal voltage Vm. That is, the equation (1) is an example of the linear relational expression for deriving the frequency fr of the ripple current based on the ripple current Ir and the terminal-to-terminal voltage Vm. In the equation (1), since β×Vm, which means the frequency fr of the ripple current, can be expressed by a value including the terminal-to-terminal voltage Vm as a parameter, the equation (1) can derive the frequency fr of the ripple current corresponding to various terminal-to-terminal voltages Vm.
As an example, a satisfies −200<α<−100, and more preferably −160<α<−120. As an example, from the straight line (2) in
Moreover, as described above, it has been found that the ripple current Ir and the frequency fr of the ripple current have a linear relationship, and that the ripple current Ir and the frequency fr of the ripple current change in accordance with the weight of the weighted object.
Here, consideration will be given to a comparative ripple detection device including no variable filter 130 such that a ripple current that is passed through the filter 122 will be directly input into the filter 140. Assume a case where the frequency fr of the ripple current changes as illustrated in
Therefore, in the ripple detection device 100 of the embodiment, the passband of the variable filter 130 is adjusted in accordance with the frequency fr of the ripple current that is determined based on the equation (1), thereby eliminating noise by following the frequency fr of the ripple current, suppressing omission of a ripple pulse (failure to detect a ripple) and erroneous detection of a ripple pulse, and detecting ripple pulses with high accuracy.
Therefore, the frequency adjuster 161 inputs the value of the ripple current that is determined based on a ripple pulse and the terminal-to-terminal voltage Vm into the equation (1) to calculate the frequency fr of the ripple current and adjust the passband of the variable filter 130 such that the frequency fr of the ripple current is included in the passband of the variable filter 130. The frequency adjuster 161 outputs a variable clock corresponding to the calculated frequency fr of the ripple current to the variable filter 130, to adjust the passband. Adjusting the frequency fr of the ripple current to be included in the passband of the variable filter 130 means adjusting it to suit to the driving state of the motor 23. The data representing the equation (1) may be stored in the memory 162, such that the frequency adjuster 161 reads the data representing the equation (1) from the memory 162 and uses it for calculation.
The low temperature is a temperature lower than 25° C., which is an example of a reference temperature, and is, for example, −20° C. (B) of
As illustrated in (A) of
As illustrated in (D) of
In the equation (3), γ represents a predetermined temperature coefficient, which is the absolute value of the ratio of the change Δα of the slope α to the change Δt of the environmental temperature t.
Therefore, the frequency adjuster 161 may determine the temperature T based on the environmental temperature t detected by the temperature sensor 170, input the temperature T into the equation (3) to calculate the variable temperature coefficient K, and input the value of the ripple current determined based on a ripple pulse, the terminal-to-terminal voltage Vm, and the variable temperature coefficient K into the equation (2) to calculate the frequency fr of the ripple current. Then, the frequency adjuster 161 may adjust the passband of the variable filter 130 such that the frequency fr of the ripple current is included in the passband of the variable filter 130. The frequency adjuster 161 outputs a variable clock corresponding to the calculated frequency fr of the ripple current to the variable filter 130 to adjust the passband. Adjusting the frequency fr of the ripple current to be included in the passband of the variable filter 130 means adjusting it to suit to the driving state of the motor 23. The frequency adjuster 161 may read data representing the equations (2) and (3) from the memory 162 and use the data for calculation.
As an example, it is preferable that γ satisfies 0.2<γ<0.5. As an example, from (D) of
In
The ripple pulse illustrated on the upper row of
On the other hand, the ripple pulse illustrated on the upper row of
The ripple detection device 100 includes the current detector 112 and the resistor 24 for detecting a ripple current generated when the motor 23 is driven, the voltage detector 111 for detecting a terminal-to-terminal voltage Vm of the motor 23, the variable filter 130 for passing a component, of the ripple current detected by the current detector 112 and the resistor 24, that is in a predetermined frequency band, and the frequency adjuster 161 for adjusting the predetermined frequency band of the variable filter 130 so as to include a frequency of the ripple current derived by using a linear relational expression for deriving the frequency of the ripple current based on the ripple current detected by the current detector 112 and the resistor 24 and the terminal-to-terminal voltage Vm detected by the voltage detector 111. Therefore, by being able to derive the frequency of the ripple current from the linear relational expression based on the ripple current and the terminal-to-terminal voltage Vm, and to adjust the predetermined frequency band of the variable filter 130 in accordance with the frequency of the ripple current, it is possible to suppress omission of a ripple pulse (failure to detect a ripple) and erroneous detection of a ripple pulse.
Therefore, it is possible to provide a ripple detection device 100 that can optimally control the passband of the variable filter 130 in accordance with the driving state of the motor 23 by using the linear relational expression for deriving the frequency fr of the ripple current based on the ripple current Ir and the terminal-to-terminal voltage Vm of the motor, and that can also detect ripple pulses with high accuracy.
The linear relational expression is represented by an equation (1). The equation (1) presented here is the same as the expression (1) described above.
Therefore, it is possible to provide a ripple detection device 100 that can increase the processing speed and detect ripple pulses with high accuracy by adjusting the passband of the variable filter 130 by taking advantage of the linearity between the ripple current Ir and the frequency fr of the ripple current.
The ripple detection device 100 further includes the temperature sensor 170 for detecting the environmental temperature of the motor 23. The frequency adjuster 161 adjusts the predetermined frequency band of the variable filter 130 so as to include a frequency of the ripple current derived by using an expression of a linear relationship between the ripple current detected by the current detector 112 and the resistor 24, the terminal-to-terminal voltage Vm detected by the voltage detector 111, and the environmental temperature detected by the temperature sensor 170, wherein the expression of the linear relationship is represented by the following equation (2). The equation (2) presented here is the same as the equation (2) described above.
In the equation (3), Y represents a predetermined temperature coefficient, and T represents a temperature obtained by subtracting a predetermined reference temperature from the environmental temperature t of the motor 23 detected by the temperature sensor 170.
Therefore, it is possible to provide a ripple detection device 100 that can increase the processing speed and detect ripple pulses with high accuracy while considering the environmental temperature t, by adjusting the passband of the variable filter 130 by taking the environmental temperature t of the motor 23 detected by the temperature sensor 170 into consideration by taking advantage of the linearity between the ripple current Ir and the variable temperature coefficient K, and the frequency fr of the ripple current.
The ripple detection device 100 further includes the memory 162 for storing data representing the linear relational expression represented by the equation (1). Therefore, by reading the equation (1) from the memory 162 and using it, it is possible to calculate the frequency fr of the ripple current immediately and to adjust the passband of the variable filter 130 by taking advantage of the linearity between the ripple current Ir and the frequency fr of the ripple current. Thus, it is possible to provide a ripple detection device 100 that can increase the processing speed and detect ripple pulses with high accuracy.
The ripple detection device 100 further includes the memory 162 for storing data representing the linear relational expression represented by the equation (2) and data representing the equation (3). Therefore, by reading the equations (2) and (3) from the memory 162 and using them, it is possible to immediately calculate the frequency fr of the ripple current and to adjust the passband of the variable filter 130, by taking advantage of the linearity between the ripple current Ir and the frequency fr of the ripple current while considering the environmental temperature t. Thus, it is possible to provide a ripple detection device 100 that can increase the processing speed and detect ripple pulses with high accuracy.
The ripple detection device 100 further includes a ripple pulse generator 150 for generating ripple pulses from a signal output from the variable filter 130. Therefore, the variable filter 130 can be optimized in accordance with the characteristics of the motor 23.
The ripple detection device 100 further includes the filter 122 provided on the input side of the variable filter 130 and the filter 140 provided on the output side of the variable filter 130, and a ripple current that is detected by the current detector 112 and the resistor 24 and is passed through the filter 122, the variable filter 130, and the filter 140 in this order is input into the ripple pulse generator 150. Therefore, even if the characteristics of the ripple current of the motor 23 become irregular, it is possible to detect the ripple current with high accuracy by accurately removing noise.
The seat device 10 includes the seat 20 that is mounted on the vehicle 1 and of which the position or the angle can be adjusted by the motor 23, the drive controller 50 for controlling the drive of the motor 23, and the ripple detection device 100 for detecting a ripple current of the motor 23 and outputting it to the drive controller 50. The ripple detection device 100 includes the current detector 112 and the resistor 24 for detecting a ripple current generated when the motor 23 is driven, the voltage detector 111 for detecting the terminal-to-terminal voltage Vm of the motor 23, the variable filter 130 for passing a component, of the ripple current detected by the current detector 112 and the resistor 24, that is in a predetermined frequency band, and the frequency adjuster 161 for adjusting the predetermined frequency band of the variable filter 130 so as to include a frequency of the ripple current derived by using a linear relational expression for deriving the frequency of the ripple current based on the ripple current detected by the current detector 112 and the resistor 24 and the terminal-to-terminal voltage Vm detected by the voltage detector 111.
Therefore, by being able to derive the frequency of the ripple current from the linear relational expression based on the ripple current and the terminal-to-terminal voltage Vm, and to adjust the predetermined frequency band of the variable filter 130 in accordance with the frequency of the ripple current, it is possible to suppress omission of a ripple pulse (failure to detect a ripple) and erroneous detection of a ripple pulse. As a result, it is possible to detect the rotational position of the motor 23 with high accuracy regardless of the magnitude of the load on the motor 23, and to perform adjustment of the seat 20 accurately.
Therefore, it is possible to provide a seat device 10 that can detect ripple pulses with high accuracy and adjust the seat 20 accurately by controlling the passband of the variable filter 130 optimally in accordance with the driving state of the motor 23 by using the linear relational expression for deriving the frequency fr of the ripple current based on the ripple current Ir and the terminal-to-terminal voltage Vm of the motor.
Although the ripple detection device and the seat device according to an illustrative embodiment of the present disclosure have been described above, the present disclosure is not limited to the embodiment specifically disclosed, and various modifications and changes are applicable without departing from the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
2022-106006 | Jun 2022 | JP | national |
This application is a continuation application of International Application No. PCT/JP2023/007311, filed on Feb. 28, 2023, and designating the U.S., which is based upon and claims priority to Japanese Patent Application No. 2022-106006, filed on Jun. 30, 2022, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2023/007311 | Feb 2023 | WO |
Child | 18987677 | US |