Electronic apparatus, push-type input device, and electronic shifter
By using sensors and power connections in electronic devices to synchronously control the driving cycle of the load, the problem of temperature sensor detection value changes due to voltage changes is solved, and the suppression of power supply voltage changes and stable acquisition of detection value is achieved, thereby improving the The control accuracy and stability of the system are achieved.
Patent Information
- Application Number
- CN202380030933.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-28
- Filing Date
- 2023-02-28
- Publication Date
- 2024-11-15
AI Technical Summary
In the case where the temperature sensor detection value changes due to voltage changes, it is difficult to obtain the driving timing of the load on and off periods with stable accuracy, resulting in insufficient suppression of the power supply voltage change, which affects the stable control of the load.
The sensor is connected to the power supply, and the load is driven by the sensor control unit and the driving control unit synchronously, and a stable detection value is obtained, and the detection value of the magnetic sensor is obtained in a stable state of power supply voltage to ensure the accuracy of the switching state.
It effectively suppresses the change of power supply voltage, improves the accuracy and stability of sensor detection values, ensures the consistency of the on- and off periods of load, and improves the control accuracy of the system.
Smart Images

Figure CN118974865A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device, a push-type input device, and an electronic shifter. Background Art
[0002] Conventionally, in a device equipped with a plurality of loads requiring high power, there is a power supply voltage variation suppression method for controlling the variation of the power supply voltage generated when each load is turned on or off, when each load is turned on / off at a given cycle. Based on the temperature detected by a temperature sensor before the start of driving each load, a duty ratio representing the on time from the start of driving to the end of driving relative to the one cycle in each load is determined, and the driving timing is set based on the determined duty ratio so that the driving start time and the driving end time of each load are inconsistent with each other (for example, refer to Patent Document 1).
[0003] Prior Art Literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2000-066738 Summary of the invention
[0006] -Problems to be solved by the invention-
[0007] However, conventional voltage variation suppression methods set drive timing in order to suppress variations in power supply voltage generated when a load is turned on or off, so that the start and end times of the on time of each load determined based on the temperature detected by the temperature sensor are inconsistent, and no method is disclosed for obtaining detection values with stable accuracy under the premise that the detection values of the temperature sensor vary due to voltage variations.
[0008] Therefore, an object of the present invention is to provide an electronic device, a push-type input device, and an electronic shifter that can suppress the influence of fluctuations in power supply voltage and acquire detection values of sensors with stable accuracy.
[0009] -Methods for solving problems-
[0010] The electronic device of an embodiment of the present disclosure includes: a sensor connected to a power supply; a first load connected to the power supply; a sensor control unit that controls the sensor; and a drive control unit that performs drive control on the first load, wherein the sensor control unit obtains a detection value from the sensor in synchronization with a drive cycle of the drive control unit that performs drive control on the first load.
[0011] -Effects of the Invention-
[0012] An electronic device, a push-type input device, and an electronic shifter can be provided that can suppress the influence of fluctuations in power supply voltage and acquire detection values of a sensor with stable accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a perspective view of the appearance of a push-type shift device according to an embodiment.
[0014] Figure 2 It is an exploded perspective view of a push-type shift device according to an embodiment.
[0015] Figure 3 It is a perspective cross-sectional view of a push-type shift device according to an embodiment.
[0016] Figure 4 It is a partially enlarged perspective cross-sectional view of a push-type shift device according to an embodiment.
[0017] Figure 5 It is a diagram showing an electrical configuration of a push-type shift device according to an embodiment.
[0018] Figure 6 This is a perspective view of the appearance of a slider included in a push-type input device according to an embodiment.
[0019] Figure 7 It is a side view of a rotating body provided in a push-type input device according to an embodiment.
[0020] Figure 8 It is a diagram showing an engagement state of an upper sliding portion and a lower sliding portion of a slider and a cam portion of a rotating body in a push-type input device according to an embodiment.
[0021] Fig. 9 It is a diagram showing an engagement state of an upper sliding portion and a lower sliding portion of a slider and a cam portion of a rotating body in a push-type input device according to an embodiment.
[0022] Fig. 10A : is a figure which shows the structure of the magnetic sensor 107C.
[0023] Fig. 10B 1 is a diagram showing an example of the waveforms of the +SIN signal 1 and the −SIN signal 1 output by the magnetic sensor 107C.
[0024] Fig. 10C This is a diagram showing an enlarged angle range AR.
[0025] Fig.111 is a diagram showing an example of a configuration of a peripheral circuit of the LED elements 107B1 and 107B2 of the push-type input mechanisms 100 - 1 to 100 - 4 of the push-type shift device 10 .
[0026] Fig.12 2 is a diagram showing an output voltage VREFH of a power supply 1 , a PWM signal 1 , and a PWM signal 2 .
[0027] Fig.13 1 is a diagram showing an example of a process table of the light emission control unit 121 .
[0028] Fig.14 It is a flowchart showing the processing executed by the light emission control unit 121 and the sensor control unit 122 of the control device 120 . DETAILED DESCRIPTION
[0029] Hereinafter, embodiments of an electronic device, a push-type input device, and an electronic shifter to which the present disclosure is applied will be described.
[0030] <Implementation Method>
[0031] (Overview of Push-Type Shift Device 10)
[0032] Figure 1 It is a stereoscopic appearance diagram of a push-type shift device 10 involved in one embodiment. The push-type shift device 10 is an example of a push-type input device and an example of an electronic shifter. In addition, in the subsequent description, for convenience, the X-axis direction is set as the front-to-back direction, the Y-axis direction is set as the left-to-right direction, and the Z-axis direction is set as the up-down direction. Among them, the positive direction of the X-axis is set as the front direction, the positive direction of the Y-axis is set as the right direction, and the positive direction of the Z-axis is set as the up direction. These represent the relative positional relationship within the device, and do not limit the setting direction and operation direction of the device. Among devices with the same relative positional relationship within the device, devices with different setting directions and operation directions are also all included in the scope of the rights of the present disclosure.
[0033] Figure 1 The push-type shift device 10 shown is provided in a vehicle such as an automobile and is a device for accepting an operation for selecting a shift position of the vehicle. Figure 1 As shown, the push-type shift device 10 includes four push-type input mechanisms 100 (100-1 to 100-4) and a housing 101. The four push-type input mechanisms 100 are arranged in a row in the left-right direction (Y-axis direction) and are integrated by a housing 101. The four push-type input mechanisms 100 each include an operation button 102 at the top, and the operator can select a shift position to the shift position corresponding to the operation button 102 by pushing the operation button 102.
[0034] (Structure of Push-Type Input Mechanism 100)
[0035] Figure 2 It is an exploded perspective view of a push-type shift device 10 according to an embodiment. Figure 3 It is a perspective cross-sectional view of a push-type shift device 10 according to an embodiment. Figure 4 1 is a partially enlarged perspective cross-sectional view of a push-type shift device 10 according to an embodiment. Figure 3 The push-type input mechanism 100-1 provided in the push-type shift device 10 is shown in a cross section based on the XZ plane (based on Figure 1 In addition, Figure 4 The push-type input mechanism 100-1 (particularly the rotating body 105) provided in the push-type shift device 10 is shown in a cross section based on the YZ plane (based on Figure 2 BB section line shown).
[0036] like Figure 2 As shown, the four push-type input mechanisms 100 - 1 to 100 - 4 respectively include an operation button 102 , a housing 101 , a slider 103 , a light guide 104 , a rotating body 105 , a rubber sheet 106 , a substrate 107 , and a cover 108 .
[0037] The operation button 102 is a resin component that receives a push operation from an operator. The operation button 102 is an example of a switch. Figure 2 In the example shown, the operating button 102 has a substantially rectangular parallelepiped shape. In addition, in the operating button 102, its upper surface is an operating surface 102A that is substantially horizontal and slightly curved into a concave shape for receiving a push operation. In addition, the entire portion of the operating button 102 corresponding to the lower surface becomes a lower opening portion 102B. The operating button 102 is fixedly mounted on the upper portion of the slider 103 by embedding the upper portion of the slider 103 from the lower side (the negative side of the Z axis) into the lower opening portion 102B. Thus, the operating button 102 can move in the up and down direction (the Z axis direction) integrally with the slider 103. That is, the operating button 102 can slide the slider 103 downward (the negative direction of the Z axis) by performing a push operation on the operating surface 102A.
[0038] Each operation button 102 has a light-transmitting portion in the shape of a symbol indicating a shift position, and when the lower LED 107B emits light, the light guided by the light guide 104 is transmitted, so that the symbol is illuminated.
[0039] The housing 101 is a container-like component made of resin, having a roughly rectangular parallelepiped shape and a hollow structure. Inside the housing 101, a slider 103, a light guide 104, a rotating body 105, a rubber sheet 106, and a substrate 107 are accommodated. On the upper surface of the housing 101, an upper opening portion 101A having a rectangular shape when viewed from above is formed. In the upper opening portion 101A, the slider 103 is configured to be able to slide in the up and down direction (Z-axis direction). In addition, the entire portion of the housing 101 corresponding to the lower surface becomes the lower opening portion 101B. The lower opening portion 101B is closed by a cover 108. In addition, as shown in FIG. Figure 3 As shown in FIG. 1 , a cylindrical shaft support portion 101C is provided inside the housing 101 and is suspended from the top surface. Figure 3 As shown in FIG. 1 , the shaft support portion 101C is inserted into the upper opening portion 105b of the rotating body 105, thereby rotatably supporting the upper portion of the rotating body 105. Figure 4 As shown in FIG. 1 , a pair of supporting portions 101E are provided inside the housing 101 and are opposed to each other with the bearing opening 101D sandwiched therebetween. Figure 4 As shown in FIG. 1 , a flange portion 105E is provided at the lower end of the rotating body 105, which is radially expanded from the outer peripheral surface of the rotating body 105. The diameter of the flange portion 105E is larger than the diameter of the bearing opening portion 101D. Figure 4 As shown, the lower end of the rotating body 105 is inserted into the bearing opening 101D. At this time, the flange 105E of the rotating body 105 abuts against the upper surface of the pair of support parts 101E. As a result, the lower part of the rotating body 105 is rotatably supported, that is, the downward movement of the rotating body 105 is restricted.
[0040] The slider 103 is a resin member slidably arranged in the vertical direction (Z-axis direction) (an example of a "given sliding direction") at the upper opening 101A of the housing 101. The slider 103 has a substantially square cylindrical portion 103A with the vertical direction (Z-axis direction) as the cylindrical direction.
[0041] The light guide 104 is a quadrangular prism-shaped member made of resin and arranged in the cylinder portion 103A of the slider 103. The light guide 104 emits light emitted from the LED 107B mounted on the upper surface 107A of the substrate 107 and incident from the bottom surface of the light guide 104, and emits it from the upper surface of the light guide 104. Thus, the light guide 104 guides the light emitted from the LED 107B to the operation button 102.
[0042] The rotating body 105 is a substantially cylindrical member with the vertical direction as the cylindrical direction. The rotating body 105 is arranged to be rotatable around the axis of the rotating axis with the vertical direction (Z-axis direction) as the axial direction of the rotating axis on the side of the slider 103. The outer peripheral surface of the rotating body 105 engages with the slider 103 so that the rotating body 105 rotates as the slider 103 slides in the vertical direction (the details of the engagement will be described later). Figure 3 As shown in FIG. 1 , a magnet 105A is embedded in the lower opening 105a of the rotating body 105. Figure 3 As shown, the shaft support portion 101C of the housing 101 is inserted into the upper opening portion 105b of the rotating body 105. As a result, the rotating body 105 is rotatably supported by the housing 101. In addition, an annular torsion spring 105B (an example of a "biasing mechanism") is provided around the shaft support portion 101C of the housing 101 at the upper opening portion 105b of the rotating body 105. One end of the torsion spring 105B is fixed to the shaft support portion 101C, and the other end of the torsion spring 105B is fixed to the rotating body 105. As a result, the rotating body 105 is always biased in the counterclockwise direction (restoration rotation direction) when viewed from above by the elastic force generated by the torsion spring 105B. The rotating body 105 can rotate clockwise when viewed from above by sliding downward (in the negative direction of the Z axis) toward the slider 103 due to the pushing operation, and then rotate counterclockwise (in the direction of restoring rotation) when viewed from above by the elastic force generated by the torsion spring 105B when the pushing operation is released. Thus, the rotating body 105 can rotate to the initial position of the rotating body 105 as the rubber dome 106A of the rubber sheet 106 described later pushes the slider 103 upward (in the positive direction of the Z axis) and the slider 103 is restored to the initial position before the pushing operation, thereby restoring.
[0043] The rubber sheet 106 is a sheet-like member superimposed on the upper surface 107A of the substrate 107. The rubber sheet 106 is formed using an elastic material (e.g., silicone rubber, etc.). The rubber sheet 106 covers the upper surface 107A of the substrate 107 over the entire area, thereby preventing water from entering the upper surface 107A of the substrate 107 even when water enters the interior of the housing 101.
[0044] In addition, two rubber domes 106A are integrally formed in the rubber sheet 106 at positions facing the bottom surface of each slider 103. Each rubber dome 106A is an example of a "clicking feeling imparting mechanism". Each rubber dome 106A is formed in a convex shape protruding upward from the upper surface of the rubber sheet 106. When a pushing operation is performed, each rubber dome 106A is pressed by the bottom surface of the slider 103, so that the dome portion is elastically deformed (reversely bent), and a clicking operation feeling is imparted to the pushing operation. In addition, as described above, when the pushing operation is released, each rubber dome 106A can use the elastic force (restoring force to the initial shape) generated by the rubber dome 106A to push the slider 103 upward (Z-axis positive direction) so that the slider 103 is restored to the initial position before the pushing operation.
[0045] The substrate 107 is a flat plate-shaped component. The substrate 107 has a quadrilateral shape when viewed from above. The substrate 107 is fixedly arranged on the upper surface of the cover 108 in the interior of the housing 101 in a horizontal posture relative to the XY plane. As the substrate 107, for example, a PWB (Printed Wiring Board) is used. On the upper surface 107A of the substrate 107, an LED (Light Emitting Diode) 107B and a magnetic sensor 107C are mounted.
[0046] The LED 107B is disposed directly below the light guide 104. The LED 107B can be controlled by an external control device 120 (see Figure 5 ) is controlled to emit light. LED107B can emit light into the light guide 104 by emitting light. As an example, Figure 5 As shown, LED 107B includes LED element 107B1 that emits orange light and LED element 107B2 that emits white light. LED element 107B1 that emits orange light is an example of a first load, and LED element 107B2 that emits white light is an example of a second load.
[0047] Each LED 107B is driven and controlled by a light emitting control unit 121 of a control device 120 described later, so that either the orange LED element 107B1 or the white LED element 107B2 is turned on to emit light, and the other is turned off to be non-emitting light. Among the push-type input mechanisms 100-1 to 100-4, the LED 107B of one push-type input mechanism 100 that has pushed the operation button 102 turns on the orange LED element 107B1, and the LED 107B of the remaining three push-type input mechanisms 100 that have not pushed the operation button 102 turns on the white LED element 107B2.
[0048] In each push-type input mechanism 100, the orange LED element 107B1 is turned on when the operation button 102 is pushed, and the white LED element 107B2 is turned on when the operation button 102 is not pushed. In each push-type input mechanism 100, the orange LED element 107B1 and the white LED element 107B2 are not turned on at the same time, and either one is turned on. Therefore, the operator can confirm which of the four operation buttons 102 has been pushed by the light color (light color). The light-emitting state of each push-type input mechanism 100 is maintained until the operator pushes the other operation buttons 102. In addition, the orange and white colors of the LED elements 107B1 and 107B2 are just examples, and any light color can be different from each other.
[0049] The magnetic sensor 107C is disposed at a position directly below the rotating body 105, and is opposed to the magnet 105A disposed on the lower end surface of the rotating body 105. The magnetic sensor 107C can detect the rotation angle of the rotating body 105 by detecting the change in the direction of the magnetic flux accompanying the rotation of the magnet 105A. In addition, the magnetic sensor 107C can transmit a rotation angle signal indicating the detected rotation angle to an external control device 120 (see FIG. 1 ) via the connector 108A. Figure 5 ) output. In addition, the push-type input mechanism 100 involved in one embodiment uses a magnetic sensor 107C (GMR sensor) as an example of a "sensor" for detecting a rotation angle. However, this is not limited to this. The push-type input mechanism 100, as another example of a "sensor" for detecting a rotation angle, can be used as a sensor of other types (for example, optical, mechanical, electrostatic, resistive, etc.), or a switch that is turned on / off by a push operation can be used as a sensor.
[0050] The magnetic sensor 107C has a plurality of GMR elements for detecting the rotation angle of the rotating body 105. The magnetic sensor 107C is an example of a sensor. Fig. 10A This will be described later.
[0051] The cover 108 is a resin-made, flat-plate-shaped member that closes the lower opening 101B of the housing 101. The cover 108 is screwed to the housing 101 by four screws 109 that penetrate the cover 108. A square-tube-shaped connector 108A is provided on the bottom surface of the cover 108 so as to protrude downward. Inside the connector 108A, a plurality of connector pins (not shown) are provided to hang downward from the lower surface of the substrate 107. The connector 108A is embedded through an external connector (not shown), so that the plurality of connector pins are electrically connected to the external connector.
[0052] (Electrical Structure of Push-Type Shift Device 10)
[0053] Figure 5 FIG. 2 is a diagram showing an electrical structure of a push-type shift device 10 according to an embodiment. Figure 5 As shown in FIG. 1 , the push-type shift device 10 includes four push-type input mechanisms 100-1 to 100-4 and a control device 120. In addition, each push-type input mechanism 100 includes an LED 107B and a magnetic sensor 107C. Fig.11 This will be described later.
[0054] The control device 120 is connected to the push-type shift device 10 via the connector 108A (see Figure 2 as well as Figure 3 ) is connected to the LED 107B and the magnetic sensor 107C provided in each push-type input mechanism 100. The control device 120 includes a light emission control unit 121, a sensor control unit 122, and a switching determination unit 123. The light emission control unit 121 is an example of a drive control unit.
[0055] The control device 120 is implemented by a computer including a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), a HDD (Hard Disk Drive), an input / output interface, an internal bus, etc. The light emission control unit 121, the sensor control unit 122, and the switching determination unit 123 represent the functions of the program executed by the control device 120 as functional blocks.
[0056] The light control unit 121 controls the light emission of the LED 107B provided in each push-type input mechanism 100. When the switching state determined by the switching determination unit 123 indicates that a push operation has been performed, the light control unit 121 turns on the orange LED element 107B1 and turns off the white LED element 107B2. When the switching state determined by the switching determination unit 123 indicates that a push operation has not been performed, the white LED element 107B2 is turned on and the orange LED element 107B1 is turned off.
[0057] In this way, the light control unit 121 switches the orange LED element 107B1 and the white LED element 107B2 of the LED 107B of each push-type input mechanism 100 on and off, so that the operation button 102 that has been pushed is illuminated in orange, and the three operation buttons 102 that have not been pushed are illuminated in white. The light control unit 121 does not turn on the orange LED element 107B1 and the white LED element 107B2 at the same time in each push-type input mechanism 100, but turns on one and turns off the other. In addition, when each push-type input device 100 falls into an abnormal state that cannot be considered as a normal operation, the switch element 152 is controlled so that the orange LED element 107B1 is not turned on by mistake.
[0058] The switching determination unit 123 determines the switching state of the operation button 102 (an example of a switch) based on the push operation for each push input mechanism 100 based on the detection signal supplied from the magnetic sensor 107C provided by each push input mechanism 100 (i.e., the detection result based on the rotation angle of the magnetic sensor 107C). The detection signal of the magnetic sensor 107C is acquired by the sensor control unit 122 at a given timing and transmitted to the switching determination unit 123. As described in detail later, as an example, the magnetic sensor 107C outputs 4 measurement values according to the operation position of the operation button 102, and the switching determination unit 123 determines the switching state of the operation button 102 based on the majority decision of the measurement levels based on the 4 measurement values. The switching state indicates whether a push operation has been performed or whether a push operation has not been performed.
[0059] (Upper Sliding Part 103B and Lower Sliding Part 103C of Slider 103)
[0060] Figure 6 FIG. 1 is a perspective view of the appearance of a slider 103 included in a push-type input mechanism 100 - 1 according to an embodiment. Figure 6 , the side surface of the rear side (X-axis negative side) of the cylinder portion 103A of the slider 103 provided in the push-type input mechanism 100-1 is shown. Figure 6 As shown, the slider 103 included in the push-type input mechanism 100 - 1 has an upper sliding portion 103B and a lower sliding portion 103C protrudingly provided on the side surface of the rear side (X-axis negative side) of the cylinder portion 103A.
[0061] The upper sliding portion 103B is disposed slightly above (in the positive direction of the Z axis) and slightly to the left (in the negative direction of the Y axis) of the lower sliding portion 103C. A gap 103D is formed between the upper sliding portion 103B and the lower sliding portion 103C. The upper sliding portion 103B has an upper sliding surface 103Ba that is curved (convex toward the gap 103D) and faces the gap 103D. The lower sliding portion 103C has a lower sliding surface 103Ca that is curved (convex toward the gap 103D) and faces the gap 103D. The upper sliding portion 103B and the lower sliding portion 103C are disposed at positions opposing each other with the cam portion 105D described later sandwiched therebetween. (Refer to Figure 8 , Fig. 9 )
[0062] (Cam portion 105D of rotating body 105)
[0063] Figure 7 FIG. 1 is a side view of a rotating body 105 included in a push-type input mechanism 100 - 1 according to an embodiment. Figure 7 , the outer peripheral surface 105C of the front side (X-axis positive side) of the rotating body 105 provided in the push-type input mechanism 100-1 is shown. Figure 7 As shown, the rotating body 105 of the push-type input mechanism 100-1 is provided with a spiral cam portion 105D protrudingly provided on the outer peripheral surface 105C on the front side (positive side of the X axis). The cam portion 105D extends counterclockwise from the upper end toward the lower end along the outer peripheral surface 105C when viewed from above. In addition, the cam portion 105D is formed in a spiral shape so that the height position gradually decreases from the upper end toward the lower end. The upper inclined surface of the cam portion 105D becomes in contact with the upper sliding surface 103Ba (refer to Figure 6 ) is in contact with and can slide on the upper cam surface 105Da (an example of a "cam surface"). The upper cam surface 105Da converts the sliding force of the slider 103 into the rotational force of the rotating body 105. In addition, the inclined surface on the back side (lower side) of the upper cam surface 105Da of the cam portion 105D is in contact with the lower sliding surface 103Ca (see Figure 6 ) abuts against and is able to slide on the lower cam surface 105Db.
[0064] In addition, if Figure 7 As shown, the upper cam surface 105Da has a rotation start portion P1, a rotation middle portion P2, and a rotation end portion P3.
[0065] The rotation start portion P1 is a portion where the upper sliding portion 103B of the slider 103 slides until the stroke amount of the operation knob 102 reaches the stroke amount S1 (corresponding to “when the rotation of the rotating body starts”).
[0066] The rotational intermediate portion P2 is a portion where the upper sliding portion 103B of the slider 103 slides until the stroke of the operation knob 102 reaches the stroke S2 from the stroke S1 (corresponding to “the middle of the rotation of the rotating body”).
[0067] The rotation end portion P3 is a portion where the upper sliding portion 103B of the slider 103 slides when the stroke amount of the operation knob 102 is greater than the stroke amount S2 (corresponding to “when the rotation of the rotating body ends”).
[0068] (Engagement state between slider 103 and rotating body 105)
[0069] Figure 8 as well as Fig. 9 1 is a diagram showing an engagement state between an upper sliding portion 103B and a lower sliding portion 103C of a slider 103 and a cam portion 105D of a rotating body 105 in a push-type input mechanism 100-1 according to an embodiment. Figure 8 This is a perspective view of the appearance of the slider 103 and the rotating body 105 when viewed from above (Z-axis positive direction) and from the right (Y-axis positive direction). Fig. 9 It is a cross-sectional view based on the YZ plane of the slider 103 and the rotating body 105 when viewed from the front (X-axis positive direction), and only the slider 103 is shown in cross section.
[0070] like Figure 8 as well as Fig. 9 As shown, the cam portion 105D of the rotating body 105 is arranged in the gap 103D between the upper sliding portion 103B and the lower sliding portion 103C of the slider 103. Fig. 9 As shown in FIG. 1 , the upper cam surface 105Da of the cam portion 105D abuts against the upper sliding surface 103Ba of the upper sliding portion 103B and is able to slide. Fig. 9 As shown, the lower cam surface 105Db of the cam portion 105D abuts against the lower sliding surface 103Ca of the lower sliding portion 103C to be slidable.
[0071] Thus, in the push-type input mechanism 100-1 according to one embodiment, when the slider 103 moves downward (in the negative direction of the Z axis) in response to the push operation of the operation button 102, the upper sliding surface 103Ba provided on the upper sliding portion 103B of the slider 103 slides the upper cam surface 105Da provided on the cam portion 105D of the rotating body 105 toward its lower end, and the rotating body 105 is driven to rotate in the clockwise direction as viewed from above. Thus, the push-type input mechanism 100-1 according to one embodiment can drive the rotating body 105 to rotate in the clockwise direction as viewed from above in response to the push operation of the operation button 102. In addition, the rotating body 105 is always urged in the counterclockwise direction (the direction of restoring rotation) as viewed from above by the elastic force generated by the torsion spring 105B, so that the upper cam surface 105Da of the cam portion 105D always contacts the upper sliding surface 103Ba of the upper sliding portion 103B. Therefore, even if the push-type input mechanism 100-1 involved in one embodiment is subjected to vibration or impact, the rotating body 105 will not move away from the slider 103 and rotate, and the rotation angle of the rotating body 105 accompanied by the pushing operation can be reliably set to an angle corresponding to the movement amount downward (negative direction of the Z axis) of the slider 103.
[0072] Furthermore, when the push operation of the operation button 102 is released, the push-type input mechanism 100-1 according to one embodiment can rotate the rotating body 105 counterclockwise when viewed from above by utilizing the elastic force generated by the torsion spring 105B provided in the upper opening 105b of the rotating body 105. Thus, in the push-type input mechanism 100-1 according to one embodiment, the upper cam surface 105Da of the cam portion 105D provided on the rotating body 105 always abuts against and slides against the upper sliding surface 103Ba of the upper sliding portion 103B provided on the slider 103, and the rotating body 105 rotates following the movement toward the upper side (Z-axis positive direction) of the slider 103 caused by the elastic force of the rubber dome 106A. As a result, the push-type input mechanism 100 - 1 according to one embodiment can push the slider 103 upward (in the positive direction of the Z axis) by the rubber dome 106A, thereby restoring the slider 103 to the initial position before the push operation and restoring the rotating body 105 to the initial position.
[0073] In addition, in the push-type input mechanism 100-1 according to one embodiment, the slider 103 has a lower sliding portion 103C. Therefore, when the push-type input mechanism 100-1 according to one embodiment is released from the push operation of the operation button 102, although the slider 103 moves upward due to the force from the rubber dome 106A, due to the foreign matter or the like of the rotating body 105 being caught, a defect occurs in the rotation of the rotating body 105 in the restoring rotation direction (counterclockwise when viewed from above) caused by the elastic force generated by the torsion spring 105B, and the rotation of the rotating body 105 cannot follow the upward movement of the slider 103. In the normal restored state, when the lower sliding portion 103C of the slider 103 separated from the lower cam surface 105Db of the cam portion 105D by a gap moves upward due to the pushing force of the rubber dome 106A, it abuts against the lower cam surface 105Db of the cam portion 105D provided on the rotating body 105 stopped at this position, and the lower cam surface 105Db slides toward its upper end, and the rotating body 105 can be driven to rotate in the restoring rotation direction (counterclockwise when viewed from above). Thus, the push-type input mechanism 100-1 according to one embodiment can forcibly rotate the rotating body 105 in the restoring rotation direction (counterclockwise when viewed from above) even when the rotating body 105 cannot be driven to rotate only by the elastic force generated by the torsion spring 105B due to a jamming caused by foreign matter, and can reliably restore the rotating body 105 to the initial rotation angle before the push operation.
[0074] Furthermore, even if the cam portion 105D or both the upper sliding portion 103B and the lower sliding portion 103C of the slider 103 are damaged and disappear, the push-type input mechanism 100-1 involved in one embodiment can restore the rotating body 105 to the initial rotation angle by the force applied in the restoring rotation direction from the torsion spring 105B.
[0075] In the gap 103D between the upper sliding part 103B and the lower sliding part 103C, a small gap is provided with respect to the cam part 105D so that the cam part 105D can slide smoothly in the gap 103D. This gap may cause the cam part 105D in the gap 103D to be loose.
[0076] However, as described above, the push-type input mechanism 100-1 according to one embodiment can apply force to the cam portion 105D by using the force generated by the torsion spring 105B provided on the rotating body 105, so that the cam portion 105D rotates counterclockwise when viewed from above. Thus, the push-type input mechanism 100-1 according to one embodiment can always apply force to the cam portion 105D in the direction of pressing against the upper sliding portion 103B, that is, by making the cam portion 105D approach in one direction within the gap 103D, looseness can be suppressed. Therefore, even when subjected to impact or vibration, the situation in which the rotation angle of the rotating body 105 becomes unstable due to the looseness of the cam portion 105D can be suppressed.
[0077] Furthermore, as described above, the push-type input mechanism 100-1 involved in one embodiment can suppress the advance rotation (over-rotation) of the slider 103 in response to the sudden swiping operation by always applying force to the cam portion 105D in the direction of abutment with the upper sliding portion 103B. Therefore, the rotation movement of the rotating body 105 can reliably follow the sliding of the slider 103 in the upward and downward directions (Z-axis direction).
[0078] In addition, the rotating body 105 and the member that rotatably supports the rotating body 105 (the shaft support portion 101C and the pair of support portions 101E of the housing 101 (see Figure 4)) is provided with a small gap for smoothly rotating the rotating body 105. This gap may cause looseness in the horizontal direction and the vertical direction relative to the rotating body 105. For this reason, the push-type input mechanism 100-1 involved in one embodiment makes the upper sliding surface 103Ba and the upper cam surface 105Da tilted at a given tilt angle respectively, so that the height position gradually becomes lower toward the outer side in the radial direction of the rotating body 105. Through this tilt, the plate thickness of the cam portion 105D in the direction of the rotation center axis (up and down direction) is set to be thinner from the inner side in the radial direction to the outer side. This tilt is caused by the force from the torsion spring 105B, and when the upper cam surface 105Da is pressed against the upper sliding surface 103Ba, a reaction force is generated on the rotating body 105 in a direction perpendicular to the inclined surface of the upper cam surface 105Da. The component force of this reaction force becomes a reaction force downward (toward the support portion 101E) and horizontal (toward the rotation center axis). The push-type input mechanism 100-1 according to one embodiment can use this reaction force to force the rotating body 105 to move closer to the member that rotatably supports the rotating body 105 by applying force downward (toward the support portion 101E) and horizontally (toward the rotation center axis) within the gap between the member and the member. Therefore, the push-type input mechanism 100-1 according to one embodiment can suppress the looseness of the rotating body 105 in the horizontal direction and the vertical direction, and can stably rotate the rotating body 105. Therefore, the rotation of the rotating body 105 can reliably follow the sliding of the slider 103 in the vertical direction (Z-axis direction).
[0079] In the present embodiment, the rubber dome 106A is used as an example of the “dome-shaped elastic body”, but the present invention is not limited thereto, and a metal dome member capable of reverse phase motion may be used as another example of the “dome-shaped elastic body”.
[0080] In addition, in the above description, the “cam surface” is provided on the rotating body 105 , but the present invention is not limited thereto, and the “cam surface” may also be provided on the slider 103 .
[0081] <Switching Determination by the Switching Determination Unit 123>
[0082] The switching determination unit 123 determines the switching state of the operation button 102 by a majority decision based on the four outputs (detection signals) of the magnetic sensor 107C. More specifically, the sensor control unit 122 acquires the detection signal of the magnetic sensor 107C at a given timing and outputs it to the switching determination unit 123, and the switching determination unit 123 determines the switching state of the operation button 102 by a majority decision based on the four outputs (detection signals) of the magnetic sensor 107C. Here, the four outputs of the magnetic sensor 107C are described.
[0083] <Structure of Magnetic Sensor 107C>
[0084] Fig. 10A 1 is a diagram showing the structure of the magnetic sensor 107C. The magnetic sensor 107C has four GMR sensor units 107C1 to 107C4. The GMR sensor units 107C1 to 107C4 are an example of a plurality of sensor units, and here, the magnetic sensor 107C has four GMR sensor units 107C1 to 107C4. In addition, the number of GMR sensor units that the magnetic sensor 107C has only needs to be three or more.
[0085] like Fig. 10A As shown, each of the GMR sensor portions 107C1 to 107C4 includes two GMR elements connected in series between a power supply Vdd and a ground (GND), the GMR sensor portions 107C1 and 107C2 are connected in parallel, and the GMR sensor portions 107C3 and 107C4 are connected in parallel.
[0086] In each of the GMR elements of the GMR sensor sections 107C1 to 107C4, when the direction of the magnetic flux changes due to the rotation of the magnet 105A accompanying the push operation of the operation button 102, the resistance value changes, and a sine wave is output from the connection point of the two GMR elements connected in series. The GMR sensor sections 107C1 and 107C2 set the polarity of the four GMR elements included in the GMR sensor sections 107C1 and 107C2 so as to output +SIN signal 1 and -SIN signal 1 with a phase difference of 180 degrees. Similarly, the GMR sensor sections 107C3 and 107C4 set the polarity of the four GMR elements included in the GMR sensor sections 107C3 and 107C4 so as to output +SIN signal 2 and -SIN signal 2 with a phase difference of 180 degrees.
[0087] The push type shift device 10 can detect the rotation angle of the rotating body 105 based on the +SIN signal 1, -SIN signal 1, +SIN signal 2, and -SIN signal 2. The rotation angle of the rotating body 105 corresponds to the pushing operation amount based on the pushing operation of the operation button 102. The pushing operation amount is the amount by which the operation button 102 is pushed downward.
[0088] Fig. 10B 1 is a diagram showing an example of the waveform of the +SIN signal 1 and the -SIN signal 1 output by the magnetic sensor 107C. Fig. 10BIn the figure, the horizontal axis represents the rotation angle of the magnet 105A, and the vertical axis represents the voltage values of the +SIN signal 1 and the -SIN signal 1. The position where the rotation angle of the magnet 105A is -30 degrees (left end) corresponds to the state where the operation button 102 is not pushed and the pushing operation amount is zero. The position where the rotation angle of the magnet 105A is +30 degrees (right end) corresponds to the state where the operation button 102 is pushed and the operation button 102 is completely pushed down to the lowest position. The pushing operation amount in this state is the maximum value.
[0089] As Fig. 10B shown, along with the change in the rotation angle of the magnet 105A caused by the pushing operation, the +SIN signal 1 and the -SIN signal 1 change within a range of +30 degrees. At this time, within the angle range AR around the rotation angle of the magnet 105A being 0 degrees, the +SIN signal 1 and the -SIN signal 1 change linearly. The angle range AR is a range of +30 degrees as an example. In addition, here, the waveforms of the +SIN signal 1 and the -SIN signal 1 are described, but the same also applies to the +SIN signal 2 and the -SIN signal 2.
[0090] In addition, the change in the +SIN signal 1 and the -SIN signal 1 within a range of +30 degrees along with the change in the rotation angle of the magnet 105A caused by the pushing operation is one of the specific examples and is not limited to +30 degrees. The range of change in the +SIN signal 1 and the -SIN signal 1 along with the change in the rotation angle of the magnet 105A caused by the pushing operation can be any angular range as long as it is within the range where the +SIN signal 1 and the -SIN signal 1 change linearly.
[0091] Fig. 10C is a diagram showing an enlarged view of the angle range AR. In Fig. 10C it, the horizontal axis represents the rotation angle of the magnet 105A, and the vertical axis represents the voltage values of the +SIN signal 1 and the -SIN signal 1. In Fig. 10C the waveforms of the +SIN signal 1 and the -SIN signal 1 are shown, but the same also applies to the waveforms of the +SIN signal 2 and the -SIN signal 2.
[0092] The push-type shift device 10 uses the angle range AR in which the +SIN signal 1, the -SIN1 signal, the +SIN signal 2, and the -SIN signal 2 output by the magnetic sensor 107C change linearly with respect to the rotation angle of the magnet 105A to perform on / off determination (on / off determination) based on the push operation.
[0093] <Structure of the peripheral circuits of the LED elements 107B1 and 107B2>
[0094] Fig.111 is a diagram showing an example of the structure of the peripheral circuit of the LED elements 107B1 and 107B2 of the push-type input mechanisms 100-1 to 100-4 of the push-type shift device 10. The peripheral circuit includes switch elements 151 to 153. The push-type input mechanisms 100-1 to 100-4 have the same structure as each other, and each includes one LED element 107B1 and 107B2, switch elements 151 to 153, and a magnetic sensor 107C.
[0095] exist Fig.11 , the LED elements 107B1 and 107B2 and the switch elements 151 to 153 of the push-type input mechanisms 100-1 and 100-4 are shown, and the LED elements 107B1 and 107B2 and the switch elements 151 to 153 of the push-type input mechanisms 100-2 and 100-3 are omitted. Fig.11 , one magnetic sensor 107C included in each of the push-type input mechanisms 100 - 1 to 100 - 4 is collectively shown.
[0096] Here, the electronic device 50 of the embodiment includes LED elements 107B1, LED elements 107B2, switch elements 151 to 153, magnetic sensors 107C, and a control device 120 of four push-type input mechanisms 100-1 to 100-4. In the electronic device 50, the control device 120 only needs to include at least the light emission control unit 121 and the sensor control unit 122, and may not include the switching determination unit 123.
[0097] The control device 120, the LED elements 107B1 and 107B2 of the push-type input mechanisms 100-1 to 100-4, and the four magnetic sensors 107C of the push-type input mechanisms 100-1 to 100-4 are connected to the power supply 1. The output voltage of the power supply 1 is VREFH.
[0098] The push input mechanisms 100-1 to 100-4 have the same connection relationship among the LED elements 107B1 and 107B2, the switch elements 151 to 153, the power supply 1, and the control device 120. Therefore, unless otherwise specified, the connection relationship and operation of the push input mechanism 100-1 will be described here.
[0099] The LED element 107B1 is connected between the power supply 1 and the control device 120 , and the LED element 107B2 is connected in parallel with the LED element 107B1 between the power supply 1 and the control device 120 .
[0100] A switch element 151 is connected between the LED element 107B1 and the control device 120. The switch element 151 is an example of a first switch element. A switch element 152 is connected between the LED element 107B1 and the power supply 1. The switch element 152 is an example of a second switch element. In addition, a switch element 153 is connected between the LED element 107B2 and the control device 120. The switch element 153 is an example of a third switch element.
[0101] <Switching Element 151 and PWM Signal 1>
[0102] The switch element 151 is driven by a PWM (Pulse Width Modulation) signal 1 output from the light control unit 121 to switch the LED element 107B1 on and off. As an example, the switch element 151 is a MOSFET (Metal Oxide Semiconductor Field-Effect Transistor).
[0103] PWM signal 1 is an example of the first drive signal. The duty cycle of PWM signal 1 is determined by the light-emitting control unit 121 according to the brightness (an example of the driving degree) when the LED element 107B1 is made to emit light. By performing drive control of the LED element 107B1 based on PWM control of PWM signal 1, the current flowing through the LED element 107B1 can be controlled to be constant current, and the brightness can be kept constant. In addition, when the LED element 107B1 is turned on by PWM signal 1, in a state where the switch element 152 is turned on by the switching signal, if the switch element 151 is turned on, the LED element 107B1 is turned on.
[0104] <Switching Element 152 and Switching Signal>
[0105] The switch element 152 switches on and off by a switching signal output from the light emitting control unit 121 in order to switch the supply and blocking of power from the power source 1 to the LED element 107B1. The switching signal is not a PWM signal, but a switching signal for switching the supply and blocking of power from the power source 1 to the LED element 107B1. The switching signal is an example of a second drive signal. The switch element 152 is, as an example, a PNP type transistor.
[0106] The switching signal for turning on the switch element 152 is output from the light emitting control unit 121 to the switch elements 152 of the push-type input mechanisms 100-1 to 100-4. For the push-type input mechanism 100 (any one of 100-1 to 100-4) determined by the switching determination unit 123 to have been pushed, the switching signal is switched to a level for turning on the switch element 152 during the period from the push operation to the non-pushing operation. For the remaining three push-type input mechanisms 100 (the remaining three of 100-1 to 100-4), the switching signal is maintained at a level for turning off the switch element 152.
[0107] As an example, a push-type shift device 10 is a device in which any one of the four operating buttons 102 of the four push-type input mechanisms 100-1 to 100-4 must be selected by a push operation, so that the switching signal is switched to a level that turns on the switch element 152 for any one of the four switch elements 152, and the remaining three switch elements 152 are maintained at a disconnected level.
[0108] That is, when the LED element 107B1 of the push-type input mechanism 100 (any one of 100-1 to 100-4) including one operation button 102 that has been pushed is turned on by the PWM signal 1, the switch element 152 of the push-type input mechanism 100 is turned on by the switching signal, and the switch elements 152 of the remaining three push-type input mechanisms 100 (the remaining three of 100-1 to 100-4) are turned off by the switching signal. By driving the switch element 152 between the power source 1 and the LED 107B1 by the switching signal, it is controlled so that when each push-type input device 100 falls into an abnormal state that cannot be regarded as a normal operation, the orange LED element 107B1 will not be turned on by mistake. In addition, an example is described in which each push-type input mechanism 100 is provided with a switch element 152, but it is also possible to provide a switch element 152 in any one of the four push-type input mechanisms 100-1 to 100-4, and output the output signal of the switch element 152 to the LED elements 107B1 of the remaining three push-type input mechanisms.
[0109] <Switching element 153 and PWM signal 2>
[0110] In order to switch the LED element 107B2 on and off, the switch element 153 is driven by the PWM signal 2 output from the light emission control unit 121 to switch on and off. The switch element 153 is, for example, a MOSFET.
[0111] PWM signal 2 is an example of the third drive signal. The duty ratio of PWM signal 2 is determined by the light-emitting control unit 121 according to the brightness (an example of the driving degree) when the LED element 107B2 is made to emit light. If the switch element 153 is turned on, the LED element 107B2 is turned on. By performing the drive control of the LED element 107B2 based on the PWM control of the PWM signal 2, the current flowing through the LED element 107B2 can be controlled to be constant current, and the brightness can be kept constant.
[0112] <Operation of the LED Elements 107B1 and 107B2 in the Whole of the Push-Type Input Mechanisms 100-1 to 100-4>
[0113] In the entire push-type input mechanism 100-1 to 100-4, the orange LED element 107B1 of the push-type input mechanism (any one of 100-1 to 100-4) including one operation button 102 that has been pushed is turned on, and the white LED element 107B2 of the push-type input mechanism (the remaining three of 100-1 to 100-4) including three operation buttons 102 that have not been pushed is turned on. Therefore, in the push-type input mechanism (any one of 100-1 to 100-4) including one operation button 102 that has been pushed, the PWM signal 1 for turning on the switch element 151, the switching signal for turning on the switch element 152, and the PWM signal 2 for turning off the switch element 153 are output from the light emission control unit 121. In addition, in a push-type input mechanism (the remaining three among 100-1 to 100-4) that includes three operation buttons 102 that are not pushed, a PWM signal 1 that turns off the switch element 151, a switching signal that turns off the switch element 152, and a PWM signal 2 that turns on the switch element 153 are output from the light control unit 121.
[0114] That is, in the entire push-type input mechanisms 100 - 1 to 100 - 4 , the light emission control unit 121 outputs one PWM signal 1 for turning on one orange LED element 107B1 and three PWM signals 2 for turning on three white LED elements 107B2 .
[0115] In addition, the switch element 152 is provided only between the orange LED element 107B1 and the power supply 1 so that when each push-type input device 100 falls into an abnormal state that cannot be considered as a normal operation, the power supply path to the orange LED element 107B1 is blocked by the switch element 152, so that the orange LED element 107B1 will not be turned on by mistake.
[0116] <Changes in Voltage VREFH of Power Supply 1>
[0117] Fig.12 1 is a diagram showing a portion of a driving cycle of an output voltage VREFH of a power supply 1 and a periodic PWM signal 1 and a PWM signal 2. Fig.12 In the diagram, the horizontal axis represents time, and the vertical axis represents the voltage value of the output voltage VREFH and the signal levels (ON and OFF) of the PWM signal 1 and the PWM signal 2. ON is H (High) level, and OFF is L (Low) level.
[0118] Here, as an example, a case where the operation button 102 of the push-type input mechanism 100 - 1 is pushed will be described. Fig.12 The PWM signal 1 shown is a PWM signal output by the light control unit 121 to turn on the orange LED element 107B1 of the push-type input mechanism 100-1. In addition, since the timing of turning on and off of the three PWM signals 2 output by the light control unit 121 to turn on the white LED elements 107B2 of the push-type input mechanisms 100-2 to 100-4 is equal, Fig.12 , the PWM signal 2 outputted by the light emitting control unit 121 to the push-type input mechanism 100-2 is shown, and the PWM signal 2 outputted to the push-type input mechanisms 100-3 and 100-4 is omitted. In addition, the PWM signal 2 for driving the white LED element 107B2 of the push-type input mechanism 100-1 and the PWM signal 1 for driving the orange LED elements 107B1 of the push-type input mechanisms 100-2 to 100-4 are also omitted.
[0119] In addition, Fig.12 , the PWM signal 1 driving the orange LED element 107B1 of the push-type input mechanism 100-1 is shown to be turned on during the on-period (on-period Ton1), and the off-period (off-period Toff1). Similarly, the PWM signal 2 driving the white LED element 107B2 of the push-type input mechanism 100-2 is shown to be turned on during the on-period (on-period Ton2), and the off-period (off-period Toff2).
[0120] One cycle (drive cycle) of PWM signal 1 and PWM signal 2 is equal, the duty ratios of PWM signal 1 and PWM signal 2 are equal, and the timings at which PWM signal 1 and PWM signal 2 are turned on and off are different from each other. Fig.12 As an example, a case where one cycle (on period and off period) of PWM signal 1 and PWM signal 2 is 5 ms is shown. In addition, the duty ratio of PWM signal 1 and PWM signal 2 can be adjusted according to the required brightness, but here, as an example, the duty ratio is 85%.
[0121] As an example, the output voltage VREFH of the power source 1 is converted into 5V (output voltage 5V) from a power source such as a battery of a vehicle by a voltage converter, etc. The output voltage VREFH of the power source 1 is supplied to the control device 120, the LED elements 107B1 and 107B2 of the push-type input mechanisms 100-1 to 100-4, and the sensor 107C of the push-type input mechanisms 100-1 to 100-4, and thus varies due to the on and off of the LED elements 107B1 and 107B2.
[0122] like Fig.12 As shown, at time t0, both PWM signal 1 and PWM signal 2 are turned on. That is, the orange LED element 107B1 of the push-type input mechanism 100-1 and the three white LED elements 107B2 of the push-type input mechanisms 100-2 to 100-4 emit light. In this state, the output voltage VREFH is lower than 5V, for example, about 4.9V.
[0123] At time t1, when PWM signal 2 switches from on to off, the three white LED elements 107B2 of the push-type input mechanism 100-2 to 100-4 are turned off, that is, the output voltage VREFH rises because the current load becomes smaller. Here, in order to suppress the variation of the output voltage VREFH, the timing of switching on and off the three PWM signals 2 and PWM signal 1 is staggered. That is, the timing of switching on and off the three PWM signals 2 and PWM signal 1 is different from each other. However, the deviation of the timing of switching on and off the three PWM signals 2 and PWM signal 1 is a short time that cannot be recognized by human eyes.
[0124] At time t2, when PWM signal 1 switches from on to off while PWM signal 2 is off, the orange LED element 107B1 of the push input mechanism 100-1 turns off, so the output voltage VREFH further rises slightly and returns to 5V.
[0125] When the PWM signal 2 is switched from OFF to ON at time t3, the three white LED elements 107B2 of the push-type input mechanisms 100-2 to 100-4 are turned on, and thus the output voltage VREFH decreases.
[0126] At time t4, when the PWM signal 1 is switched from OFF to ON while the PWM signal 2 is ON, the orange LED element 107B1 of the push-type input mechanism 100 - 1 is turned on, and thus the output voltage VREFH further decreases slightly.
[0127] As described above, in the vehicle, the power supply is received from a power source such as a battery, and the amount of power supplied is limited. Therefore, the output voltage VREFH is subjected to voltage fluctuations due to the on and off of the LED elements 107B1 and 107B2. When the output voltage VREFH is subjected to voltage fluctuations, the voltage supplied to the magnetic sensor 107C is fluctuated, and the detection value obtained from the magnetic sensor 107C is fluctuated.
[0128] <Study on Comparative Push-Type Shifter>
[0129] Here, a comparative push-type shift device is studied. The comparative push-type shift device is a device that acquires (samples) a detection value from the magnetic sensor 107C at a given sampling period, and the given sampling period is not associated with the driving period for turning on and off the LED elements 107B1 and 107B2. When the driving period for turning on and off the LED elements 107B1 and 107B2 is different from the given sampling period for acquiring the detection value from the magnetic sensor 107C, the timing of acquiring the detection value of the magnetic sensor 107C deviates in the driving period as time passes. Therefore, the timing of acquiring the detection value of the magnetic sensor 107C is various timings such as the timing of turning on the LED elements 107B1 and 107B2, the timing of turning off the LED elements 107B1 and 107B2, or the timing of only one of the LED elements 107B1 and 107B2. In such a state, even if the push operation amount of the operation button 102 is constant, there is a concern that the detection value of the magnetic sensor 107C may vary when acquiring the value at a given sampling period. This is because the output voltage VREFH varies each time the detection value of the magnetic sensor 107C is acquired due to the voltage fluctuation of the output voltage VREFH.
[0130] There is a concern that the above-described deviation in the detection value of the magnetic sensor 107C in the comparative push-type shift device may lead to an erroneous determination of the switching state of the operation button 102 .
[0131] Therefore, in the push-type shift device 10 of the embodiment, the sensor control unit 122 acquires the detection value of the magnetic sensor 107C at the timing described below in order to obtain the detection value of the magnetic sensor 107C with stable accuracy even if the voltage fluctuation occurs in the output voltage VREFH. This suppresses the erroneous determination of the switching state of the operation button 102.
[0132] <Timing at which the Sensor Control Unit 122 Acquires the Detection Value of the Magnetic Sensor 107C>
[0133] The sensor control unit 122 Fig.12In the illustrated repetition period Tr of the on period Ton1 and the on period Ton2, the detection value of the magnetic sensor 107C is acquired at time t5 after a predetermined time T1 has elapsed from time t4 when the LED element 107B1 is turned on later than the LED element 107B2.
[0134] The detection value of the magnetic sensor 107C is acquired during the repetition period Tr because both the LED elements 107B1 and 107B2 are turned on and the output voltage VREFH is stable. In addition, the detection value of the magnetic sensor 107C is acquired at time t5, which is a given time T1 after the time t4 when the LED element 107B1 is turned on later than the LED element 107B2. This is because the output voltage VREFH fluctuates immediately after the LED element 107B1 is turned on, so when the output voltage VREFH stabilizes after a period of time, the detection value of the magnetic sensor 107C is acquired with stable accuracy. The given time T1 only needs to be longer than the time required from the time when the LED element 107B1 is turned on until the output voltage VREFH stabilizes, and within the time when the LED element 107B2 is turned off. That is, the predetermined time T1 only needs to be less than the time from time t4 when the LED element 107B1 is turned on later than the LED element 107B2 to time t1 when the PWM signal 2 is switched from on to off in the next drive cycle.
[0135] In addition, the detection value of the magnetic sensor 107C is obtained during the repeated period Tr when the LED elements 107B1 and 107B2 are both turned on. This is because the duty cycle of the PWM signal 1 and the PWM signal 2 is relatively large, and the on periods Ton1 and Ton2 in one driving cycle are longer than the off periods Toff1 and Toff2. Therefore, the detection value of the magnetic sensor 107C can be obtained more stably and reliably during the repeated period Tr of the longer on periods Ton1 and Ton2.
[0136] In addition, here, the method of obtaining the detection value of the magnetic sensor 107C during the repeated period Tr when the LED elements 107B1 and 107B2 are both turned on is described, but the detection value of the magnetic sensor 107C can also be obtained at the timing when the output voltage VREFH is stable based on the on / off Duty of the PWM1 signal and the PWM2 signal. In addition, the detection value of the magnetic sensor 107C can also be obtained during the period when the LED elements 107B1 and 107B2 are both turned off. This is because the output voltage VREFH is stable during the period when the LED elements 107B1 and 107B2 are both turned off, and the detection value of the magnetic sensor 107C can also be stably obtained.
[0137] <Setting the Timing of Acquiring Detection Values>
[0138] In the push-type shift device 10 of the embodiment, in order to obtain the detection value of the magnetic sensor 107C at time t5, a process for notifying the sensor control unit 122 of the timing of obtaining the detection value of the magnetic sensor 107C through interrupt processing is added to the process table for managing the processing of the light emitting control unit 121 turning on the LED elements 107B1 and 107B2 in sequence.
[0139] Fig.13 : is a figure which shows an example of the process table of the light emission control part 121. The process table of the light emission control part 121 is the data of the table format which stores the process (Description) which the light emission control part 121 performs in one driving cycle.
[0140] As an example, the process table of the light emitting control unit 121 includes five channels (Channel), and in channel 0 (Channel 0), for a push-type input mechanism (any one of 100-1 to 100-4) including one push-operated operation button 102, a process (Description) of driving the switch element 151 by PWM signal 1 is registered. In addition, for a push-type input mechanism (the remaining three of 100-1 to 100-4) including three push-operated operation buttons 102, a process of driving the switch element 153 by three PWM signals 2-1 to 2-3 is registered. Here, for the convenience of explanation, the three PWM signals 2 are divided into PWM signals 2-1 to 2-3 and shown.
[0141] In addition, in Channel 4, an interruption process (Sensor Read) is registered for notifying the sensor control unit 122 of the timing of acquiring the detection value of the magnetic sensor 107C. Such an interruption process can be registered in a vacant channel in the process table of the light control unit 121. The interruption process for notifying the sensor control unit 122 of the timing of acquiring the detection value of the magnetic sensor 107C is set to Fig.12 The notification may be made at the time t5 shown.
[0142] In this way, if the interrupt processing of the sensor control unit 122 for obtaining the detection value of the magnetic sensor 107C is notified at a timing, and is added to the process table of the light emitting control unit 121, the light emitting control unit 121 repeatedly executes the interrupt processing of channel 4 in each driving cycle, so that the sensor control unit 122 can interrupt the detection value of the magnetic sensor 107C in each driving cycle. Fig.12 At the timing corresponding to the time t5 shown, the detection value of the magnetic sensor 107C is acquired.
[0143] In addition, the process table of the actual light emission control unit 121 includes information other than the channel (Channel) and the process (Description), but it is omitted here.
[0144] <Flowchart>
[0145] Fig.14 1 is a flowchart showing the processing executed by the light control unit 121 and the sensor control unit 122 of the control device 120. Here, the processing executed by the light control unit 121 and the sensor control unit 122 in each driving cycle is described. In addition, here, as an example, a case where the operation button 102 of the push-type input mechanism 100-1 is pushed is described.
[0146] When the process starts, the light control unit 121 drives the three switch elements 153 of the push input mechanisms 100-2 to 100-4 with three PWM signals 2-1 to 2-3 according to the process (Description) of channel 1-3 (step S1). As a result, the three white LED elements 107B2 of the push input mechanisms 100-2 to 100-4 are turned on.
[0147] The light emission control unit 121 drives the switch element 151 of the push-type input mechanism 100-1 by the PWM signal 1 according to the process (Description) of the channel 0 (step S2). As a result, the orange LED element 107B1 of the push-type input mechanism 100-1 is turned on.
[0148] The light emission control unit 121 executes an interrupt process for notifying the sensor control unit 122 of the timing for acquiring the detection value of the magnetic sensor 107C, based on the process (Description) of the channel 4 (step S3 ).
[0149] The sensor control unit 122 is connected to the Fig.12 At the timing corresponding to the time t5 shown, the detection value of the magnetic sensor 107C is acquired (step S4). That is, the sensor control unit 122 acquires the detection value from the magnetic sensor 107C in synchronization with the drive cycle of the light emission control unit 121 for driving and controlling the LED elements 107B1 and 107B2.
[0150] The above process of steps S1 to S4 in one driving cycle is completed. The light emission control unit 121 and the sensor control unit 122 of the control device 120 repeatedly execute the process in each driving cycle. Fig.14 Processing shown.
[0151] <Effect>
[0152] The electronic device 50 includes: a magnetic sensor 107C connected to a power source 1; an LED element 107B1 connected to the power source 1; a sensor control unit 122 for controlling the magnetic sensor 107C; and a light control unit 121 for driving and controlling the LED element 107B1. The sensor control unit 122 acquires a detection value from the magnetic sensor 107C in synchronization with a driving cycle of the light control unit 121 for driving and controlling the LED element 107B1.
[0153] Therefore, in each driving cycle, a detection value can be acquired from the magnetic sensor 107C with stable accuracy while the output voltage VREFH of the power supply 1 is stable.
[0154] Therefore, it is possible to provide an electronic device 50 that can suppress the influence of the change of the power supply voltage VREFH and obtain the detection value of the magnetic sensor 107C with stable accuracy. In addition, it is possible to provide a push-type shift device 10 including the electronic device 50, which can suppress the influence of the change of the power supply voltage VREFH and obtain the detection value of the magnetic sensor 107C with stable accuracy.
[0155] Furthermore, the electronic device 50 further includes a switch element 151 connected between the LED element 107B1 and the light emission control unit 121 . The light emission control unit 121 drives the switch element 151 using the PWM signal 1 , thereby controlling the driving of the LED element 107B1 .
[0156] Since the drive control of the LED element 107B1 can be performed by PWM control based on the PWM signal 1, the current flowing through the LED element 107B1 can be controlled to be constant current, and the brightness can be kept constant.
[0157] Furthermore, the sensor control unit 122 acquires the detection value during the on-period Ton1 in which the LED element 107B1 is turned on during the drive cycle in which the light emitting control unit 121 performs drive control of the LED element 107B1. Therefore, it is possible to provide an electronic device 50 that can suppress the influence of the variation of the power supply voltage VREFH while the power supply voltage VREFH is stable during the on-period Ton1 of the LED element 107B1, and acquire the detection value of the magnetic sensor 107C with stable accuracy.
[0158] Furthermore, within the on-period Ton1, the sensor control unit 122 acquires the detection value at time t5 after a predetermined time T1 has elapsed since the light emission control unit 121 turned on the LED element 107B1. By leaving the predetermined time T1 after the LED element 107B1 is turned on, the fluctuation of the power supply voltage VREFH becomes stable, and by acquiring the detection value at a stable timing, the deviation of the detection value can be suppressed.
[0159] The electronic device 50 further includes a switch element 152 connected between the LED element 107B1 and the power source 1 . The light emission control unit 121 drives the switch element 151 by the PWM signal 1 and drives the switch element 152 by the switching signal to control the driving of the LED element 107B1 .
[0160] The switching element 152 between the power source 1 and the LED element 107B1 is switched on and off by a switching signal, so that current is supplied from the power source 1 to the LED element 107B1. Therefore, when each push-type input device 100 falls into an abnormal state that cannot be considered as a normal operation, the power supply path to the orange LED element 107B1 can be blocked by the switch element 152, so that the orange LED element 107B1 will not be turned on by mistake.
[0161] The electronic device 50 further includes an LED element 107B2 connected to the power source 1 and a switch element 153 connected between the LED element 107B2 and the light control unit 121. The light control unit 121 drives the switch element 153 using a PWM signal 2 to control the driving of the LED element 107B2.
[0162] Therefore, the light emission control unit 121 can simultaneously perform drive control of the LED elements 107B1 and 107B2 , and can provide a visual distinction to the operator through the light emission of the LED elements 107B1 and 107B2 .
[0163] Furthermore, the sensor control unit 122 acquires a detection value from the magnetic sensor 107C in synchronization with a drive cycle of the light emission control unit 121 for driving and controlling the LED element 107B1 and the LED element 107B2 .
[0164] Therefore, it is possible to provide the following electronic device 50: it is possible to obtain the detection value from the magnetic sensor 107C with stable accuracy in a state where the output voltage VREFH of the power source 1 is stable, in synchronization with the drive cycle for driving and controlling the LED element 107B1 and the LED element 107B2 for each drive cycle, and it is possible to obtain the detection value of the magnetic sensor 107C with more stable accuracy. In addition, it is possible to provide a push-type shift device 10 that includes the electronic device 50 that can suppress the influence of the change of the power supply voltage VREFH and obtain the detection value of the magnetic sensor 107C with stable accuracy.
[0165] Furthermore, the sensor control unit 122 acquires a detection value from the magnetic sensor 107C during a repetition period Tr in which the LED element 107B1 and the LED element 107B2 are turned on in a drive cycle in which the light emission control unit 121 controls the drive of the LED element 107B1 and the LED element 107B2 .
[0166] When the duty ratios of the PWM signal 1 and the PWM signal 2 for driving the LED element 107B1 and the LED element 107B2 are large, it is possible to stably acquire a detection value from the magnetic sensor 107C during the longer on-periods Ton1 and Ton2.
[0167] In addition, PWM signal 1 and PWM signal 2 are pulse width modulation signals for controlling the driving degree of LED element 107B1 and LED element 107B2, respectively, and switching signal is a switching signal for switching the supply and interruption of power from power source 1 to LED element 107B1. The current flowing through LED element 107B1 and LED element 107B2 can be controlled to be constant current, and the brightness can be kept constant.
[0168] Furthermore, since the timings at which the LED elements 107B1 and 107B2 are turned on by the PWM signal 1 and the PWM signal 2 are different from each other, the variation of the output voltage VREFH of the power supply 1 can be suppressed, and the output voltage VREFH of the power supply 1 can be stabilized earlier, and the detection value can be obtained from the magnetic sensor 107C more stably. In particular, when the number of push-type input mechanisms 100 is large, the variation of the output voltage VREFH of the power supply 1 accompanying the turning on and off of the LED element 107B2 is large, so the method of turning on the LED elements 107B1 and 107B2 by the PWM signal 1 and the PWM signal 2 at different timings is very effective.
[0169] The electronic device 50 includes a group of a plurality of LED elements 107B1, a switch element 151, a switch element 152, an LED element 107B2, and a switch element 153, and thus can correspond to a structure including a plurality of push-type input mechanisms 100. In addition, when the number of push-type input mechanisms 100 is large, the change of the output voltage VREFH of the power supply 1 accompanying the connection and disconnection of the LED element 107B2 becomes larger, so the effect of obtaining the detection value from the magnetic sensor 107C in synchronization with the drive cycle of the LED element 107B1 is more obvious. Therefore, even when the number of push-type input mechanisms 100 is large and the change of the output voltage VREFH of the power supply 1 is larger, the detection value can be obtained from the magnetic sensor 107C with stable accuracy according to each drive cycle.
[0170] The push-type shift device 10 includes: an operation button 102 that is pushed by an operator; a rubber dome 106A that gives a click feeling to the push operation; a slider 103 that slides in a given sliding direction in accordance with the push operation; a rotating body 105 that rotates in accordance with the sliding of the slider 103; a magnetic sensor 107C that is connected to a power source 1 and detects a measurement value corresponding to the rotation angle of the rotating body 105; an LED element 107B1 that is connected to the power source 1; a sensor control unit 122 that controls the magnetic sensor 107C; and a light control unit 121 that controls the driving of the LED element 107B1. The sensor control unit 122 acquires the detection value from the magnetic sensor 107C in synchronization with the driving cycle of the light control unit 121 that controls the driving of the LED element 107B1.
[0171] Therefore, in each driving cycle, in a state where the output voltage VREFH of the power supply 1 is stable, a detection value can be acquired from the magnetic sensor 107C with stable accuracy.
[0172] Therefore, it is possible to provide the push type shift device 10 which can suppress the influence of the fluctuation of the power supply voltage VREFH and can acquire the detection value of the magnetic sensor 107C with stable accuracy.
[0173] Furthermore, the push-type shift device 10 includes a group of the plurality of operation knobs 102 , the rubber dome 106A, the slider 103 , the rotating body 105 , the magnetic sensor 107C, and the LED element 107B1 , and can therefore cope with a structure including a plurality of operation knobs 102 .
[0174] The push-type shift device 10 includes an operation button 102 for selecting a shift position of a vehicle, and includes: a magnetic sensor 107C connected to a power source 1 to detect a measurement value corresponding to the operation position of the operation button 102; an LED element 107B1 connected to the power source 1; a sensor control unit 122 to control the magnetic sensor 107C; and a light control unit 121 to control the drive of the LED element 107B1. The sensor control unit 122 acquires the detection value from the magnetic sensor 107C in synchronization with the drive cycle of the light control unit 121 to control the drive of the LED element 107B1.
[0175] Therefore, in each driving cycle, in a state where the output voltage VREFH of the power supply 1 is stable, a detection value can be acquired from the magnetic sensor 107C with stable accuracy.
[0176] Therefore, it is possible to provide the push type shift device 10 which can suppress the influence of the fluctuation of the power supply voltage VREFH and can acquire the detection value of the magnetic sensor 107C with stable accuracy.
[0177] Furthermore, since a plurality of operation buttons 102 are provided for selecting a plurality of shift positions of the vehicle and a plurality of sets of magnetic sensors 107C and LED elements 107B1 are included corresponding to the plurality of operation buttons 102 , it is possible to cope with a structure including a plurality of operation buttons 102 .
[0178] <Modification>
[0179] As mentioned above, the electronic device 50 and the push-type shift device 10 (an example of a push-type input device and an electronic shifter) according to the embodiment have been described, but they may be modified as follows.
[0180] Instead of acquiring the detection value of the magnetic sensor 107C when the LED elements 107B1 and 107B2 are turned on, the detection value of the magnetic sensor 107C may be acquired when the LED elements 107B1 and 107B2 are turned off and the voltage VREFH is restored to 5V.
[0181] In the above description, the first load and the second load are described as the LED element 107B1 and the LED element 107B2 . However, at least one of the first load and the second load may not be an LED, but may be, for example, a motor, an electromagnet, or the like.
[0182] Furthermore, the above description has been given of a method in which the sensor control unit 122 acquires the detection value of the magnetic sensor 107C, but an electrostatic sensor, a piezoelectric sensor, a strain sensor, or the like may be used instead of the magnetic sensor 107C.
[0183] In addition, the above description has been given of a mode in which the push-type shift device 10 has a plurality of shift positions and has an operation button 102 corresponding to each shift position, but the push-type shift device 10 may also be a structure including only one operation button 102. For example, a structure may be provided in which two shift positions, a parking position and a driving position, can be operated by switching on and off one operation button 102. As an example, a structure may be provided in which the parking position is set when the operation button 102 is not pushed, and the driving position is switched when the operation button 102 is pushed.
[0184] As mentioned above, the electronic device, the push input device, and the electronic shifter according to the exemplary embodiments of the present disclosure have been described. However, the present disclosure is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.
[0185] In addition, the present international application claims the benefit of priority based on Japanese Patent Application No. 2022-074591 filed on April 28, 2022, the entire contents of which are incorporated herein by reference.
[0186] -Explanation of symbols-
[0187] 10 Push-type shift device (an example of a push-type input device, an example of an electronic shifter)
[0188] 50 Electronic equipment
[0189] 100, 100-1~100-4 Push-type input mechanism
[0190] 107B1 LED element (an example of the first load)
[0191] 107B2 LED element (an example of the second load)
[0192] 107C Magnetic sensor (an example of a sensor)
[0193] 120 Control device
[0194] 121 Lighting control unit
[0195] 122 Sensor control unit
[0196] 123 Switching determination unit
[0197] 151 Switching element (an example of the first switching element)
[0198] 152 Switching element (an example of the second switching element)
[0199] 153 Switching element (an example of a third switching element).
Claims
1. An electronic device, characterized in that: Include: Sensor, connected to power supply; a first load connected to the power supply; A sensor control unit, which controls the sensor; and a drive control unit for controlling the drive of the first load; The sensor control unit acquires a detection value from the sensor in synchronization with a drive cycle in which the drive control unit performs drive control of the first load.
2. The electronic device according to claim 1, characterized in that: The electronic device further includes: a first switching element connected between the first load and the drive control unit, The drive control unit drives the first switching element by a first drive signal, thereby performing drive control of the first load.
3. The electronic device according to claim 1, characterized in that: The sensor control unit acquires the detection value during an on-period in which the first load is turned on in a drive cycle in which the drive control unit performs drive control of the first load.
4. The electronic device according to claim 3, characterized in that: The sensor control unit acquires the detection value when a predetermined time required for the output voltage to be stabilized has elapsed since the drive control unit turned on the first load.
5. The electronic device according to claim 2, characterized in that: The electronic device further comprises: a second switch element connected between the first load and the power supply, The drive control unit drives the first switching element by the first drive signal and drives the second switching element by the second drive signal, thereby performing drive control of the first load.
6. The electronic device according to claim 5, characterized in that: The electronic device further comprises: a second load connected to the power supply; and a third switching element connected between the second load and the drive control unit, The drive control unit drives the third switching element by a third drive signal, thereby performing drive control of the second load.
7. The electronic device according to claim 6, characterized in that: The sensor control unit acquires a detection value from the sensor in synchronization with a drive cycle in which the drive control unit performs drive control of the first load and the second load.
8. The electronic device according to claim 7, characterized in that: The sensor control unit acquires a detection value from the sensor during an on-period in which the first load and the second load are turned on in a drive cycle in which the drive control unit performs drive control of the first load and the second load.
9. The electronic device according to claim 6, characterized in that: The first driving signal and the third driving signal are pulse width modulation signals for controlling the driving degrees of the first load and the second load, respectively. The second drive signal is a switching signal for switching between supply and interruption of electric power from the power source to the first load.
10. The electronic device according to claim 6, characterized in that: The first drive signal and the third drive signal turn on the first load and the second load at different timings.
11. The electronic device according to any one of claims 6 to 10, characterized in that: The electronic device includes a plurality of groups, each of which is a group of the first load, the first switching element, the second switching element, the second load, and the third switching element.
12. A push-type input device, characterized in that: Include: The switch is operated by pushing by the operator; a click-feeling imparting mechanism for imparting a click-feeling to the pushing operation; The slider slides in a given sliding direction along with the pushing operation; a rotating body, rotating along with the sliding of the slider; A sensor connected to a power source to detect a measurement value corresponding to a rotation angle of the rotating body; a first load connected to the power supply; A sensor control unit, which controls the sensor; and a drive control unit for controlling the drive of the first load; The sensor control unit acquires a detection value from the sensor in synchronization with a drive cycle in which the drive control unit performs drive control of the first load.
13. The push-type input device according to claim 12, characterized in that: The push-type input device includes a plurality of groups, which are the switch, the click-feeling mechanism, the slider, the rotating body, the sensor, and the first load.
14. An electronic shifter comprising a switch for selecting a shift position of a vehicle, characterized in that: The electronic shifter comprises: a sensor connected to a power source and detecting a measurement value corresponding to an operation position of the switch; a first load connected to the power supply; A sensor control unit, which controls the sensor; and a drive control unit for controlling the drive of the first load; The sensor control unit acquires a detection value from the sensor in synchronization with a drive cycle in which the drive control unit performs drive control of the first load.
15. The electronic shifter according to claim 14, characterized in that: The electronic shifter is provided with a plurality of switches for selecting a plurality of shift positions of the vehicle. The electronic shifter includes a plurality of groups corresponding to the plurality of switches, and the groups are groups of the sensors and the first loads.
