CN102764475A - Impulse controller and control method thereof - Google Patents

Impulse controller and control method thereof Download PDF

Info

Publication number
CN102764475A
CN102764475A CN2012102757182A CN201210275718A CN102764475A CN 102764475 A CN102764475 A CN 102764475A CN 2012102757182 A CN2012102757182 A CN 2012102757182A CN 201210275718 A CN201210275718 A CN 201210275718A CN 102764475 A CN102764475 A CN 102764475A
Authority
CN
China
Prior art keywords
module
impulsion
sign
voice
signal
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.)
Pending
Application number
CN2012102757182A
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.)
Sichuan University
Original Assignee
Sichuan University
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 Sichuan University filed Critical Sichuan University
Priority to CN2012102757182A priority Critical patent/CN102764475A/en
Publication of CN102764475A publication Critical patent/CN102764475A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses an impulse controller and a control method thereof. The controller for detecting voice of a control object comprises a voice acquisition module, an impulse sign computing module and an impulse control module. The voice acquisition module is used for outputting signals to an input end of the impulse sign computing module, affective computing for the voice signals is performed in the impulse sign computing module, computing results are outputted to the impulse control module, and the impulse control module is used for controlling impulse under software control. The impulse control module is a voice playing module or a human stimulation module, earphones can be connected onto the voice playing module, and the impulse sign computing module is connected with an upper computer through a transmission module. The controller is used for monitoring the voice signals, the acquired voice signals are computed by the impulse sign computing module, and the impulse control module is started to control impulse after voice features are changed and exceed a specified threshold value. Besides, the controller can be used for intervening and controlling impulsive action, and is simple and practical.

Description

Impulsion controller and control method thereof
(1) technical field
The invention belongs to detection of electrons and control category, specifically is impulsion controller and control method thereof.
(2) background technology
Personal mood is as can not control causing not hoping that the phenomenon of seeing takes place, because individual's impulsion tends to cause unforeseen ill effect.The Health Psychology magazine was rolled up 592 pages-595 pages of the 5th phases in 2000 the 8th; Deng Zhixiang, Xu Xuejun have delivered " pupil's impulsive behavior intervention study newspaper ", have said the method for human intervention pupil impulsion; This method has adopted manual intervention control student impulsion, and usage range is limited.2006 the 14th volumes of China's Journal of Clinical Psychology the 5th phase 455-456 page or leaf, Zhou Liang, He Xiaoyan, Xiao Shuiyuan have delivered " the methodology problem that impulsion is measured ", introduced several kinds of methods that impulsion is measured, but the method for being introduced can not be measured in real time all.The generation of impulsion has instantaneity, and impulsion must be controlled in the moment of its generation.The present invention is used for when the generation of impulsion, finding impulsion, in time sends the controller that impulsion early warning and control impulsion take place, in order to avoid cause unnecessary consequence.
(3) summary of the invention
The purpose of this invention is to provide a kind of detection controller that can in time find and control impulsion in the moment that impulsion takes place.This instrument is caught the variation of emotion through gathering the variation of individual voice, monitors personal mood in real time, the generation of key monitoring individual impulsion, and send the signal suppressing impulsion, in order to avoid cause unnecessary loss and consequence.
The objective of the invention is to reach like this: controller is made up of impulsion signal acquisition module, impulsion signal analysis and processing module and impulsion control module three parts.The impulsion signals collecting is a voice acquisition module; The impulsion signal analysis and processing is an impulsion sign computing module; After voice acquisition module collects voice signal, signal is outputed to the input of impulsion sign computing module, in impulsion sign computing module, voice signal is carried out emotion and calculate; Result of calculation outputs to impulsion control, under software control by the control of getting excited of impulsion control module.
The impulsion control module is the speech play module, and the input of speech play module is connected the outfan of impulsion sign computing module, is connected with the phonetic speech power amplification module at the outfan of speech play module.
The impulsion control module is the human body stimulating module; The human body stimulating module is the Metal Ball of charged motivation; The outfan of impulsion sign computing module is connected on the input control end of motor; On shaft of motor, connect a spring, the other end of spring connects Metal Ball, and whole impulsion controller is placed in the soft cover.
The outfan of said speech play module installs earphone additional, is connected with change-over switch at the outfan of impulsion sign computing module, and the impulsion sign calculates to be controlled change-over switch according to emotion result of calculation.
The outfan of said speech play module installs earphone additional; The outfan that calculates at the impulsion sign is connected with change-over switch; The impulsion sign calculates to be controlled change-over switch and then the speech play module is controlled according to emotion result of calculation; Add wireless transport module, wire transmission module, keyboard input module and display module at impulsion sign computing module, wireless transport module, wire transmission module are connected with host computer respectively.
The voice coding chip UA1 of said voice acquisition module adopts the TLV320AIC23PW chip.
Said impulsion sign computing module is a DSP master chip circuit, and digital signal processing chip adopts the TMS320F2812 chip, on digital signal processing chip, is added with DSP reset circuit, DSP debugging and emulation interface.
Impulsion control is monitored voice signal; The voice signal of gathering carries out voice by impulsion sign computing module and calculates, and differentiates the value of energy E and average fundamental frequency P, when phonetic feature changes; Start the impulsion control module after the threshold value of overshoot, the control of getting excited.
The main program flow that impulsion is controlled is: after program begins, gather voice signal, impulsion sign computing module calculates voice, has judged whether the impulsion sign, is, the control of getting excited not, is returned and continued acquired signal calculating.
Impulsion sign computing module carries out the Program for Calculation flow process to voice and is: input speech signal s [n], and voice signal s [n] is carried out the branch frame handle, obtain branch frame signal x m[n], wherein, every frame signal length is N, the frame number is m in 1 second; Use the energy computing formula Divide frame signal calculating energy E to each mCalculate the average energy E of m frame signal in 5 seconds then, its computing formula is E=Σ E m/ m; When input speech signal being carried out the processing of branch frame, calculate the fundamental frequency R of every frame signal m: at first calculate the auto-correlation function of every frame signal, its computing formula is: its computing formula is:
, R m(k) be auto-correlation function, wherein the value of k is from 0 to N, obtains autocorrelation sequence [R m(1), R m(2) ... R m(N)], the value of j is 0 to N-k-1, and N is x mThe length of [n], m is the number of frame, seeks R then m(k) peak value R M_peak, two peak value R M_peakBetween distance be fundamental frequency; Then ask the average pitch frequency P of m frame signal in 5 seconds, computing formula does
Figure BDA0000197568943
Differentiate the value of energy E and average fundamental frequency P,, think that then the speaker has the impulsion sign if speech signal energy E surpasses preset threshold with average fundamental frequency P in 5 seconds.
Good effect of the present invention is:
1, can calculate personal mood through the individual voice messaging of monitoring, in time find the generation of impulsion, send signal and avoid impulsion, in order to avoid cause unnecessary loss.
2, controller is simple and practical, processing ease, and practical value is big.
(4), description of drawings
The get excited structural representation of control module controller when being the speech play module of Fig. 1.
The get excited structural representation of control module controller when being the human body stimulating module of Fig. 2.
Fig. 3 is the structural representation of controller when the speech play module is added with earphone.
Fig. 4 is that the outfan in the speech play module installs earphone additional, the structural representation of controller when impulsion sign computing module adds wireless transport module, wire transmission module, keyboard input module and display module.
Controller sketch map when Fig. 5 uses host computer.
Fig. 6 voice acquisition module circuit diagram.
Fig. 7-1 ~ Fig. 7-the 4th, impulsion sign computing module circuit diagram.
Fig. 8 is DSP reset circuit figure.
Fig. 9 is DSP debugging and emulation interface circuit diagram.
Figure 10 is the memory circuitry figure of DSP.
Figure 11 speech play module circuit diagram.
Figure 12 phonetic speech power amplification circuit diagram.
Figure 13 is a human body stimulating module structural representation.
Figure 14 is motor drive circuit figure in the human body stimulating module.
Figure 15 is switching switch circuit figure.
Figure 16 wireless transport module circuit diagram.
Figure 17 wire communication module circuit diagram.
Figure 18 keyboard input module circuit diagram.
Figure 19 display module circuit diagram.
Figure 20 controller main program flow chart.
Figure 21 sign calculation procedure flow chart of getting excited.
Among the figure, 1 motor, 2 motor rotary shafts, 3 springs, 4 Metal Ball.
(5) specific embodiment
The present invention adopts the judgement that whether the phonetic feature value of user is had the impulsion sign to the control of impulsion.Voice collecting is accomplished by voice acquisition module.Impulsion sign computing module is controlled the impulsion control module.By control module impulsive behavior is intervened, controlled.Control module can adopt several kinds of control modes.
What Fig. 1 provided is the mode that control module adopts the speech play module.After the signal of voice acquisition module collection was sent into the calculating of impulsion sign computing module, when the sign of finding to have impulsion, impulsion sign computing module sent voice reminder promptly to the speech play module controls.The phonetic speech power amplifier amplifies voice, strengthens inhibiting one's impulses.
What Fig. 2 adopted is that the impulsion control module is the mode of human body stimulating module.Whole impulsion controller is placed in the soft cover, is fixed on wrist or the arm.Figure 13,14 has provided the structure of human body stimulating module, is the Metal Ball 4 of charged motivation 1.The outfan of impulsion sign computing module is connected on the input control end of motor, on shaft of motor 2, connects a spring 3, and the other end of spring connects Metal Ball 4.When finding the sign of impulsion, remind through stimulated muscle, with the generation of avoiding getting excited.
What Fig. 3 provided is the mode that installs earphone at the outfan of speech play module additional.Outfan at impulsion sign computing module is connected with change-over switch, and the impulsion sign calculates to be controlled change-over switch according to emotion result of calculation.When not getting excited sign,, when the impulsion sign,, switch to impulsion voice reminder pattern through change-over switch when common headphones is used.The earphone input is the input connector of earphone, is connected to the earphone delivery outlet of other audio frequency apparatus.The got excited control of sign computing module of change-over switch, when not getting excited sign, switch is communicated with the earphone input with earphone output, and when the impulsion sign, change-over switch is exported speech play to export with earphone and is communicated with.Earphone output is the voice output of earphone, when not getting excited sign, is connected with the input interface plug-in unit of earphone, when the impulsion sign, is connected with speech play output.Switching switch circuit figure is shown in figure 15.Among the figure, SE1, SE2 are analog multichannel switch, model TS5A3153; Produced by U.S. TEXAS INSTRUMENTS company, SEL_EN, SEL_IN connect impulsion sign computing module, and SP+, SP-are the output of speech play module; This handover module of J1 earphone input interface connects the earphone output of other audio frequency apparatus.J2 is this handover module headset output interface, connects the input of earphone.
Fig. 4 provides is that outfan in the speech play module installs earphone additional, adds the control mode of wireless transport module, wire transmission module, keyboard input module and display module at impulsion sign computing module.The outfan that the impulsion sign calculates is connected with change-over switch, and the impulsion sign calculates to be controlled change-over switch according to emotion result of calculation, and impulsion sign computing module is controlled the speech play module.In this programme, add wireless transport module, wire transmission module, keyboard input module and display module at impulsion sign computing module, wireless transport module, wire transmission module are connected with host computer respectively.Wireless transport module jogging and the voice signal that the sign computing module calculates of will getting excited is transferred to host computer, and the instruction and the control of transmission host computer.Wire communication module jogging and the voice signal that the sign computing module calculates of will getting excited is transferred to host computer, and the instruction and the control of transmission host computer, and the keyboard input module is provided with computation schema.Display module is used to show calculating data, duty, controlled state.Figure 16 is the wireless transport module circuit diagram.Wireless transmission chip UW1 is CC2520, and U.S. TEXAS INSTRUMENTS company produces, and wireless transmission front-end chip UW2 is CC2591, and U.S. TEXAS INSTRUMENTS company produces.Wire communication module circuit diagram such as Figure 17, wherein, module UC2 is AX3232CSE, is used for the RS232 communication interface, by American TI Company production.Keyboard input module and display module such as Figure 18,19.
No matter adopt which kind of control module, this controller can use separately when using, and also can be connected use with host computer through communication module.The controller annexation is as shown in Figure 5 during host computer.Host computer can be computer or panel computer, and communication module is wireless communication module or wire communication module.Under the control of host computer, be that the impulsion computing module is provided with control command through wireless transport module or wire communication module, computation schema, the voice broadcast information of impulsion computing module is set.The impulsion computing module is according to set computation schema and the voice messaging of being imported, and the emotion of analytical calculation user is analyzed jogging.When finding the impulsion sign is arranged, voice reminder or stimulation human muscle, the generation that inhibits one's impulses.Impulsion sign computing module can send to host computer with voice signal and jogging through communication module.Host computer can also be stored jogging and voice signal except can sending controling instruction, storage tested person's data is analyzed tested person's impulsive behavior.
The voice coding chip UA1 of voice acquisition module of the present invention adopts the TLV320AIC23PW chip.Produced by U.S. TEXAS INSTRUMENTS company, circuit diagram is as shown in Figure 6.The speech chip UC8 model that the speech play module adopts is ISD2560, and winbond electronics corporation in Taiwan produces, and circuit diagram is shown in figure 11.The phonetic speech power amplification module adopts frequency power amplifying IC UA1, model TPA711, and, U.S. TEXAS INSTRUMENTS company produces, and is shown in figure 12.
Fig. 7 ~ Figure 10 is an impulsion sign computing module circuit diagram.Impulsion sign computing module is actually a DSP master chip skill and calculates and control module.Digital signal processing chip UC1 adopts the TMS320F2812 chip.On digital signal processing chip, be added with DSP reset circuit, DSP debugging and emulation interface and memorizer.Memorizer is CY1021, and manufacturer is a U.S. Sharma Electro Components company.
Research shows that when the people got excited, its voice were compared with the voice signal under the normal emotion, and some phonetic feature can change, and raises (fundamental frequency increase) volume increase etc. like tone.The present invention gathers speaker's sound in real time, through the monitoring to speech parameter, differentiates speaker's emotional state, adopts the control of getting excited of the method for voice control control.The voice signal of gathering carries out voice by impulsion sign computing module and calculates, and differentiates the value of energy E and average fundamental frequency P, when phonetic feature changes, starts the impulsion control module after the threshold value of overshoot, the control of getting excited.
The main program flow that impulsion is controlled is: after program begins, gather voice signal, impulsion sign computing module calculates voice, has judged whether the impulsion sign, is, the control of getting excited not, is returned and continued acquired signal calculating.
Impulsion sign computing module carries out the Program for Calculation flow process to voice and is: input speech signal s [n], and voice signal s [n] is carried out the branch frame handle, obtain branch frame signal x m[n], wherein, every frame signal length is N, the frame number is m in 1 second; Use the energy computing formula
Figure BDA0000197568944
Divide frame signal calculating energy E to each mCalculate the average energy E of m frame signal in 5 seconds then, its computing formula is E=Σ E m/ m; When input speech signal being carried out the processing of branch frame, calculate the fundamental frequency R of every frame signal m: at first calculate the auto-correlation function of every frame signal, its computing formula is: its computing formula is:
Figure BDA0000197568945
, R m(k) be auto-correlation function, wherein the value of k is from 0 to N, obtains autocorrelation sequence [R m(1), R m(2) ... R m(N)], the value of j is 0 to N-k-1, and N is x mThe length of [n], m is the number of frame,
Seek R then m(k) peak value R M_peak, two peak value R M_peakBetween distance be fundamental frequency; Then ask the average pitch frequency P of m frame signal in 5 seconds, computing formula does
Figure BDA0000197568946
Differentiate the value of E and P,, think that then the speaker has the impulsion sign if speech signal energy E surpasses preset threshold with average fundamental frequency P in 5 seconds.

Claims (7)

  1. One kind the impulsion controller; It is characterized in that: controller is made up of impulsion signal acquisition module, impulsion signal analysis and processing module and impulsion control module three parts; The impulsion signals collecting is a voice acquisition module, and the impulsion signal analysis and processing is an impulsion sign computing module, after voice acquisition module collects voice signal; Signal is outputed to the input of impulsion sign computing module; In impulsion sign computing module, voice signal is carried out emotion and calculate, result of calculation outputs to impulsion control, under software control by the control of getting excited of impulsion control module;
    The impulsion control module is the speech play module, and the input of speech play module is connected the outfan of impulsion sign computing module, is connected with the phonetic speech power amplification module at the outfan of speech play module;
    The impulsion control module is the human body stimulating module; The human body stimulating module is the Metal Ball of charged motivation; The outfan of impulsion sign computing module is connected on the input control end of motor; On shaft of motor, connect a spring, the other end of spring connects Metal Ball, and whole impulsion controller is placed in the soft cover.
  2. 2. impulsion controller as claimed in claim 1; It is characterized in that: the outfan of said speech play module installs earphone additional; Outfan at impulsion sign computing module is connected with change-over switch, and the impulsion sign calculates to be controlled change-over switch according to emotion result of calculation.
  3. 3. impulsion controller as claimed in claim 1; It is characterized in that: the outfan of said speech play module installs earphone additional; The outfan that calculates at the impulsion sign is connected with change-over switch; The impulsion sign calculates to be controlled change-over switch and then the speech play module is controlled according to emotion result of calculation; Add wireless transport module, wire transmission module, keyboard input module and display module at impulsion sign computing module, wireless transport module, wire transmission module are connected with host computer respectively.
  4. 4. like claim 1 or 2 or 3 described impulsion controllers, it is characterized in that: the voice coding chip UA1 of said voice acquisition module adopts the TLV320AIC23PW chip.
  5. 5. like claim 1 or 2 or 3 described impulsion controllers; It is characterized in that: said impulsion sign computing module is a DSP master chip circuit; Digital signal processing chip adopts the TMS320F2812 chip, on digital signal processing chip, is added with DSP reset circuit, DSP debugging and emulation interface.
  6. One kind the impulsion control method; It is characterized in that: impulsion control is monitored voice signal; The voice signal of gathering carries out voice by impulsion sign computing module and calculates, and differentiates the value of energy E and average fundamental frequency P, when phonetic feature changes; Start the impulsion control module after the threshold value of overshoot, the control of getting excited;
    The main program flow that impulsion is controlled is: after program begins, gather voice signal, impulsion sign computing module calculates voice, has judged whether the impulsion sign, is, the control of getting excited not, is returned and continued acquired signal calculating.
  7. 7. method as claimed in claim 6 is characterized in that: impulsion sign computing module carries out the Program for Calculation flow process to voice and is: input speech signal s [n], and voice signal s [n] is carried out the branch frame handle, obtain branch frame signal x m[n], wherein, every frame signal length is N, the frame number is m in 1 second; Use the energy computing formula
    Figure FDA0000197568931
    Divide frame signal calculating energy E to each mCalculate the average energy E of m frame signal in 5 seconds then, its computing formula does
    E=Σ E m/ m; When input speech signal being carried out the processing of branch frame, calculate the fundamental frequency R of every frame signal m: at first calculate the auto-correlation function of every frame signal, its computing formula is:
    Figure FDA0000197568932
    , R m(k) be auto-correlation function, wherein the value of k is from 0 to N, obtains autocorrelation sequence [R m(1), R m(2) ... R m(N)], the value of j is 0 to N-k-1, and N is x mThe length of [n], m is the number of frame, seeks R then m(k) peak value R M_peak, two peak value R M_peakBetween distance be fundamental frequency; Then ask the average pitch frequency P of m frame signal in 5 seconds, computing formula does
    Figure FDA0000197568933
    Differentiate the value of E and P, if speech signal energy E surpasses the threshold of setting with average fundamental frequency P in 5 seconds
    Value thinks that then the speaker has the impulsion sign.
CN2012102757182A 2012-08-05 2012-08-05 Impulse controller and control method thereof Pending CN102764475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102757182A CN102764475A (en) 2012-08-05 2012-08-05 Impulse controller and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102757182A CN102764475A (en) 2012-08-05 2012-08-05 Impulse controller and control method thereof

Publications (1)

Publication Number Publication Date
CN102764475A true CN102764475A (en) 2012-11-07

Family

ID=47092197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102757182A Pending CN102764475A (en) 2012-08-05 2012-08-05 Impulse controller and control method thereof

Country Status (1)

Country Link
CN (1) CN102764475A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050075532A1 (en) * 2002-06-26 2005-04-07 Samsung Electronics Co., Ltd. Apparatus and method for inducing emotions
CN201123890Y (en) * 2007-12-21 2008-10-01 尹世龙 Multipurpose universal ball massage device
US20100134302A1 (en) * 2008-12-01 2010-06-03 Electronics And Telecommunications Research Institute System and method for controlling emotion of car driver
CN101969841A (en) * 2008-03-14 2011-02-09 皇家飞利浦电子股份有限公司 Modifying a psychophysiological state of a subject
CN201814813U (en) * 2010-10-26 2011-05-04 浙江百诗瑞林健身器材有限公司 Combined massage mechanism

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050075532A1 (en) * 2002-06-26 2005-04-07 Samsung Electronics Co., Ltd. Apparatus and method for inducing emotions
CN201123890Y (en) * 2007-12-21 2008-10-01 尹世龙 Multipurpose universal ball massage device
CN101969841A (en) * 2008-03-14 2011-02-09 皇家飞利浦电子股份有限公司 Modifying a psychophysiological state of a subject
US20100134302A1 (en) * 2008-12-01 2010-06-03 Electronics And Telecommunications Research Institute System and method for controlling emotion of car driver
CN201814813U (en) * 2010-10-26 2011-05-04 浙江百诗瑞林健身器材有限公司 Combined massage mechanism

Similar Documents

Publication Publication Date Title
CN100463649C (en) Integrated human body function index comprehensive test device and its working method
CN102973277B (en) Frequency following response signal test system
CN102553222B (en) Brain function feedback training method supporting combat mode and system
CN104224495A (en) Portable elbow joint rehabilitation robot control method
CN101732054B (en) Portable all-purpose otoacoustic emission detecting system
CN107550515A (en) Stethoscope system
KR20160124890A (en) Auxiliary device for training and auxiliary method for training
CN103656833B (en) A kind of Wearable brain electricity attention instrument for training
CN112163518A (en) Emotion modeling method for emotion monitoring and adjusting system
CN106667436A (en) Sleep diagnosis method and system
CN117045253A (en) AI psychological consultation method and system
CN104367306A (en) Physiological and psychological career evaluation system and implementation method
CN104857670A (en) Running machine with accessory device utilizing brain waves to real-time monitor exercising state
CN104835505A (en) Conversation device between normal person and deaf, dumb and blind people and application method thereof
CN103077627B (en) Portable type visualized cardiophony teaching system
CN104257380A (en) Electroencephalograph collecting and processing system
CN103690179B (en) Wearable electroencephalogram relaxation training instrument
CN202802458U (en) Impulse controller
CN102764475A (en) Impulse controller and control method thereof
CN105632309A (en) Simulation teaching platform
CN203252651U (en) Auditory function detection processing system
CN102824162A (en) Nasal voice measuring instrument and measuring method thereof
CN204614443U (en) A kind of normal person and Interface that is deaf, mute, blind person group
CN104306015A (en) Portable otoacoustic emission detection system
CN102743818B (en) Anti-interference myoelectric biofeedback therapeutic instrument and anti-interfering method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121107