CN212546264U - Dynamic seat with music rhythm - Google Patents

Dynamic seat with music rhythm Download PDF

Info

Publication number
CN212546264U
CN212546264U CN202021620901.8U CN202021620901U CN212546264U CN 212546264 U CN212546264 U CN 212546264U CN 202021620901 U CN202021620901 U CN 202021620901U CN 212546264 U CN212546264 U CN 212546264U
Authority
CN
China
Prior art keywords
servo motor
pin
module
microprocessor
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202021620901.8U
Other languages
Chinese (zh)
Inventor
廖智舟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Liuzhou Railway Vocational Technical College
Original Assignee
Liuzhou Railway Vocational Technical College
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Liuzhou Railway Vocational Technical College filed Critical Liuzhou Railway Vocational Technical College
Priority to CN202021620901.8U priority Critical patent/CN212546264U/en
Application granted granted Critical
Publication of CN212546264U publication Critical patent/CN212546264U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A dynamic seat with music rhythm comprises a seat body, a servo motor, a cam and an electronic control module; the servo motor is arranged at the bottom of the seat body and connected with the cam; the electronic control module is arranged at the bottom of the seat body and comprises a music input module, a buffer amplification module, an analog-to-digital conversion module, a microprocessor module and a servo motor driver; the input end of the microprocessor module is connected with the music input module through the buffer amplification module and the analog-to-digital conversion module, the output end of the microprocessor module is connected with the servo motor through the servo motor driver, the output end of the servo motor is connected with the input end of the servo motor driver through the encoder, the servo motor driver is connected with three-phase alternating current, and the microprocessor module comprises a microprocessor, a power circuit, a reset circuit, a clock circuit and a starting mode selection circuit. The seat can realize that people personally experience the vibration which is the same as the music rhythm when listening to music, thereby enhancing the feeling of the music rhythm and improving the joyfulness brought by the music.

Description

Dynamic seat with music rhythm
Technical Field
The utility model relates to a seat, concretely relates to dynamic seat with music rhythm.
Background
The prior art has enabled the inductive chair to move up and down, or tilt left and right, back and forth, as well as rotate the chair. The prior art can also realize the seat with the music playing equipment, so that people can listen to music when sitting on the seat. However, the prior art does not perfectly combine music and seat movement, so that people lack the experience of music rhythm.
Disclosure of Invention
An object of the utility model is to provide a dynamic seat with music rhythm can let the people experience the vibration the same with music rhythm in person when listening the music on the seat to the reinforcing improves the joyful that the music brought to the impression of music rhythm.
The utility model adopts the technical proposal that: the utility model provides a dynamic seat with music rhythm, includes the seat body, and the seat bottom of seat body is passed through the steel column and is connected with the base, and the inside spring that is equipped with of steel column, its characterized in that: the music rhythm control device also comprises a servo motor, a cam and an electronic control module for extracting and driving the music rhythm;
the servo motor is arranged at the bottom of the seat plate of the seat body, and the output end of the servo motor is connected with the cam;
the electronic control module is arranged at the bottom of a seat plate of the seat body and comprises a music input module, a buffer amplification module, an analog-to-digital conversion module, a microprocessor module and a servo motor driver;
the input end of the microprocessor module is connected with the output end of the music input module through a buffer amplification module and an analog-to-digital conversion module, the buffer amplification module is used for amplifying a music signal received from the music input module and sending the amplified music signal into the analog-to-digital conversion module for analog-to-digital conversion, the output end of the microprocessor module is connected with the input end of a servo motor through a servo motor driver, the output end of the servo motor is connected with the input end of the servo motor driver through an incremental encoder built in the servo motor, the servo motor driver is externally connected with a three-phase alternating current power supply, the microprocessor module extracts the rhythm of the music signal and sends a PWM signal for controlling the servo motor to rotate to the servo motor driver so as to drive the cam to rotate and generate up-;
the microprocessor module comprises a microprocessor, a microprocessor power circuit, a microprocessor reset circuit, a microprocessor clock circuit and a microprocessor starting mode selection circuit.
The further technical scheme is as follows: one of the two signal wires of the music input module is connected with the signal wire connected with the mobile phone and the earphone, the other signal wire is connected with the ground wire connected with the mobile phone and the earphone, and the music input module sends the music signal transmitted to the earphone by the mobile phone to the buffering amplification module.
The further technical scheme is as follows: the buffer amplification module comprises a voltage isolation amplification chip U3 and a potentiometer RP1, wherein the voltage isolation amplification chip U3 is connected as follows:
a1 pin of a voltage isolation amplification chip U3 is connected with a signal line leading to an earphone through a music input module, a 2 pin of the voltage isolation amplification chip U3 is connected with a ground wire leading to the earphone through the music input module, a 4 pin and a 5 pin of the voltage isolation amplification chip U3 are correspondingly connected with the anode and the cathode of a 5V power supply respectively, an 8 pin of a voltage isolation amplification chip U3 is connected with the ground of an analog-to-digital conversion module circuit, an 11 pin of a voltage isolation amplification chip U3 is connected with a voltage input end Vin of the analog-to-digital conversion module circuit, a 9 pin of the voltage isolation amplification chip U3 is connected with one end of a potentiometer RP1, a 10 pin of the voltage isolation amplification chip U3 is connected with the middle end of a potentiometer RP 68, and the rest end of the potentiometer RP.
The further technical scheme is as follows: the analog-to-digital conversion module adopts a V/F conversion circuit, the circuit comprises a V/F conversion chip U4, an integrating capacitor CINT, a filter capacitor CREF, a potentiometer RP2, a resistor R2, a resistor R3, a differential mode input resistor Rin, a bias resistor RBIAS and a load resistor RL1, and the V/F conversion chip U4 is connected as follows:
a pin 1 of the V/F conversion chip U4 is connected with a pin 4 of the V/F conversion chip U4 through a bias resistor RBIAS and is connected with the cathode of a 5V power supply in parallel;
the pin 2 of the V/F conversion chip U4 is grounded through a resistor R3, the pin 2 of the V/F conversion chip U4 is simultaneously connected with one end of the resistor R2, the other end of the resistor R2 is connected with the middle end of a potentiometer RP2, one end of the potentiometer RP2 is connected with the anode of a 5V power supply, and the rest end of the potentiometer RP2 is connected with the cathode of the 5V power supply;
a pin 3 of the V/F conversion chip U4 is connected with a voltage input end Vin through a differential mode input resistor Rin, namely, a pin 11 connected with a voltage isolation amplification chip U3, a pin 3 of the V/F conversion chip U4 is simultaneously connected with a pin 5 of the V/F conversion chip U4 through a filter capacitor CREF, and is connected with a pin 12 and a pin 11 of the V/F conversion chip U4 through an integrating capacitor CINT;
the pin 6 of the V/F conversion chip U4 is grounded;
the 7-pin of the V/F conversion chip U4 is connected with the cathode of a 5V power supply;
the pin 8 of the V/F conversion chip U4 is connected with the anode of a 5V power supply through a load resistor RL1 and simultaneously connected with the pin 11 of the microprocessor, and a frequency digital signal which is in direct proportion to the signal voltage is transmitted to the microprocessor;
the pin 9 of the V/F conversion chip U4 is grounded;
the 14 pins of the V/F conversion chip U4 are connected with the anode of a 5V power supply.
The further technical scheme is as follows: the servo motor driver is connected with the following circuits:
the main power supply terminal R, S, T of the servo motor driver is connected with three-phase 200-230V alternating current, and the U, V, W three-phase output and grounding pin of the servo motor driver are respectively connected with the corresponding pins of the servo motor power supply and are used for controlling the power supply of the servo motor;
the 14 pins of the control signal end of the servo motor driver CN1 are connected with the 14 pins of the microprocessor and are used for receiving PWM pulse signals which are output by the microprocessor and used for controlling the rotation of the servo motor;
the 16 pins of the servo motor driver are connected with the 16 pins of the microprocessor and used for receiving the servo motor steering signal output by the microprocessor;
pins 15 and 17 of the servo motor driver are grounded;
the CN2 of the servo motor driver is connected with an incremental encoder in the servo motor, and the incremental encoder is used for feeding back the rotation position of the servo motor to the servo motor driver.
The further technical scheme is as follows: the microprocessor adopts STM32F103, the voltage isolation amplification chip U3 adopts an ISO U1-P3-O4 chip, the V/F conversion chip adopts a TC9401 chip, the servo motor driver adopts an east-element TSTE20C servo driver, and the servo motor adopts a TSB08751C-2BT-3 type servo motor.
Since the technical scheme is used, the utility model relates to a dynamic seat with music rhythm has following beneficial effect:
1. the supporting structure of the seat is supported by a single steel column with a spring, the spring can correspondingly stretch when the pressure on the seat changes, and the seat can also change in height along with the spring; a servo motor is fixed on a support seat plate below the seat, a cam with larger mass is arranged on a motor shaft, and when the motor rotates for a circle, the cam is driven to rotate for a circle; because the gravity center of the cam is not positioned at the rotation center, the gravity center can vibrate up and down during rotation, the pressure acting on the spring also changes, and the whole seat can vibrate once. When a music rhythm exists, the music input module sends a music signal transmitted to the earphone by the mobile phone to the buffer amplification module, the audio signal after buffer amplification is subjected to analog-to-digital conversion, the average energy of the audio analog signal in each fixed time period is represented by digital quantity by the analog-to-digital conversion module, a V/F conversion (voltage/frequency conversion) circuit of the analog-to-digital conversion module can convert a voltage signal into a frequency signal in direct proportion to the average energy, the analog-to-digital conversion module outputs the frequency digital signal to the microprocessor, the microprocessor runs a program to receive the signal and calculates and identifies rhythm points in real time, each identified music rhythm point can start a timer in the microprocessor to work in time, the timer sends 10000 cycles of PWM waves to the servo motor driver according to the set frequency, and the servo motor driver controls a three-phase power supply to the servo motor by adjusting the PWM waves according to the received PWM pulse signals, make 10000 pulses just in time can drive servo motor and rotate the round, drive the cam when servo motor rotates, will produce the vibration, and this vibration is unanimous with the music rhythm to give people and bring strong music rhythm to experience.
2. The application adopts the STM32F103 microprocessor as a processing module for extracting and driving the music rhythm, the processor uses a high-performance ARM Cortex-M32 RSIC inner core, a high-speed large-capacity memory is arranged in the processor, and the processor has abundant enhanced I/O ports, is lower in cost than a common computer and is high in cost performance.
3. The buffer amplification module mainly comprises an ISO U1-P3-O4 chip of a Shuyuan company, and a potentiometer of the buffer amplification module is adjusted to amplify music signals of about 100mV by 10 times to reach about 1V, so that the signals are conveniently sent to the analog-to-digital conversion module to be subjected to V/F conversion (voltage/frequency conversion); in addition, the chip adopts a resistance-capacitance coupling mode to effectively eliminate noise interference.
4. The east-element TSB08751C-2BT-3 type servo motor and the east-element TSTE20C servo driver are adopted, the east-element TSTE20C servo driver is simple and practical in appearance, and has the functions of torque, speed, position, point-to-point positioning and mixed mode switching.
5. The music rhythm extraction algorithm can accurately extract the music rhythm, occupies less hardware resources, and is convenient for running programs on the microprocessor.
The technical features of a dynamic seat with music rhythm according to the present invention will be further described with reference to the accompanying drawings and embodiments.
Drawings
Fig. 1 is a schematic structural view of a dynamic seat with music rhythm according to the present invention;
FIG. 2 is a functional block diagram of an electronic control module (including a servo motor);
FIG. 3 is a circuit schematic of the electronic control module;
FIG. 4 is a schematic diagram of a microprocessor power supply circuit;
FIG. 5 is a schematic diagram of a microprocessor clock circuit;
FIG. 6 is a schematic diagram of a microprocessor reset circuit;
FIG. 7 is a schematic diagram of a microprocessor start-up mode selection circuit;
FIG. 8 is a schematic circuit diagram of a buffer amplifier module;
FIG. 9 is a schematic circuit diagram of an analog-to-digital conversion module;
FIG. 10 is a schematic circuit diagram of the servo motor driver connected to the servo motor;
fig. 11 is a flowchart of music tempo extraction;
fig. 12 is a flowchart of music tempo driving.
In the figure:
the seat comprises a seat body 1, a servo motor 2, a cam 3, a spring 4, a servo motor driver 5 and an electronic control module 6.
Detailed Description
Example (b):
a dynamic seat with music rhythm comprises a seat body 1, a servo motor 2, a cam 3 and an electronic control module 6 for extracting the music rhythm and driving the servo motor; the bottom of a seat plate of the seat body is connected with the base through a steel column, a spring 4 is arranged in the steel column, the seat body achieves automatic height adjustment through the extension and retraction of the spring, the servo motor adopts a TSB08751C-2BT-3 type servo motor, the servo motor is installed at the bottom of the seat plate of the seat body, the output end of the servo motor is connected with a cam, the mass of the cam is about 4KG, and therefore when the motor rotates for one circle, the cam is driven to rotate for one circle, and because the gravity center of the cam is not at the rotation center, the gravity center can vibrate up and down during rotation, the pressure acting on the spring also changes, and the whole seat can vibrate once; the vibration is generated when the music rhythm exists, and the vibration is consistent with the music rhythm; because the cam has proper mass, the generated vibration can be clearly felt by people, but the seat plate of the seat can not be pressed to be inclined;
the electronic control module is arranged at the bottom of a seat plate of the seat body, can also be arranged on a back plate of the seat body according to requirements, and comprises a music input module, a buffer amplification module, an analog-to-digital conversion module, a microprocessor module and a servo motor driver 5;
the input end of the microprocessor module is connected with the output end of the music input module through a buffer amplification module and an analog-to-digital conversion module, the buffer amplification module is used for amplifying a music signal received from the music input module and sending the amplified music signal into the analog-to-digital conversion module for analog-to-digital conversion, the output end of the microprocessor module is connected with related pins of a servo motor driver, the output end of the servo motor is connected with related pins of the servo motor driver through an incremental encoder arranged in the servo motor, the servo motor driver is arranged at the bottom of a seat plate of the seat body and positioned at the other side of the servo motor to ensure the balance of the seat body, and the input end of the servo motor driver is externally connected with a three;
the microprocessor module determines a music rhythm point by finding out a maximum value point of the frequency within 1 second, sends a PWM signal for controlling the servo motor to rotate to the servo motor driver at the rhythm point moment in real time, and the servo motor driver controls the servo motor to drive the cam to rotate and generate vertical oscillation synchronous with the rhythm point;
the microprocessor module comprises a microprocessor, a microprocessor power circuit, a microprocessor reset circuit, a microprocessor clock circuit and a microprocessor starting mode selection circuit;
the microprocessor adopts an STM32F 103;
the microprocessor power circuit comprises a voltage stabilizing chip U1, a voltage stabilizing chip U2, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a diode D1, an inductance coil L1, a resistor R1 and a laser diode LD, wherein the voltage stabilizing chip U1 adopts an LM25 2576T 5.0 chip, the voltage stabilizing chip U2 adopts an AMS 11173.3 chip, the diode D1 is an MBR360, and the microprocessor power circuit is connected as follows:
the 1 pin of the voltage stabilizing chip LM 2576T.0 is connected with the anode of a 12V power supply, the 2 pin of the voltage stabilizing chip LM2576T 5.0 is connected with the anode of the 5V power supply through an inductance coil L1, the 3 pin of the voltage stabilizing chip LM 2576T.0 is grounded, the 4 pin of the voltage stabilizing chip LM 2576T.0 is connected with a joint between the inductance coil L1 and the anode of the 5V power supply and then connected with one end of a capacitor C4, the other end of the capacitor C4 is connected with the 5 pin of the voltage stabilizing chip LM 2576T.0 and connected with the cathode of the 12V power supply, the cathode of the 12V power supply is grounded, the potential at the joint is 0, the two ends of the capacitor C3 are respectively connected with the 1 pin and the 3 pin of the voltage stabilizing chip LM 2576T.0, the anode of the diode MBR360 is connected with the 5 pin of the voltage stabilizing chip LM 2576T.0, and the cathode of the diode MBR360 is connected with the 2 pin of the voltage stabilizing;
the working principle of the voltage stabilizing chip LM2576T 5.0.0 is as follows:
the voltage stabilizing chip LM2576T 5.0.0 internally comprises a 52kHz oscillator, a 1.23V reference voltage stabilizing circuit, a thermal shutdown circuit, a current limiting circuit, an amplifier, a comparator, a voltage dividing resistor network, an internal voltage stabilizing circuit and the like. In order to generate stable output voltage, the negative end of the comparator is connected with reference voltage, the positive end of the comparator is connected with a voltage dividing resistor network, the output voltage of the voltage dividing resistor network is compared with an internal reference stable voltage value, if the voltage has deviation, the output duty ratio of an internal oscillator is controlled by an amplifier, and therefore the output voltage is kept stable at 5V;
a pin 1 of the voltage stabilizing chip AMS 11173.3 is connected with a 5V power supply anode, a pin 2 of the voltage stabilizing chip AMS 11173.3 is grounded, a pin 3 of the voltage stabilizing chip AMS 11173.3 is connected with a 3.3V power supply anode, and is simultaneously connected with a pin 47 of the microprocessor STM32F103 to serve as the working power supply voltage of the microprocessor STM32F103, a capacitor C1 and a capacitor C2 are connected between the pin 2 and the pin 3 of the voltage stabilizing chip AMS 11173.3 in parallel, one end of a resistor R1 is connected with the pin 3 of the voltage stabilizing chip AMS 11173.3, the other end of the resistor R1 is connected with the anode of the laser diode LD, and the cathode of the laser diode LD is;
working principle of the voltage stabilizing chip AMS 11173.3 is as follows:
the voltage stabilizing chip AMS 11173.3 belongs to a low-leakage voltage regulator, a low-voltage regulating tube in the voltage stabilizing chip AMS 11173.3 consists of a PNP driven NPN tube, the regulating tube samples output voltage and feeds the output voltage back to a regulating circuit to regulate the impedance of a regulating tube of an output stage, when the output voltage is low, the impedance of the output stage is regulated to be reduced so as to reduce the voltage drop of the regulating tube, and when the output voltage is high, the impedance of the output stage is regulated to be increased so as to increase the voltage drop of the regulating tube so as to maintain the output voltage to be stabilized at 3.3V;
after the voltage of the voltage stabilizing chip LM2576T 5.0.0 is reduced, the 5V power supply has larger pulsation and poorer stability, and a stable 3.3V and high-quality direct-current power supply can be obtained after the voltage is reduced by the AMS 11173.3 chip; the 12V power supply is a common general power supply on the market, and many general lead storage batteries are 12V, so that the voltage is required to be reduced from 12V to 5V and then to be reduced to 3.3V, but is not directly reduced from 5V to 3.3V;
the microprocessor reset circuit comprises a switch S1, a resistor R4 and a capacitor C5, wherein one end of the resistor R4 is connected with the positive electrode of a VDD power supply, the other end of the resistor R4 is grounded through a capacitor C5, a connection point between the resistor R4 and the capacitor C5 is connected with a pin 7 of a microprocessor STM32F103, namely a reset pin NRST, and two contacts of the switch S1 are respectively connected with two ends of a capacitor C5; the microprocessor reset circuit is used for restoring the microprocessor to an initial state;
the microprocessor clock circuit comprises an external crystal oscillator circuit and a real-time clock circuit,
the external crystal oscillator circuit comprises a crystal oscillator Y1, a capacitor C6 and a capacitor C7, wherein a pin 1 of the crystal oscillator Y1 is connected with a pin 5 of the microprocessor STM32F103 and is grounded through a capacitor C6, and a pin 2 of the crystal oscillator Y1 is connected with a pin 6 of the microprocessor STM32F103 and is grounded through a capacitor C7; the frequency of the external crystal oscillator circuit is 8MHz passive crystal oscillator, and a hardware time sequence is provided for the microprocessor STM32F 103;
the real-time clock circuit comprises a crystal oscillator Y2, a capacitor C8 and a capacitor C9, wherein a pin 1 of the crystal oscillator Y2 is connected with a pin 3 of the microprocessor STM32F103 and is grounded through a capacitor C8, and a pin 2 of the crystal oscillator Y2 is connected with a pin 4 of the microprocessor STM32F103 and is grounded through a capacitor C9; the real-time clock circuit is 32.768kHz and provides a crystal oscillator for the real-time clock of the microprocessor STM32F 103;
the microprocessor starting mode selection circuit comprises a switch S2, a switch S3, a resistor R5 and a resistor R6, wherein the switch S2 is a single-pole three-throw switch, a moving contact 2 of the switch is connected with a pin 20 of a microprocessor STM32F103 through a resistor R5, namely the moving contact is connected with a pin Boot1, a static contact 1 of the switch is connected with a positive pole of a VDD power supply, a static contact 3 is suspended, and a static contact 4 is grounded;
the switch S3 is a single-pole double-throw switch, the moving contact 2 is connected with the pin 44 of the microprocessor STM32F103 through a resistor R6, namely connected with the pin Boot0, one of the two static contacts is connected with the positive pole of a VDD power supply, and the other is grounded;
different Boot modes are selected through different level selections of Boot0 and Boot1 pins:
boot0=0 and Boot1= x, user flash is selected as Boot area;
boot0=1 and Boot1=0, and the user memory is selected as a Boot area;
boot0=1 and Boot1=1, the user SRAM being selected as the Boot sector;
generally, a user memory is selected as a starting area;
the microprocessor receives and calculates the average frequency of the input signal from the I/O interface by running a program in a mode of averaging 5 times per second, then obtains a frequency maximum value by comparison, takes the occurrence time point of the maximum value as a rhythm point, and outputs a rotation control signal to the servo motor driver through other I/O interfaces when the rhythm point occurs in time;
one of the two signal wires of the music input module is connected with the signal wire connected with the mobile phone and the earphone, the other signal wire is connected with the ground wire connected with the mobile phone and the earphone, and the music input module sends the music signal transmitted to the earphone by the mobile phone to the buffering amplification module;
the buffer amplification module comprises a voltage isolation amplification chip U3 and a potentiometer RP1, wherein the voltage isolation amplification chip U3 adopts an ISO U1-P3-O4 chip, and the ISO U1-P3-O4 chip is connected as follows:
a 1 pin of a voltage isolation amplification chip ISO U1-P3-O4 is connected with a signal line leading to an earphone, a 2 pin of the voltage isolation amplification chip ISO U1-P3-O4 is connected with a ground wire leading to the earphone from a music input module, 4 pins and 5 pins of the voltage isolation amplification chip ISO U1-P3-O4 are respectively and correspondingly connected with the anode and the cathode of a 5V power supply, an 8 pin of the voltage isolation amplification chip ISO U1-P3-O4 is connected with the ground of an analog-to-digital conversion module circuit, an 11 pin of the voltage isolation amplification chip ISO U1-P3-O4 is connected with a voltage input end Vin of the analog-to-digital conversion module circuit, a 9 pin of the voltage isolation amplification chip ISO U1-P3-O4 is connected with one end of a potentiometer RP1, a 10 pin of the voltage isolation amplification chip ISO U9-P6862-O4 is connected with the middle end of a potentiometer RP1, and the remaining middle end of the potentiometer RP1 is connected with; the voltage isolation amplification chip ISO U1-P3-O4 has the functions that the music signal received from the music input module can effectively eliminate noise interference through a photoelectric coupling isolation circuit in the chip, an internal amplifier is used for amplifying the music signal, a potentiometer connected with 9 pins and 10 pins can be adjusted to a proper amplification factor, and the amplified music signal is sent to an analog-to-digital conversion module;
the analog-to-digital conversion module adopts a V/F conversion circuit (a voltage/frequency conversion circuit), the circuit comprises a V/F conversion chip U4, an integrating capacitor CINT, a filter capacitor CREF, a potentiometer RP2, a resistor R2, a resistor R3, a differential mode input resistor Rin, a bias resistor RBIAS and a load resistor RL1, the V/F conversion chip adopts a TC9401 chip, and the V/F conversion chip TC9401 is connected as follows:
a pin 1 of the V/F conversion chip TC9401 is connected with a pin 4 of the V/F conversion chip TC9401 through a bias resistor RBIAS and is connected with a cathode of a 5V power supply; the bias resistor RBIAS has a current limiting function and provides bias current with proper magnitude for the internal amplifier of the chip;
the pin 2 of the V/F conversion chip TC9401 is grounded through a resistor R3, the pin 2 of the V/F conversion chip TC9401 is simultaneously connected with one end of a resistor R2, the other end of the resistor R2 is connected with the middle end of a potentiometer RP2, one end of the potentiometer RP2 is connected with the anode of a 5V power supply, and the rest end of the potentiometer RP2 is connected with the cathode of the 5V power supply; the resistor R2 has the function of limiting the magnitude of the zero-setting current, and the potentiometer RP2 has the function of setting the zero of the amplifier inside the chip;
the 3 pins of the V/F conversion chip TC9401 are connected with a voltage input end Vin through a differential mode input resistor Rin, namely, the 11 pins are connected with a voltage isolation amplification chip ISO U1-P3-O4, the 3 pins of the V/F conversion chip TC9401 are simultaneously connected with the 5 pins of the V/F conversion chip TC9401 through a filter capacitor CREF, and are connected with the 12 pins and the 11 pins of the V/F conversion chip TC9401 through an integrating capacitor CINT;
the differential mode input resistor Rin plays a role in limiting the magnitude of an input current signal so as to enable the input current signal to be within the current processing range of the chip;
the filter capacitor CREF plays a role of storing charges during forward charging;
the integration capacitor CINT plays a role in storing charges during reverse charging;
6 pins of the V/F conversion chip TC9401 are grounded;
the 7 pins of the V/F conversion chip TC9401 are connected with the cathode of a 5V power supply;
the pin 8 of the V/F conversion chip TC9401 is connected with the anode of a 5V power supply through a load resistor RL1 and is simultaneously connected with the pin 11 of the microprocessor STM32F103, and a frequency digital signal which is in direct proportion to the signal voltage is transmitted to the microprocessor STM32F 103;
the 9 pins of the V/F conversion chip TC9401 are grounded;
the 14 pins of the V/F conversion chip TC9401 are connected with the anode of a 5V power supply;
the V/F conversion chip TC9401 is internally divided into an analog part and a digital part, and mainly comprises: the circuit adopts a charge balance type V/F conversion principle to complete analog-to-digital conversion, and the working principle is as follows:
the input voltage is firstly converted into an input current Iin through a differential mode input resistor Rin, and then is charged into an integrating capacitor CINT to become a charge Q1 (Q1 = CINT Vin), and the polarity is positive at the bottom and negative at the top; a point a is switched on by a switch in the chip, and a-5V reference voltage VREF charges a filter capacitor CREF in a reverse direction through the switch to form a charge Q2 (Q2 = CREF VREF), wherein the polarity is positive at the top and negative at the bottom; the charge Q2 and the charge Q1 have opposite polarities, partial charge in the charge Q1 is neutralized by the charge Q2, the output voltage Vo of the chip internal integrating amplifier is in a linear descending trend, and the lower limit value of the output voltage Vo is set by a threshold detector inside the chip;
when the charging of the filter capacitor CREF is finished, a switch in the chip is switched on to a point b, the filter capacitor CREF is short-circuited, and the output of an integral amplifier in the chip passes through a zero point to prepare for next conversion;
when the output voltage Vo of the internal integrating amplifier of the chip is lower than the threshold voltage of the threshold detector, a positive jump from 0 value to VREF value is generated at the Vo end immediately;
when the input voltage Vin rises, the increment of the charges Q1-Q2 is a fixed value, the number of reference pulses required for maintaining the charge balance is increased, and the output frequency is always in direct proportion to the input voltage Vin;
the servo motor driver adopts an east-element TSTE20C servo driver, and the servo motor driver is connected with the following circuits:
a main power supply terminal R, S, T of the servo motor driver is connected with three-phase 200-230V alternating current, a U, V, W three-phase output and a grounding pin of the servo motor driver are respectively connected with corresponding pins of a servo motor power supply, and the servo driver can modulate and generate U, V, W three-phase power supply output for controlling the rotation of the servo motor according to the frequency of a PWM pulse signal received from the microprocessor, so that the motion of the servo motor is controlled;
a 14-pin control signal end of the servo motor driver CN1 is connected with a 14-pin of the microprocessor STM32F103, the microprocessor STM32F103 sends a PWM signal for controlling the rotation of the servo motor to the servo motor driver through an I/O interface (14-pin), and an internal timer with set frequency and PWM pulse number is used;
the value of a prescaler in the microprocessor is set to be 1, and the frequency of the universal clock 2 is 72MHz, so that the frequency of a PWM waveform output by using the universal timer 2 (which is one of several timers in the microprocessor) is 36 MHz; 10000 PWM pulses are needed for one circle of rotation of the servo motor, 2 rhythms exist at most within 1 second, and 20000 PWM pulses, namely 20KHz, need to be sent at most within one second. The PWM waveform frequency output by the general timer 2 of the microprocessor is more than 20KHz, which can meet the requirement, and the motor can rotate for a circle in a short time, so that two adjacent rhythm points are prevented from being mixed together; the servo driver receives the PWM pulses sent by the microprocessor STM32F103 and sends the PWM pulses to the servo motor;
the 16 pins of the servo motor driver are connected with the 16 pins of the microprocessor STM32F103 and used for receiving a servo motor steering signal output by the microprocessor STM32F103, and the servo motor is only required to rotate to one direction in the application, so that the microprocessor STM32F103 only needs to output a low level to the port;
the 15 pin and the 17 pin of the servo motor driver are reverse electrical levels, are not used and are grounded;
the CN2 port of the servo motor driver is connected with an incremental encoder in the servo motor, the incremental encoder is used for feeding back the rotating position of the servo motor to the servo motor driver, and the servo motor driver controls the servo motor to rotate after receiving a feedback signal to form closed-loop control so as to accurately control the rotating position and speed of the servo motor.
The STM32F103 microprocessor, the voltage stabilizing chip LM2576T 5.0.0, the voltage stabilizing chip AMS 11173.3, the voltage isolation amplifying chip ISO U1-P3-O4, the diode D1 MBR360, the V/F conversion chip TC9401, the east element TSTE20C servo driver, the TSB08751C-2BT-3 type servo motor, and capacitors, resistors, inductors and the like in all circuits are common electric devices in the market and are easy to purchase, and the structure diagrams of the internal circuits of the electric devices are known contents, and are not described herein again.
The invention discloses an algorithm for extracting and driving music rhythm by an electronic control module, which comprises the following steps:
1. music rhythm extraction: because 1-2 beats occur in 1 second of music beat, the requirement for the processing speed of beat signals is not high, so that the microprocessor divides 1 second into 5 equal time division points, respectively calculates the average energy of the signals for 200 milliseconds, and finds out the maximum value from the 5 sampling points to be output as the beat point. The hardware circuit adopts a low-frequency output strategy for V/F conversion of the audio signal, and indirectly converts the audio signal into the signal frequency by a method of measuring period in order to accurately measure the output signal frequency of the V/F. The system timing function is realized by utilizing the clock pulse and the high-speed counter which are carried in the microprocessor and counting the clock pulse through the high-speed counter. The signal period is measured by an accumulation method, namely: the number of pulses and the arrival times of the first and last pulses within 200 milliseconds are recorded. And calculating the average period of the signal in the period. In this way, the microprocessor only counts the number of pulses each time a hardware interrupt occurs. The cycle calculation is processed every 200 milliseconds, so that the load of the microprocessor is reduced. The signal period can be calculated by the following equation:
Figure 332023DEST_PATH_IMAGE001
wherein K is a time coefficient of the counter; pTAnd CTThe counting values of the counters when the first pulse and the last pulse arrive respectively; n is the number of pulses in 200 milliseconds, and the cycle measurement algorithm flow is as follows:
(1) initializing the number of pulses, and enabling N to be 0;
(2) recording the count value of the counter when the first pulse arrives, and recording the count value as PTSimultaneously, making N equal to 1;
(3) recording the count value of the counter at the arrival of the next pulse, denoted CTWhile letting N = N + 1;
(4) calculating the time difference tK = K×(CT-PT) If the result is less than 200 milliseconds, returning to the step (3) until K (C) is satisfiedT-PT) Not less than 200 millisecondsStopping counting, calculating the period by the equation
Figure 888906DEST_PATH_IMAGE002
. The measured period is converted to obtain the corresponding signal average frequency.
2. Music rhythm driving: generally, the rhythm point of the music signal is the moment when the maximum value of energy appears, and the obtained average frequency is in direct proportion to the energy in the period of time. Therefore, the rhythm extraction algorithm of the application is as follows: and comparing the maximum value of the frequency of the sampling point within a period of time to obtain a rhythm point. According to the characteristic that a rhythm point appears in about one second of music rhythm, a maximum value detected in 1 second is taken as the rhythm point to be output. The method specifically comprises the following steps: at some point, the frequency values of the 3 samples before it are compared. And if the frequency value is not less than the frequency value of the first 3 sampling points, the rhythm point is considered. Otherwise, postpone until next moment and compare. Since the sampling point is the average frequency of the signal over 200 milliseconds. The maximum error between the maximum value obtained from the sampling point and the actual frequency maximum value of the signal by using the algorithm is not more than 200 milliseconds at most, the delay is small, and the real-time property is improved.
The microprocessor uses the timer 2 immediately after determining a rhythm point, and 10000 PWM pulses with the frequency of 36MHz are sent to the control signal end of the servo driver CN1 through the I/O interface, and the waveform of the PWM pulses is square wave. The servo motor driver controls a three-phase power supply supplied to the servo motor by adjusting PWM (pulse width modulation) waves according to a received PWM pulse signal, 10000 pulses just can drive the servo motor to rotate for one circle, the servo motor rotates to drive the cam to rotate for one circle, and because the gravity center of the cam is not at the rotation center, the gravity center can vibrate up and down during rotation, and the pressure acting on the spring also changes, so that the whole seat can vibrate once; other tempo points are driven in the same way. Therefore, when a music rhythm exists, the seat can vibrate, the vibration is consistent with the music rhythm, and people can feel the music rhythm and improve the pleasure brought by music when sitting on the seat.

Claims (6)

1. The utility model provides a dynamic seat with music rhythm, includes seat body (1), and the seat bottom of seat body passes through the steel column and is connected with the base, and the steel column is inside to be equipped with spring (4), its characterized in that: the music rhythm control device also comprises a servo motor (2), a cam (3) and an electronic control module (6) for extracting and driving the music rhythm;
the servo motor is arranged at the bottom of the seat plate of the seat body, and the output end of the servo motor is connected with the cam;
the electronic control module is arranged at the bottom of a seat plate of the seat body and comprises a music input module, a buffer amplification module, an analog-to-digital conversion module, a microprocessor module and a servo motor driver (5);
the input end of the microprocessor module is connected with the output end of the music input module through a buffer amplification module and an analog-to-digital conversion module, the buffer amplification module is used for amplifying a music signal received from the music input module and sending the amplified music signal into the analog-to-digital conversion module for analog-to-digital conversion, the output end of the microprocessor module is connected with the input end of a servo motor through a servo motor driver, the output end of the servo motor is connected with the input end of the servo motor driver through an incremental encoder built in the servo motor, the servo motor driver is externally connected with a three-phase alternating current power supply, the microprocessor module extracts the rhythm of the music signal and sends a PWM signal for controlling the servo motor to rotate to the servo motor driver so as to drive the cam to rotate and generate up-;
the microprocessor module comprises a microprocessor, a microprocessor power circuit, a microprocessor reset circuit, a microprocessor clock circuit and a microprocessor starting mode selection circuit.
2. A kinetic seat having a musical tempo according to claim 1, wherein: one of the two signal wires of the music input module is connected with the signal wire connected with the mobile phone and the earphone, the other signal wire is connected with the ground wire connected with the mobile phone and the earphone, and the music input module sends the music signal transmitted to the earphone by the mobile phone to the buffering amplification module.
3. A kinetic seat having a musical tempo according to claim 2, wherein: the buffer amplification module comprises a voltage isolation amplification chip U3 and a potentiometer RP1, wherein the voltage isolation amplification chip U3 is connected as follows:
a1 pin of a voltage isolation amplification chip U3 is connected with a signal line leading to an earphone through a music input module, a 2 pin of the voltage isolation amplification chip U3 is connected with a ground wire leading to the earphone through the music input module, a 4 pin and a 5 pin of the voltage isolation amplification chip U3 are correspondingly connected with the anode and the cathode of a 5V power supply respectively, an 8 pin of a voltage isolation amplification chip U3 is connected with the ground of an analog-to-digital conversion module circuit, an 11 pin of a voltage isolation amplification chip U3 is connected with a voltage input end Vin of the analog-to-digital conversion module circuit, a 9 pin of the voltage isolation amplification chip U3 is connected with one end of a potentiometer RP1, a 10 pin of the voltage isolation amplification chip U3 is connected with the middle end of a potentiometer RP 68, and the rest end of the potentiometer RP.
4. A kinetic seat having a musical tempo according to claim 3, wherein: the analog-to-digital conversion module adopts a V/F conversion circuit, the circuit comprises a V/F conversion chip U4, an integrating capacitor CINT, a filter capacitor CREF, a potentiometer RP2, a resistor R2, a resistor R3, a differential mode input resistor Rin, a bias resistor RBIAS and a load resistor RL1, and the V/F conversion chip U4 is connected as follows:
a pin 1 of the V/F conversion chip U4 is connected with a pin 4 of the V/F conversion chip U4 through a bias resistor RBIAS and is connected with the cathode of a 5V power supply in parallel;
the pin 2 of the V/F conversion chip U4 is grounded through a resistor R3, the pin 2 of the V/F conversion chip U4 is simultaneously connected with one end of the resistor R2, the other end of the resistor R2 is connected with the middle end of a potentiometer RP2, one end of the potentiometer RP2 is connected with the anode of a 5V power supply, and the rest end of the potentiometer RP2 is connected with the cathode of the 5V power supply;
a pin 3 of the V/F conversion chip U4 is connected with a voltage input end Vin through a differential mode input resistor Rin, namely, a pin 11 connected with a voltage isolation amplification chip U3, a pin 3 of the V/F conversion chip U4 is simultaneously connected with a pin 5 of the V/F conversion chip U4 through a filter capacitor CREF, and is connected with a pin 12 and a pin 11 of the V/F conversion chip U4 through an integrating capacitor CINT;
the pin 6 of the V/F conversion chip U4 is grounded;
the 7-pin of the V/F conversion chip U4 is connected with the cathode of a 5V power supply;
the pin 8 of the V/F conversion chip U4 is connected with the anode of a 5V power supply through a load resistor RL1 and simultaneously connected with the pin 11 of the microprocessor, and a frequency digital signal which is in direct proportion to the signal voltage is transmitted to the microprocessor;
the pin 9 of the V/F conversion chip U4 is grounded;
the 14 pins of the V/F conversion chip U4 are connected with the anode of a 5V power supply.
5. A kinetic seat with a music rhythm according to claim 4, wherein: the servo motor driver is connected with the following circuits:
the main power supply terminal R, S, T of the servo motor driver is connected with three-phase 200-230V alternating current, and the U, V, W three-phase output and grounding pin of the servo motor driver are respectively connected with the corresponding pins of the servo motor power supply and are used for controlling the power supply of the servo motor;
the 14 pins of the control signal end of the servo motor driver CN1 are connected with the 14 pins of the microprocessor and are used for receiving PWM pulse signals which are output by the microprocessor and used for controlling the rotation of the servo motor;
the 16 pins of the servo motor driver are connected with the 16 pins of the microprocessor and used for receiving the servo motor steering signal output by the microprocessor;
pins 15 and 17 of the servo motor driver are grounded;
the CN2 of the servo motor driver is connected with an incremental encoder in the servo motor, and the incremental encoder is used for feeding back the rotation position of the servo motor to the servo motor driver.
6. A kinetic seat with a music rhythm according to claim 5, wherein: the microprocessor adopts STM32F103, the voltage isolation amplification chip U3 adopts an ISO U1-P3-O4 chip, the V/F conversion chip adopts a TC9401 chip, the servo motor driver adopts an east-element TSTE20C servo driver, and the servo motor adopts a TSB08751C-2BT-3 type servo motor.
CN202021620901.8U 2020-08-06 2020-08-06 Dynamic seat with music rhythm Active CN212546264U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021620901.8U CN212546264U (en) 2020-08-06 2020-08-06 Dynamic seat with music rhythm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021620901.8U CN212546264U (en) 2020-08-06 2020-08-06 Dynamic seat with music rhythm

Publications (1)

Publication Number Publication Date
CN212546264U true CN212546264U (en) 2021-02-19

Family

ID=74627563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021620901.8U Active CN212546264U (en) 2020-08-06 2020-08-06 Dynamic seat with music rhythm

Country Status (1)

Country Link
CN (1) CN212546264U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114362509A (en) * 2022-01-21 2022-04-15 珠海慧联科技有限公司 Dynamic voltage switching device, TWS chip and TWS equipment
CN114362509B (en) * 2022-01-21 2024-05-14 珠海慧联科技有限公司 Dynamic voltage switching device, TWS chip and TWS equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114362509A (en) * 2022-01-21 2022-04-15 珠海慧联科技有限公司 Dynamic voltage switching device, TWS chip and TWS equipment
CN114362509B (en) * 2022-01-21 2024-05-14 珠海慧联科技有限公司 Dynamic voltage switching device, TWS chip and TWS equipment

Similar Documents

Publication Publication Date Title
TW201236345A (en) Systems and methods for constant voltage mode and constant current mode in flyback power converters with primary-side sensing and regulation
CN108574410B (en) Realize the circuit and method of self-adaptable slop compensation quick high accuracy
CN212546264U (en) Dynamic seat with music rhythm
WO2023087905A1 (en) Compensation circuit for collecting phase delay of switch hall sensor, and control method thereof
CN111820649A (en) Dynamic seat with music rhythm
CN112498698A (en) Excitation circuit for ultrasonic icing detection and ultrasonic icing detector
CN113992075A (en) Compensation circuit for phase delay of brushless direct current motor and control method
CN206113951U (en) A integrated unit that observes and controls that is used for little tuning fork top of silicon
CN110243606B (en) Control device of oil quantity metering unit
CN111934672B (en) Counting circuit and chip
CN112497206B (en) Steering engine compensation control method and steering engine compensation circuit
CN201830219U (en) High-performance sawtooth wave generating circuit adopting digital circuit control
CN207860383U (en) The power assisting device of electric vehicle using motor and electric vehicle using motor
CN209805701U (en) Piezoelectric vibration disk controller
JPS6221989B2 (en)
CN210807074U (en) Voltage regulating circuit of photoelectric detector
CN212909460U (en) High-performance pulse signal processing circuit
JPS5820939Y2 (en) Potential fluctuation detection circuit
CN217486411U (en) potentiometer-PWM speed regulation circuit and DC brushless motor
WO2024061166A1 (en) Ultrasonic atomizer, and resonant-frequency determination method based on ultrasonic atomizer
CN213602624U (en) Excitation circuit for vibration sensor
JPS60224075A (en) Discharge monitor circuit
CN209982458U (en) Power supply management circuit with input voltage detection function
CN109895147B (en) Rotating speed control device of electric hair cutter and control method thereof
CN101102623A (en) Self-adapted vocalization method and device for power-driven vocalization device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant