TAGGED: #Modal_Analysis, frequency-response, pzt
-
-
October 26, 2022 at 4:06 pm
safiana
SubscriberI am trying to model a piezoelectric sensor in ANSYS and I would like to get the frequency response of the sensor to calculate its usable frequency range and linearity. I first tried using harmonic analysis through the mode superposition method. I get a frequency response that includes the natural frequency and a linear range can be obtained through this plot. But I realized, this method is not accurate because the resistant element (CIRCU94) is ignored in the mode superposition method (please correct me if I am wrong). By changing the resistance value, the amplitude does not change. We need to have resistance to model charge dissipation, otherwise this open circuit voltage that does not properly change with excitation frequency won't give me an accurate frequency range and linearity. Please see the following plot:
Â
Then I used full harmonic analysis which I could see the effect of resistance in my voltage. But my expecation was that at least for low frequencies in the frequency response I see nonlinear behavior, and once the frequency increases, a more linear behavior in the voltage should be observed like this:
Â
But what I get from the full harmonic analysis is this for low frequencies up to 500 Hz:
Â
I am sure over frequencies like 20 Hz there must be almost a linear voltage amplitude.Â
I attached my code for mode superposition and full harmonic. Can anyone check where I am making a mistake? or this is correct? The bottom of the PZT sensor is fixed, and excitation is from the top. The middle disc is PZT and I selected the top node at the end of the code to easily get results for this node.Â
Â
I hope someone can help me soon because I need to report this simulation very soon. Thank you in advance, everyone!Â
Mode superposition:
finish/clearÂ/PREP7 Âet,1,solid226,0Âkeyopt,1,1,1001allselÂ/com StiffnessTB, ANEL, 1 , 1 , 0TBDATA, 1, 1.327E+5 , 0.866E+4 , 0.856E+4TBDATA, 7, 1.327E+5 , 0.856E+4TBDATA, 12, 1.192E+5TBDATA, 16, 2.12E+4TBDATA, 19, 2.12E+4TBDATA, 21, 2.99E+4Â/com Piezo matrixTB,PIEZ,1,,,1TBDATA, 3, -1.86e-10TBDATA, 6, -1.86e-10TBDATA, 9, 4.00e-10TBDATA, 11, 6.17e-10TBDATA, 13, 6.17e-10Â/com Permittivitytb,DPER,,,,1 ! Relative permittivity at constÂtbdata,1,1852,1852,1751TB,DPER,1,,,1852,1852,1751,1EMUNIT, EPZRO, 8.85E-15MP, DENS, 1 , 7.8e-9ÂÂ!==============================================et,2,solid185MP,EX,2,350e3ÂMP,PRXY,2,0.22 ÂMP,DENS,2,3.9e-9ÂMP,BETD,2,1e-4!==============================================CYL4,0,0,2.5, , , ,1.5 ÂBLC4,0,-1.25,7.1,2.5,1.5VSBV,    2,    1 ÂCYL4,0,0,2.5, , , ,1.5 Âvglue,allk,21,0,0,1.5csys,4wpcsys,-1,0kwpave,21CYL4,0,0,1.5, , , ,2 Âk,,0,0,2kwpave,26CYL4,0,0,1.5, , , ,1.5csys,4wpcsys,-1,0save!==============================================Type,2Mat,2esize,0.3SMRT,1vsweep,2vsweep,4vsweep,3ÂType,1Mat,1vsweep,1save!================================================DA,7,all,0DA,18,all,0Âlsel,s,,,39,42DL,all,,ux,0DL,all,,uy,0allselÂÂasel,s,,,1lsla,sksll,snsla,snsll,anslk,a!D,all,volt,0cp,next,volt,all*get,n_ground,node,0,num,minallselÂasel,s,,,2lsla,sksll,snsla,snsll,anslk,acp,next,volt,all*get,n_supply,node,0,num,minallselÂd,n_ground,volt,0!======= CONTACT ==========/COM, CONTACT PAIR CREATION - STARTÂCM,_NODECM,NODEÂCM,_ELEMCM,ELEMÂCM,_KPCM,KPÂCM,_LINECM,LINEÂCM,_AREACM,AREAÂCM,_VOLUCM,VOLUÂ/GSAV,cwz,gsav,,tempMP,MU,1,MAT,1 ÂMP,EMIS,1,7.88860905221e-31ÂR,3ÂREAL,3 ÂET,3,170ET,4,174R,3,,,1.0,0.1,0,RMORE,,,1.0E20,0.0,1.0,ÂRMORE,0.0,0,1.0,,1.0,0.5RMORE,0,1.0,1.0,0.0,,1.0RMORE,,,,,,1.0 ÂKEYOPT,4,4,0KEYOPT,4,5,0KEYOPT,4,7,0KEYOPT,4,8,0KEYOPT,4,9,0KEYOPT,4,10,0 ÂKEYOPT,4,11,0 ÂKEYOPT,4,12,5 ÂKEYOPT,4,14,0 ÂKEYOPT,4,18,0 ÂKEYOPT,4,2,0KEYOPT,3,5,0KEYOPT,4,1,5! Generate the target surface ÂASEL,S,,,17 ÂCM,_TARGET,AREAÂTYPE,3 ÂNSLA,S,1ESLN,S,0ESLL,U ÂESEL,U,ENAME,,188,189 ÂNSLE,A,CT2 ÂESURF ÂCMSEL,S,_ELEMCMÂ! Generate the contact surface ÂASEL,S,,,1 ÂCM,_CONTACT,AREATYPE,4 ÂNSLA,S,1ESLN,S,0NSLE,A,CT2 ! CZMESH patch (fsk qt-40109 8/2008)ÂESURF ÂALLSEL ÂESEL,ALLESEL,S,TYPE,,3 ÂESEL,A,TYPE,,4 ÂESEL,R,REAL,,3 Â/PSYMB,ESYS,1 Â/PNUM,TYPE,1/NUM,1 ÂEPLOT ÂESEL,ALLESEL,S,TYPE,,3 ÂESEL,A,TYPE,,4 ÂESEL,R,REAL,,3 ÂCMSEL,A,_NODECMÂCMDEL,_NODECM ÂCMSEL,A,_ELEMCMÂCMDEL,_ELEMCM ÂCMSEL,S,_KPCM ÂCMDEL,_KPCMÂCMSEL,S,_LINECMÂCMDEL,_LINECM ÂCMSEL,S,_AREACMÂCMDEL,_AREACM ÂCMSEL,S,_VOLUCMÂCMDEL,_VOLUCM Â/GRES,cwz,gsav ÂCMDEL,_TARGET ÂCMDEL,_CONTACT Â/COM, CONTACT PAIR CREATION - END ÂAPLOT Â!* Â!* Â/COM, CONTACT PAIR CREATION - STARTÂCM,_NODECM,NODEÂCM,_ELEMCM,ELEMÂCM,_KPCM,KPÂCM,_LINECM,LINEÂCM,_AREACM,AREAÂCM,_VOLUCM,VOLUÂ/GSAV,cwz,gsav,,tempMP,MU,1,0 ÂMAT,1 ÂMP,EMIS,1,7.88860905221e-31ÂR,4ÂREAL,4 ÂET,5,170ET,6,174R,4,,,1.0,0.1,0,RMORE,,,1.0E20,0.0,1.0,ÂRMORE,0.0,0,1.0,,1.0,0.5RMORE,0,1.0,1.0,0.0,,1.0RMORE,,,,,,1.0 ÂKEYOPT,6,4,0KEYOPT,6,5,0KEYOPT,6,7,0KEYOPT,6,8,0KEYOPT,6,9,0KEYOPT,6,10,0 ÂKEYOPT,6,11,0 ÂKEYOPT,6,12,5 ÂKEYOPT,6,14,0 ÂKEYOPT,6,18,0 ÂKEYOPT,6,2,0KEYOPT,5,5,0KEYOPT,6,1,5! Generate the target surface ÂASEL,S,,,2 ÂCM,_TARGET,AREAÂTYPE,5 ÂNSLA,S,1ESLN,S,0ESLL,U ÂESEL,U,ENAME,,188,189 ÂNSLE,A,CT2 ÂESURF ÂCMSEL,S,_ELEMCMÂ! Generate the contact surface ÂASEL,S,,,11CM,_CONTACT,AREATYPE,6 ÂNSLA,S,1ESLN,S,0NSLE,A,CT2 ! CZMESH patch (fsk qt-40109 8/2008)ÂESURF ÂALLSEL ÂESEL,ALLESEL,S,TYPE,,5 ÂESEL,A,TYPE,,6 ÂESEL,R,REAL,,4 Â/PSYMB,ESYS,1 Â/PNUM,TYPE,1/NUM,1 ÂEPLOT ÂESEL,ALLESEL,S,TYPE,,5 ÂESEL,A,TYPE,,6 ÂESEL,R,REAL,,4 ÂCMSEL,A,_NODECMÂCMDEL,_NODECM ÂCMSEL,A,_ELEMCMÂCMDEL,_ELEMCM ÂCMSEL,S,_KPCM ÂCMDEL,_KPCMÂCMSEL,S,_LINECMÂCMDEL,_LINECM ÂCMSEL,S,_AREACMÂCMDEL,_AREACM ÂCMSEL,S,_VOLUCMÂCMDEL,_VOLUCM Â/GRES,cwz,gsav ÂCMDEL,_TARGET ÂCMDEL,_CONTACT Â/COM, CONTACT PAIR CREATION - END ÂÂ!============================================================/prep7ET,7,CIRCU94R,5,1, , , , ,RMORE, , , , , ,RMORE, , , ,type,7real,5E,n_ground,n_supplyÂ!============================================================/soluANTYPE,2ÂMODOPT,LANB,50ÂEQSLV,SPARÂMODCONT,ONÂMXPAND,50, , ,0,,YES ÂSFA,12,1,PRES,1/7.069LUMPM,0ÂPSTRES,0ÂMODOPT,LANB,50,0,4e10, ,OFFÂ/soluSOLVEÂfinishÂ!============================================================Â!===========================================================/soluANTYPE,3ÂHROPT,MSUP, , ,0HROUT,ONLUMPM,0 ÂHROPT,MSUP,all, ,0HROUT,ON,OFF,0ÂLVSCAL,1,1ÂÂÂHARFRQ,0,4e5,NSUBST,4e2,KBC,1  Â!BETAD,1e-6,ÂDMPRAT,0.03ÂMDAMP,1, , , , , , , ÂSOLVE ÂÂsave,pzt_harmonic,dbfinishsave/SOLUEXPASS,1 ! Harmonic Analysis Expansion PassNUMEXP,ALL,0,4e5,0 ! Frequency rangeHREXP,ALL,ÂSOLVE ÂÂnsel,s,,,n_supplyÂ
Full harmonic analysis:Â
finish/clearÂ/PREP7 Âet,1,solid226,0Âkeyopt,1,1,1001allselÂ/com StiffnessTB, ANEL, 1 , 1 , 0TBDATA, 1, 1.327E+5 , 0.866E+4 , 0.856E+4TBDATA, 7, 1.327E+5 , 0.856E+4TBDATA, 12, 1.192E+5TBDATA, 16, 2.12E+4TBDATA, 19, 2.12E+4TBDATA, 21, 2.99E+4Â/com Piezo matrixTB,PIEZ,1,,,1TBDATA, 3, -1.86e-10TBDATA, 6, -1.86e-10TBDATA, 9, 4.00e-10TBDATA, 11, 6.17e-10TBDATA, 13, 6.17e-10Â/com Permittivitytb,DPER,,,,1 ! Relative permittivity at constÂtbdata,1,1852,1852,1751TB,DPER,1,,,1852,1852,1751,1EMUNIT, EPZRO, 8.85E-15MP, DENS, 1 , 7.8e-9ÂÂ!==============================================et,2,solid185MP,EX,2,350e3ÂMP,PRXY,2,0.22 ÂMP,DENS,2,3.9e-9ÂMP,BETD,2,1e-4!==============================================CYL4,0,0,2.5, , , ,1.5 ÂBLC4,0,-1.25,7.1,2.5,1.5VSBV,    2,    1 ÂCYL4,0,0,2.5, , , ,1.5 Âvglue,allk,21,0,0,1.5csys,4wpcsys,-1,0kwpave,21CYL4,0,0,1.5, , , ,2 Âk,,0,0,2kwpave,26CYL4,0,0,1.5, , , ,1.5csys,4wpcsys,-1,0save!==============================================Type,2Mat,2esize,0.3SMRT,1vsweep,2vsweep,4vsweep,3ÂType,1Mat,1vsweep,1save!================================================DA,7,all,0DA,18,all,0Âlsel,s,,,39,42DL,all,,ux,0DL,all,,uy,0allselÂÂasel,s,,,1lsla,sksll,snsla,snsll,anslk,a!D,all,volt,0cp,next,volt,all*get,n_ground,node,0,num,minallselÂasel,s,,,2lsla,sksll,snsla,snsll,anslk,acp,next,volt,all*get,n_supply,node,0,num,minallselÂd,n_ground,volt,0!======= CONTACT ==========/COM, CONTACT PAIR CREATION - STARTÂCM,_NODECM,NODEÂCM,_ELEMCM,ELEMÂCM,_KPCM,KPÂCM,_LINECM,LINEÂCM,_AREACM,AREAÂCM,_VOLUCM,VOLUÂ/GSAV,cwz,gsav,,tempMP,MU,1,MAT,1 ÂMP,EMIS,1,7.88860905221e-31ÂR,3ÂREAL,3 ÂET,3,170ET,4,174R,3,,,1.0,0.1,0,RMORE,,,1.0E20,0.0,1.0,ÂRMORE,0.0,0,1.0,,1.0,0.5RMORE,0,1.0,1.0,0.0,,1.0RMORE,,,,,,1.0 ÂKEYOPT,4,4,0KEYOPT,4,5,0KEYOPT,4,7,0KEYOPT,4,8,0KEYOPT,4,9,0KEYOPT,4,10,0 ÂKEYOPT,4,11,0 ÂKEYOPT,4,12,5 ÂKEYOPT,4,14,0 ÂKEYOPT,4,18,0 ÂKEYOPT,4,2,0KEYOPT,3,5,0KEYOPT,4,1,5! Generate the target surface ÂASEL,S,,,17 ÂCM,_TARGET,AREAÂTYPE,3 ÂNSLA,S,1ESLN,S,0ESLL,U ÂESEL,U,ENAME,,188,189 ÂNSLE,A,CT2 ÂESURF ÂCMSEL,S,_ELEMCMÂ! Generate the contact surface ÂASEL,S,,,1 ÂCM,_CONTACT,AREATYPE,4 ÂNSLA,S,1ESLN,S,0NSLE,A,CT2 ! CZMESH patch (fsk qt-40109 8/2008)ÂESURF ÂALLSEL ÂESEL,ALLESEL,S,TYPE,,3 ÂESEL,A,TYPE,,4 ÂESEL,R,REAL,,3 Â/PSYMB,ESYS,1 Â/PNUM,TYPE,1/NUM,1 ÂEPLOT ÂESEL,ALLESEL,S,TYPE,,3 ÂESEL,A,TYPE,,4 ÂESEL,R,REAL,,3 ÂCMSEL,A,_NODECMÂCMDEL,_NODECM ÂCMSEL,A,_ELEMCMÂCMDEL,_ELEMCM ÂCMSEL,S,_KPCM ÂCMDEL,_KPCMÂCMSEL,S,_LINECMÂCMDEL,_LINECM ÂCMSEL,S,_AREACMÂCMDEL,_AREACM ÂCMSEL,S,_VOLUCMÂCMDEL,_VOLUCM Â/GRES,cwz,gsav ÂCMDEL,_TARGET ÂCMDEL,_CONTACT Â/COM, CONTACT PAIR CREATION - END ÂAPLOT Â!* Â!* Â/COM, CONTACT PAIR CREATION - STARTÂCM,_NODECM,NODEÂCM,_ELEMCM,ELEMÂCM,_KPCM,KPÂCM,_LINECM,LINEÂCM,_AREACM,AREAÂCM,_VOLUCM,VOLUÂ/GSAV,cwz,gsav,,tempMP,MU,1,0 ÂMAT,1 ÂMP,EMIS,1,7.88860905221e-31ÂR,4ÂREAL,4 ÂET,5,170ET,6,174R,4,,,1.0,0.1,0,RMORE,,,1.0E20,0.0,1.0,ÂRMORE,0.0,0,1.0,,1.0,0.5RMORE,0,1.0,1.0,0.0,,1.0RMORE,,,,,,1.0 ÂKEYOPT,6,4,0KEYOPT,6,5,0KEYOPT,6,7,0KEYOPT,6,8,0KEYOPT,6,9,0KEYOPT,6,10,0 ÂKEYOPT,6,11,0 ÂKEYOPT,6,12,5 ÂKEYOPT,6,14,0 ÂKEYOPT,6,18,0 ÂKEYOPT,6,2,0KEYOPT,5,5,0KEYOPT,6,1,5! Generate the target surface ÂASEL,S,,,2 ÂCM,_TARGET,AREAÂTYPE,5 ÂNSLA,S,1ESLN,S,0ESLL,U ÂESEL,U,ENAME,,188,189 ÂNSLE,A,CT2 ÂESURF ÂCMSEL,S,_ELEMCMÂ! Generate the contact surface ÂASEL,S,,,11CM,_CONTACT,AREATYPE,6 ÂNSLA,S,1ESLN,S,0NSLE,A,CT2 ! CZMESH patch (fsk qt-40109 8/2008)ÂESURF ÂALLSEL ÂESEL,ALLESEL,S,TYPE,,5 ÂESEL,A,TYPE,,6 ÂESEL,R,REAL,,4 Â/PSYMB,ESYS,1 Â/PNUM,TYPE,1/NUM,1 ÂEPLOT ÂESEL,ALLESEL,S,TYPE,,5 ÂESEL,A,TYPE,,6 ÂESEL,R,REAL,,4 ÂCMSEL,A,_NODECMÂCMDEL,_NODECM ÂCMSEL,A,_ELEMCMÂCMDEL,_ELEMCM ÂCMSEL,S,_KPCM ÂCMDEL,_KPCMÂCMSEL,S,_LINECMÂCMDEL,_LINECM ÂCMSEL,S,_AREACMÂCMDEL,_AREACM ÂCMSEL,S,_VOLUCMÂCMDEL,_VOLUCM Â/GRES,cwz,gsav ÂCMDEL,_TARGET ÂCMDEL,_CONTACT Â/COM, CONTACT PAIR CREATION - END ÂÂ!============================================================/prep7ET,7,CIRCU94R,5,1e6, , , , ,RMORE, , , , , ,RMORE, , , ,type,7real,5E,n_ground,n_supplyÂ!============================================================/soluANTYPE,2ÂMODOPT,LANB,50ÂEQSLV,SPARÂMODCONT,ONÂMXPAND,50, , ,0,,YES Â!!!!!!!!!!!!!!!!!!!!!!!!!!!!SFA,12,1,PRES,1/7.069LUMPM,0ÂPSTRES,0ÂMODOPT,LANB,50,0,4e10, ,OFFÂ/soluSOLVEÂfinishÂ!============================================================/soluasel,s,,,12nsla,snsel,r,loc,x,-0.25,0.25nsel,r,loc,y,-0.25,0.25*get,n_force,node,0,num,minallself,n_force,fz,-1!===========================================================/SOLÂANTYPE,3HROPT,FULL ÂHROUT,ONLUMPM,0 ÂEQSLV, ,0, ÂPSTRES,0HARFRQ,0,500, ÂNSUBST,100, ÂKBC,0  ÂDMPRAT,0.1MDAMP,1, , , , , , , ÂsolveÂvsel,s,,,1eslv,snsle,sÂ
-
November 8, 2022 at 4:34 pm
wrbulat
Ansys EmployeeHi there,
I have not yet tested your code and I don't see the post processing commands used to create the xy plots you sent so I'm not sure exactly what they're plots of, but I made one possibly significant observation. You used a KBC,0 command in your full harmonic response calculation. This linearly ramps excitation over the frequency sweep. So the z component force you applied to n_force is ramped from zero to -1 over the frequency range. Does using KBC,1 (which will step the force to its full value starting at the beginning frequency in your sweep) give the response you expect?
--Bill
-
- The topic ‘How to get the linearity in frequency response of piezoelectric transducer?’ is closed to new replies.
- Lumped Port Deembed
- Hfss 3D pcb via capped and filled with epoxy
- Optimizing Via Impedance in Ansys HFSS 3D Layout Using Geometric Parameter Sweep
- HFSS libnvidia-ml.so too old or could not be found – Warning in slurm job output
- AEDT Natural Convection with default correlation is failing solver initializatio
- STL Import Errors in HFSS After Cleaning in SpaceClaim
- Three-Phase Voltage Imbalances in dual stator electric generator
- Calc Error in Field Calculator after PyAEDT Analyze
- import file autocad 3d
- Co-simulation in Q3D, Icepak – meshing problem
-
4037
-
1461
-
1308
-
1141
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.